[SCM] rtkit/master: Switch from cdbs to dh sequencer
fsateler at users.alioth.debian.org
fsateler at users.alioth.debian.org
Tue Feb 21 03:01:07 UTC 2017
The following commit has been merged in the master branch:
commit 5934521d8d32bd3b93530b9c747485ef03a4363a
Author: Felipe Sateler <fsateler at debian.org>
Date: Sun Oct 9 16:49:33 2016 -0300
Switch from cdbs to dh sequencer
diff --git a/debian/control b/debian/control
index e1f0f69..abb619f 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,6 @@ Section: admin
Priority: optional
Build-Depends:
autotools-dev,
- cdbs,
debhelper (>= 10),
dh-autoreconf,
libcap-dev,
diff --git a/debian/rtkit.docs b/debian/rtkit.docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/rtkit.docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
index 5bf2e21..5789566 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,22 @@
#!/usr/bin/make -f
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/autoreconf.mk
+include /usr/share/dpkg/default.mk
-DEB_CONFIGURE_EXTRA_FLAGS += --with-systemdsystemunitdir=/lib/systemd/system
-DEB_BUILDDIR = $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)
+%:
+ dh $@
-common-install-arch::
- $(DEB_BUILDDIR)/rtkit-daemon --introspect > $(DEB_BUILDDIR)/org.freedesktop.RealtimeKit1.xml
- install -m 644 -D $(DEB_BUILDDIR)/org.freedesktop.RealtimeKit1.xml $(CURDIR)/debian/rtkit/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
- install -m 755 $(DEB_BUILDDIR)/rtkit-test $(CURDIR)/debian/rtkit/usr/lib/rtkit/rtkit-test
+override_dh_auto_configure:
+ dh_auto_configure -- \
+ --with-systemdsystemunitdir=/lib/systemd/system \
+ --libdir=/usr/lib \
+ --libexecdir=/usr/lib/rtkit
+
+override_dh_auto_install:
+ dh_auto_install
+ ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
+ install -m 644 -D org.freedesktop.RealtimeKit1.xml $(CURDIR)/debian/rtkit/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml
+ install -m 755 rtkit-test $(CURDIR)/debian/rtkit/usr/lib/rtkit/rtkit-test
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f org.freedesktop.RealtimeKit1.xml
--
rtkit packaging
More information about the pkg-multimedia-commits
mailing list