Add debian packaging
This commit is contained in:
parent
0db2927c86
commit
1b498acfb9
7 changed files with 80 additions and 1 deletions
15
.gitignore
vendored
15
.gitignore
vendored
|
|
@ -1 +1,14 @@
|
|||
/target
|
||||
debian/*
|
||||
!debian/cfs-tweak.service
|
||||
!debian/changelog
|
||||
!debian/control
|
||||
!debian/copyright
|
||||
!debian/postinst
|
||||
!debian/rules
|
||||
!debian/source
|
||||
.cargo
|
||||
target
|
||||
vendor
|
||||
vendor.tar
|
||||
.vscode
|
||||
*.log
|
||||
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
cosmic-comp (0.1) jammy; urgency=medium
|
||||
|
||||
* Initial pre-release.
|
||||
|
||||
-- Victoria Brekenfeld <github@drakulix.de> Wed, 09 Feb 2022 14:20:23 +0100
|
||||
26
debian/control
vendored
Normal file
26
debian/control
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
Source: cosmic-comp
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Maintainer: Victoria Brekenfeld <github@drakulix.de>
|
||||
Build-Depends:
|
||||
cargo,
|
||||
debhelper-compat (=10),
|
||||
rustc (>=1.57),
|
||||
libudev-dev,
|
||||
libegl1-mesa-dev,
|
||||
libgl1-mesa-dri,
|
||||
libgbm-dev,
|
||||
libinput-dev,
|
||||
libdbus-1-dev,
|
||||
libwayland-dev,
|
||||
libxcb1-dev,
|
||||
libxkbcommon-dev,
|
||||
libsystemd-dev,
|
||||
libseat-dev
|
||||
Standards-Version: 4.1.1
|
||||
Homepage: https://github.com/pop-os/cosmic-comp
|
||||
|
||||
Package: cosmic-comp
|
||||
Architecture: amd64 arm64
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Description: Wayland compositor of pop-os cosmic shell
|
||||
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-comp
|
||||
Upstream-Contact: Victoria Brekenfeld <github@drakulix.de>
|
||||
Source: https://github.com/pop-os/cosmic-comp
|
||||
Files: *
|
||||
Copyright: System76 <info@system76.com>
|
||||
License: GPL-3.0-only
|
||||
2
debian/postinst
vendored
Normal file
2
debian/postinst
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
set -x
|
||||
25
debian/rules
vendored
Executable file
25
debian/rules
vendored
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export sysconfdir = "/usr/share"
|
||||
export VENDOR ?= 1
|
||||
CLEAN ?= 1
|
||||
|
||||
%:
|
||||
dh $@ --with=systemd
|
||||
|
||||
override_dh_auto_clean:
|
||||
ifeq ($(CLEAN),1)
|
||||
ischroot && make clean || make distclean
|
||||
endif
|
||||
ifeq ($(VENDOR),1)
|
||||
ischroot || make vendor
|
||||
endif
|
||||
|
||||
override_dh_auto_build:
|
||||
CARGO_HOME="$$(pwd)/target/cargo" make
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit -r
|
||||
|
||||
override_dh_systemd_start:
|
||||
dh_systemd_start -r
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
||||
Loading…
Add table
Add a link
Reference in a new issue