[SCM] csoundqt/master: Switch from cdbs to dh

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Mon Sep 12 18:24:25 UTC 2016


The following commit has been merged in the master branch:
commit 1fa55e30824d37d8db22d8de041c544cbcfd8e94
Author: Felipe Sateler <fsateler at debian.org>
Date:   Mon Sep 12 12:45:37 2016 -0300

    Switch from cdbs to dh

diff --git a/debian/control b/debian/control
index 2db2d89..a9e96b1 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,6 @@ Uploaders: Felipe Sateler <fsateler at debian.org>,
  Alessio Treglia <alessio at debian.org>
 Build-Depends: 
  debhelper (>= 9),
- cdbs,
  libcsnd-dev (>= 1:6.03~dfsg),
  libcsound64-dev (>= 1:6.05~dfsg1),
  qt5-qmake,
diff --git a/debian/rules b/debian/rules
index c28a30b..8e23008 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,21 +3,30 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/qmake.mk
+include /usr/share/dpkg/default.mk
 
 QT_SELECT = qt5
 export QT_SELECT
-DEB_QMAKE_CONFIG_VAL += build64 debugger release
-DEB_QMAKE_ARGS = -r qcs.pro \
+
+QMAKE_ARGS = -r qcs.pro \
+    "CONFIG += build64 debugger release" \
     "DEFAULT_LIBSNDFILE_LIBRARY_DIRS = /usr/lib/$(DEB_HOST_MULTIARCH)" \
     "CSOUND_INCLUDE_DIR = /usr/include/csound" \
     "CSOUND_LIBRARY_DIR = /usr/lib" \
     "CSOUND_SOURCE_TREE = /dev/null " \
     INSTALL_DIR=/usr SHARE_DIR=/usr/share \
 
+%:
+	dh $@ --parallel
+
+build:
+	dh build --parallel
 
-DEB_BUILD_PARALLEL = 1
+override_dh_auto_configure:
+	dh_auto_configure -- $(QMAKE_ARGS)
 
-binary-fixup/csoundqt-examples::
+override_dh_install:
+	dh_install --fail-missing
 	find $(CURDIR)/debian/csoundqt-examples/usr/share/qutecsound/ -type f -print0 | xargs -0 chmod 644
+
+.PHONY: build

-- 
csoundqt packaging



More information about the pkg-multimedia-commits mailing list