summaryrefslogtreecommitdiff
path: root/snd-pcxhr/debian
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2025-05-08 17:45:06 (GMT)
committerChristian Pointner <equinox@helsinki.at>2025-05-08 17:45:06 (GMT)
commite540c2f827bd7c81915b00000e440d91b450b034 (patch)
treefd0525b5425220413f4a54434b1eeb1a2c7a2f56 /snd-pcxhr/debian
parent829bf65b9d6813528cf83a99503955d8894b5bde (diff)
snd-pcxhr: split package up into dkms source and firmwareHEADmaster
Diffstat (limited to 'snd-pcxhr/debian')
-rw-r--r--snd-pcxhr/debian/changelog12
-rw-r--r--snd-pcxhr/debian/control18
-rwxr-xr-xsnd-pcxhr/debian/rules18
l---------snd-pcxhr/debian/snd-pcxhr-dkms.dkms1
-rw-r--r--snd-pcxhr/debian/snd-pcxhr-dkms.install1
-rw-r--r--snd-pcxhr/debian/snd-pcxhr-firmware.install1
-rw-r--r--snd-pcxhr/debian/source/format1
7 files changed, 52 insertions, 0 deletions
diff --git a/snd-pcxhr/debian/changelog b/snd-pcxhr/debian/changelog
new file mode 100644
index 0000000..f5a948c
--- /dev/null
+++ b/snd-pcxhr/debian/changelog
@@ -0,0 +1,12 @@
+snd-pcxhr (2.0.13-2) unstable; urgency=medium
+
+ * split package into dkms and firmware
+
+ -- Christian Pointner <equinox@spreadspace.org> Thu, 08 May 2025 19:08:47 +0200
+
+snd-pcxhr (2.0.13-1) unstable; urgency=medium
+
+ * import base version from https://github.com/Digigram-audio/pcxhr
+ * add patches to fix build for bookworm
+
+ -- Christian Pointner <equinox@spreadspace.org> Thu, 27 Mar 2025 20:24:47 +0100
diff --git a/snd-pcxhr/debian/control b/snd-pcxhr/debian/control
new file mode 100644
index 0000000..9092ce3
--- /dev/null
+++ b/snd-pcxhr/debian/control
@@ -0,0 +1,18 @@
+Source: snd-pcxhr
+Section: kernel
+Priority: optional
+Maintainer: Christian Pointner <equinox@spreadspace.org>
+Build-Depends: debhelper-compat (= 13),
+ dh-sequence-dkms,
+Standards-Version: 4.6.0
+Rules-Requires-Root: no
+
+Package: snd-pcxhr-dkms
+Architecture: all
+Depends: snd-pcxhr-firmware, ${misc:Depends}
+Description: ALSA Driver for Digigram VX/PCX cards
+
+Package: snd-pcxhr-firmware
+Architecture: all
+Depends: ${misc:Depends}
+Description: Firmware files for Digigram VX/PCX soundcards
diff --git a/snd-pcxhr/debian/rules b/snd-pcxhr/debian/rules
new file mode 100755
index 0000000..69bc5cc
--- /dev/null
+++ b/snd-pcxhr/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
+
+%:
+ dh $@ --with dkms
+
+override_dh_auto_install:
+ install -d $$(pwd)/debian/tmp/usr/src/snd-pcxhr-$(DEB_VERSION_UPSTREAM)/
+ install $$(pwd)/src/Makefile $$(pwd)/src/*.c $$(pwd)/src/*.h $$(pwd)/debian/tmp/usr/src/snd-pcxhr-$(DEB_VERSION_UPSTREAM)/
+ install -d $$(pwd)/debian/tmp/lib/firmware/pcxhr/
+ install $$(pwd)/src/firmware/* $$(pwd)/debian/tmp/lib/firmware/pcxhr/
+
+override_dh_auto_configure:
+override_dh_auto_build:
+override_dh_auto_test:
+override_dh_auto_install:
+override_dh_auto_clean:
diff --git a/snd-pcxhr/debian/snd-pcxhr-dkms.dkms b/snd-pcxhr/debian/snd-pcxhr-dkms.dkms
new file mode 120000
index 0000000..8366489
--- /dev/null
+++ b/snd-pcxhr/debian/snd-pcxhr-dkms.dkms
@@ -0,0 +1 @@
+../src/dkms.conf \ No newline at end of file
diff --git a/snd-pcxhr/debian/snd-pcxhr-dkms.install b/snd-pcxhr/debian/snd-pcxhr-dkms.install
new file mode 100644
index 0000000..b601f22
--- /dev/null
+++ b/snd-pcxhr/debian/snd-pcxhr-dkms.install
@@ -0,0 +1 @@
+usr/src
diff --git a/snd-pcxhr/debian/snd-pcxhr-firmware.install b/snd-pcxhr/debian/snd-pcxhr-firmware.install
new file mode 100644
index 0000000..89d87aa
--- /dev/null
+++ b/snd-pcxhr/debian/snd-pcxhr-firmware.install
@@ -0,0 +1 @@
+lib/firmware/pcxhr/
diff --git a/snd-pcxhr/debian/source/format b/snd-pcxhr/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/snd-pcxhr/debian/source/format
@@ -0,0 +1 @@
+1.0