[SCM] swh-plugins/master: Fix path for ladspa plugins.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Tue May 31 20:28:50 UTC 2016


The following commit has been merged in the master branch:
commit e529674e47cdffe61393df88923009251098677f
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Tue May 31 22:24:14 2016 +0200

    Fix path for ladspa plugins.

diff --git a/debian/rules b/debian/rules
index ee421cd..e5adb52 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,9 +11,9 @@ git_date= $(shell date +%Y%m%d)
 dfsg_version = $(upstream_version)+git$(git_date)~repack0
 pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
 
-
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_MULTIARCH	?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_BUILD_ARCH		?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
@@ -42,11 +42,14 @@ override_dh_auto_clean:
 
 override_dh_auto_install:
 	dh_auto_install
+	mkdir debian/swh-plugins/usr/lib/ladspa
+	mv debian/swh-plugins/usr/lib/*/ladspa/* debian/swh-plugins/usr/lib/ladspa
+	rm -R debian/swh-plugins/usr/lib/$(DEB_HOST_MULTIARCH)
 	# Remove rpaths.
-	chrpath -d -k debian/swh-plugins/usr/lib/*/ladspa/pitch_scale_1193.so
-	chrpath -d -k debian/swh-plugins/usr/lib/*/ladspa/pitch_scale_1194.so
-	chrpath -d -k debian/swh-plugins/usr/lib/*/ladspa/mbeq_1197.so
-	chrpath -d -k debian/swh-plugins/usr/lib/*/ladspa/imp_1199.so
+	chrpath -d -k debian/swh-plugins/usr/lib/ladspa/pitch_scale_1193.so
+	chrpath -d -k debian/swh-plugins/usr/lib/ladspa/pitch_scale_1194.so
+	chrpath -d -k debian/swh-plugins/usr/lib/ladspa/mbeq_1197.so
+	chrpath -d -k debian/swh-plugins/usr/lib/ladspa/imp_1199.so
 
 override_dh_installchangelogs:
 	dh_installchangelogs ChangeLog

-- 
swh-plugins packaging



More information about the pkg-multimedia-commits mailing list