feat(design-demo): debian packaging
This commit is contained in:
parent
37d5dd8b65
commit
5cd9d74189
12 changed files with 164 additions and 4 deletions
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
libcosmic (0.1.0) jammy; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Michael Aaron Murphy <michael@mmurphy.dev> Tue, 12 Sep 2023 08:53:33 +0200
|
||||
25
debian/control
vendored
Normal file
25
debian/control
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
Source: libcosmic
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Maintainer: Michael Aaron Murphy <michael@mmurphy.dev>
|
||||
Build-Depends:
|
||||
cargo,
|
||||
clang,
|
||||
cmake,
|
||||
debhelper-compat (=13),
|
||||
just (>= 1.13.0),
|
||||
libexpat1-dev,
|
||||
libfontconfig-dev,
|
||||
libfreetype-dev,
|
||||
libxkbcommon-dev,
|
||||
mold,
|
||||
pkg-config,
|
||||
rustc,
|
||||
Standards-Version: 4.6.2
|
||||
Homepage: https://github.com/pop-os/libcosmic
|
||||
|
||||
Package: cosmic-design-demo
|
||||
Architecture: amd64 arm64
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: libcosmic demo displaying its design elements and capabilities
|
||||
libcosmic demo displaying its design elements and capabilities
|
||||
7
debian/copyright
vendored
Normal file
7
debian/copyright
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: cosmic-design-demo
|
||||
Upstream-Contact: Michael Murphy <michael@mmurphy.dev>
|
||||
Source: https://github.com/pop-os/libcosmic
|
||||
Files: *
|
||||
Copyright: System76 <info@system76.com>
|
||||
License: MPL-2.0
|
||||
2
debian/install
vendored
Normal file
2
debian/install
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
/usr/bin/cosmic-design-demo
|
||||
/usr/share/applications/com.system76.CosmicDesignDemo.desktop
|
||||
23
debian/rules
vendored
Executable file
23
debian/rules
vendored
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export DESTDIR = debian/tmp
|
||||
export VENDOR ?= 1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_clean:
|
||||
if ! ischroot && test "${VENDOR}" = "1"; then \
|
||||
rm -rf .cargo vendor vendor.tar; \
|
||||
mkdir -p .cargo; \
|
||||
cargo vendor --sync design-demo/Cargo.toml | head -n -1 > .cargo/config; \
|
||||
echo 'directory = "vendor"' >> .cargo/config; \
|
||||
tar pcf vendor.tar vendor; \
|
||||
rm -rf vendor; \
|
||||
fi
|
||||
|
||||
override_dh_auto_build:
|
||||
just --unstable --working-directory . --justfile design-demo/justfile build-vendored
|
||||
|
||||
override_dh_auto_install:
|
||||
just --unstable --working-directory . --justfile design-demo/justfile rootdir=$(DESTDIR) install
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
||||
5
debian/source/options
vendored
Normal file
5
debian/source/options
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
tar-ignore=.github
|
||||
tar-ignore=.vscode
|
||||
tar-ignore=result
|
||||
tar-ignore=target
|
||||
tar-ignore=vendor
|
||||
Loading…
Add table
Add a link
Reference in a new issue