refactor: compile applets as multicall binary
This commit is contained in:
parent
4099624499
commit
3c4acdacd7
48 changed files with 2393 additions and 2256 deletions
12
debian/links
vendored
Normal file
12
debian/links
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/usr/bin/cosmic-applets /usr/bin/cosmic-app-list
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-audio
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-battery
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-bluetooth
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-minimize
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-network
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-notifications
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-power
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-status-area
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-tiling
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-time
|
||||
/usr/bin/cosmic-applets /usr/bin/cosmic-applet-workspaces
|
||||
12
debian/rules
vendored
12
debian/rules
vendored
|
|
@ -16,15 +16,15 @@ override_dh_auto_clean:
|
|||
fi
|
||||
|
||||
if ! ischroot && test "${VENDOR}" = "1"; then \
|
||||
mkdir -p .cargo; \
|
||||
cargo vendor --sync Cargo.toml | head -n -1 > .cargo/config; \
|
||||
echo 'directory = "vendor"' >> .cargo/config; \
|
||||
tar pcf vendor.tar vendor; \
|
||||
rm -rf vendor; \
|
||||
just vendor; \
|
||||
fi
|
||||
|
||||
override_dh_auto_build:
|
||||
just rootdir=$(DESTDIR) debug=$(DEBUG) vendor=$(VENDOR) build
|
||||
if test "${VENDOR}" = "1"; then \
|
||||
just rootdir=$(DESTDIR) debug=$(DEBUG) build-vendored; \
|
||||
else \
|
||||
just rootdir=$(DESTDIR) debug=$(DEBUG) build-release; \
|
||||
fi
|
||||
|
||||
override_dh_auto_install:
|
||||
just rootdir=$(DESTDIR) install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue