[SCM] showq/master: Get rid of waf blob on repack.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Thu Dec 15 21:34:39 UTC 2016


The following commit has been merged in the master branch:
commit 47595edcc353effab687cc3fae5071f66c86e2be
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Thu Dec 15 22:25:06 2016 +0100

    Get rid of waf blob on repack.

diff --git a/debian/rules b/debian/rules
index 7e4cd02..9f21999 100755
--- a/debian/rules
+++ b/debian/rules
@@ -37,6 +37,11 @@ get-orig-source:
 	git  clone  git://github.com/evandelisle/showq
 	rm -fR $(pkg)/.git
 	rm -fR $(pkg)/.gitignore
+	cd $(pkg) ; python waf --help > /dev/null
+	mv $(pkg)/.waf-*/* $(pkg)
+	sed -i '/^#==>$$/,$$d' $(pkg)/waf
+	rmdir $(pkg)/.waf-*
+	find $(pkg)/ -name '*.pyc' -delete
 	tar cf $(pkg)_$(dfsg_version).orig.tar $(pkg)
 	xz -zf $(pkg)_$(dfsg_version).orig.tar
 	rm -rf $(pkg)

-- 
showq packaging



More information about the pkg-multimedia-commits mailing list