[SCM] faust/master: move arch-independent stuff into /usr/share and create compat symlinks

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Wed May 18 15:13:10 UTC 2016


The following commit has been merged in the master branch:
commit 6b1c2db14c35a950615c48b1f6bce714c73442db
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Wed May 18 16:28:28 2016 +0200

    move arch-independent stuff into /usr/share and create compat symlinks
    
    LATER think about 'faust-common' (probably after switching to faust2)

diff --git a/debian/faust.links b/debian/faust.links
new file mode 100644
index 0000000..a256de7
--- /dev/null
+++ b/debian/faust.links
@@ -0,0 +1 @@
+usr/share/faust/code usr/lib/faust
diff --git a/debian/rules b/debian/rules
index 5d80813..74d26dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -34,6 +34,12 @@ build/faust::
 
 install/faust::
 	CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" $(MAKE) DESTDIR=$(DEB_DESTDIR) PREFIX=/usr install
+	mkdir -p $(DEB_DESTDIR)/usr/share/faust
+	mv $(DEB_DESTDIR)/usr/lib/faust $(DEB_DESTDIR)/usr/share/faust/code
+	# remove source faustpath and faustoptflags from libexecdir
+	-rm $(DEB_DESTDIR)/usr/bin/faustoptflags
+	-rm $(DEB_DESTDIR)/usr/bin/faustpath
+	sed -e 's|^\( *\. \)faust|\1/usr/share/faust/utils/faust|' -i $(DEB_DESTDIR)/usr/bin/faust2*
 
 clean::
 	$(MAKE) clean

-- 
faust packaging



More information about the pkg-multimedia-commits mailing list