summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2023-07-03 17:02:11 +0200
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>2023-07-03 17:02:11 +0200
commitbfedf86f19b1d2d4c63f098364bc1fe321c27303 (patch)
tree2c939ae8308790df13b2db7b7717a1f076cc48d0
parent5d544708d43fdde0fb3f9ce860c984be9a17d4e6 (diff)
Switch build-system to pd-lib-builder
-rw-r--r--debian/control8
-rwxr-xr-xdebian/rules15
2 files changed, 7 insertions, 16 deletions
diff --git a/debian/control b/debian/control
index bb91a11..739468e 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders:
IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>,
Build-Depends:
debhelper-compat (= 13),
- puredata-dev | puredata,
+ dh-sequence-pd-lib-builder,
Standards-Version: 4.6.1
Rules-Requires-Root: no
Homepage: https://puredata.info
@@ -16,9 +16,13 @@ Vcs-Browser: https://salsa.debian.org/multimedia-team/pd/pd-bassemu
Package: pd-bassemu
Architecture: any
Depends:
- puredata-core | pd,
${misc:Depends},
+ ${puredata:Depends},
${shlibs:Depends},
+Recommends:
+ ${puredata:Recommends},
+Suggests:
+ ${puredata:Suggests},
Description: Pd object for transistor bass emulation
bassemu~ is an object that simulates a transistor-based electronic
synthesizer. This serves as a emulation of an analogue bass synth. It
diff --git a/debian/rules b/debian/rules
index e63042d..3defa95 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,20 +1,7 @@
#!/usr/bin/make -f
-pkglibdir = /usr/lib/pd/extra
-
%:
- dh $@
-
-override_dh_auto_build:
- dh_auto_build -- \
- CFLAGS="-DPD -fPIC $(CFLAGS) $(CPPFLAGS) -I/usr/include/pd" \
- LDFLAGS="-Wl,--export-dynamic -shared -fPIC $(LDFLAGS)" \
- $(empty)
-
-override_dh_auto_install:
- dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir) STRIP=true
-# replace license file with link to the Debian license file
- rm -f -- $(CURDIR)/debian/*/$(pkglibdir)/*/LICENSE.txt
+ dh $@ --buildsystem=pd_lib_builder
DEB_COPYRIGHT_CHECK_IGNORE_REGEX = \
debian/.*