[SCM] lv2-extensions-good/master: Update packaging to reflect changes to the buildsystem.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Dec 2 21:28:33 UTC 2011


The following commit has been merged in the master branch:
commit ff3b89e94cf772ab059b60350bb17a9698e1fa2a
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Dec 2 22:08:06 2011 +0100

    Update packaging to reflect changes to the buildsystem.

diff --git a/debian/lv2-extensions-good.install b/debian/lv2-extensions-good.install
index 235c5c6..73752c9 100644
--- a/debian/lv2-extensions-good.install
+++ b/debian/lv2-extensions-good.install
@@ -1 +1 @@
-*.lv2 usr/lib/lv2
+usr
diff --git a/debian/rules b/debian/rules
index aca2727..1189ab7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,30 @@
 #!/usr/bin/make -f
 
+WAF = ./waf
+export DESTDIR=debian/lv2-extensions-good
+
 %:
-	dh $@ --with lv2config
+	dh $@
 
 override_dh_auto_configure:
+	for ext in lv2-* ; do \
+		cd $$ext && $(WAF) configure --prefix=/usr && cd .. ;\
+	done
+
 override_dh_auto_build:
+	for ext in lv2-* ; do \
+		cd $$ext && $(WAF) && cd .. ; \
+	done
+
 override_dh_auto_install:
+	for ext in lv2-* ; do \
+		cd $$ext && $(WAF) install && cd .. ; \
+	done
+
 override_dh_auto_test:
 override_dh_auto_clean:
 	dh_auto_clean
+	for ext in lv2-* ; do \
+		cd $$ext && $(WAF) distclean && cd .. ; \
+	done
 	rm -rf get-orig-source

-- 
lv2-extensions-good packaging



More information about the pkg-multimedia-commits mailing list