Initial debian packaging

This commit is contained in:
Ian Douglas Scott 2023-01-20 15:25:00 -08:00
parent ecd858dc9d
commit 8af56a5a34
5 changed files with 99 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
cosmic-workspaces (0.1.0) jammy; urgency=medium
* Initial release.
-- Ian Scott <idscott@system76.com> Fri, 20 Jan 2023 15:21:34 -0800

20
debian/control vendored Normal file
View file

@ -0,0 +1,20 @@
Source: cosmic-workspaces
Section: admin
Priority: optional
Maintainer: System76 <info@system76.com>
Build-Depends:
debhelper (>= 11),
debhelper-compat (= 11),
cargo,
libudev-dev,
libxkbcommon-dev,
pkg-config,
Standards-Version: 4.3.0
Homepage: https://github.com/pop-os/cosmic-workspaces-epoch
Package: cosmic-workspaces
Architecture: amd64 arm64
Depends:
${misc:Depends},
${shlibs:Depends}
Description: Cosmic workspaces

24
debian/rules vendored Executable file
View file

@ -0,0 +1,24 @@
#!/usr/bin/make -f
CLEAN ?= 1
VENDOR ?= 1
%:
dh $@
override_dh_auto_clean:
ifeq ($(CLEAN),1)
make clean
endif
ifeq ($(VENDOR),1)
if ! ischroot; then \
make vendor; \
fi
endif
override_dh_auto_build:
env CARGO_HOME="$$(pwd)/target/cargo" \
make all VENDOR=$(VENDOR) prefix=/usr
override_dh_auto_install:
dh_auto_install -- prefix=/usr

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (native)