[SCM] nekobee/master: Switch to waf.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Sun Dec 18 19:53:44 UTC 2016


The following commit has been merged in the master branch:
commit a32bb47038dfea6754d85ad84641b3078f5256e2
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Sun Dec 18 20:53:24 2016 +0100

    Switch to waf.

diff --git a/debian/control b/debian/control
index 5bc52c5..7ce8b9c 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,9 @@ Priority: optional
 Maintainer: Debian Multimedia Maintainers <pkg-multimedia-maintainers at lists.alioth.debian.org>
 Uploaders: Free Ekanayaka <freee at debian.org>,
  Jaromír Mikeš <mira.mikes at seznam.cz>
-Build-Depends: debhelper (>= 10~),
- dh-autoreconf,
+Build-Depends:
+ debhelper (>= 10),
+ python,
  liblo-dev,
  libasound2-dev,
  dssi-dev,
diff --git a/debian/rules b/debian/rules
index 48e7c17..db9ea1b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,13 +8,29 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 LDFLAGS+=-Wl,--as-needed
 
+WAF = ./waf
+
 %:
-	dh $@ --with autoreconf
+	dh $@
+
+override_dh_auto_configure:
+	$(WAF) configure   --prefix=/usr
+
+override_dh_auto_build:
+	$(WAF)
+
+override_dh_auto_clean:
+	$(WAF) distclean
+	find -name "*.pyc" -delete
+	dh_auto_clean
 
 override_dh_auto_install:
-	dh_auto_install
-	rm debian/nekobee/usr/lib/*/dssi/nekobee.la
-	cp debian/nekobee.sh debian/nekobee/usr/bin/nekobee
+	$(WAF) install --destdir=$(CURDIR)/debian/tmp
+
+#override_dh_auto_install:
+#	dh_auto_install
+#	rm debian/nekobee/usr/lib/*/dssi/nekobee.la
+#	cp debian/nekobee.sh debian/nekobee/usr/bin/nekobee
 
 # get-orig-source to drop upstream .gitignore file and get rid of waf blob
 get-orig-source:

-- 
nekobee packaging



More information about the pkg-multimedia-commits mailing list