Convert to libcosmic and parse audio

This commit is contained in:
Jeremy Soller 2024-01-24 14:31:39 -07:00
parent 31a352c524
commit 94a1244c6d
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
18 changed files with 5458 additions and 316 deletions

22
debian/rules vendored Normal file
View file

@ -0,0 +1,22 @@
#!/usr/bin/make -f
export DESTDIR = debian/cosmic-player
export VENDOR ?= 1
%:
dh $@
override_dh_auto_clean:
if ! ischroot && test "${VENDOR}" = "1"; then \
mkdir -p .cargo; \
cargo vendor | head -n -1 > .cargo/config; \
echo 'directory = "vendor"' >> .cargo/config; \
tar pcf vendor.tar vendor; \
rm -rf vendor; \
fi
override_dh_auto_build:
just build-vendored
override_dh_auto_install:
just rootdir=$(DESTDIR) install