[SCM] drumgizmo/master: Change libdir to one not architecture dependent

viccuad-guest at users.alioth.debian.org viccuad-guest at users.alioth.debian.org
Mon Nov 2 13:37:34 UTC 2015


The following commit has been merged in the master branch:
commit 360798c6bb7868a6f6d4fe663abfccb5d119cc04
Author: viccuad <me at viccuad.me>
Date:   Mon Nov 2 14:07:09 2015 +0100

    Change libdir to one not architecture dependent

diff --git a/debian/rules b/debian/rules
index 2b5c76a..afe2195 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ FLAGS=
 CONFFLAGS=
 ifeq ($(DEB_HOST_ARCH_CPU),$(filter $(DEB_HOST_ARCH_CPU),amd64))
 	CONFFLAGS = --enable-sse
-    FLAGS = -msse3 -mfpmath=sse
+	FLAGS = -msse3 -mfpmath=sse
 endif
 FLAGS += -ffast-math
 CFLAGS += $(FLAGS)
@@ -22,8 +22,10 @@ CXXFLAGS += $(FLAGS)
 	dh $@ --parallel --with autoreconf
 
 override_dh_auto_configure:
+	# change --libdir to install lv2's .so where they correspond
 	dh_auto_configure -- --enable-lv2=yes --enable-cli=yes \
 		--enable-resampler --with-test=no \
+	    --libdir=/usr/lib/ \
 		$(CONFFLAGS)
 
 override_dh_auto_test:
@@ -32,6 +34,6 @@ override_dh_auto_test:
 override_dh_auto_install:
 	dh_auto_install
 	# per policy 3.9.1.0:
-	rm debian/drumgizmo/usr/lib/*/lv2/drumgizmo.lv2/drumgizmo.la
+	rm debian/drumgizmo/usr/lib/lv2/drumgizmo.lv2/drumgizmo.la
 	# remove unused:
-	rm debian/drumgizmo/usr/lib/*/lv2/drumgizmo.lv2/drumgizmo.a
+	rm debian/drumgizmo/usr/lib/lv2/drumgizmo.lv2/drumgizmo.a

-- 
drumgizmo packaging



More information about the pkg-multimedia-commits mailing list