[SCM] pd-ext13/master: Stripped binaries

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Sun Jan 15 18:27:41 UTC 2017


The following commit has been merged in the master branch:
commit b588905cdbb0c6cd9ef7086ffad8be1e672afd1e
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Sun Jan 15 18:48:39 2017 +0100

    Stripped binaries

diff --git a/debian/rules b/debian/rules
index 87f7c78..e3d017f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,11 @@ override_dh_auto_install:
 override_dh_shlibdeps:
 	dpkg-shlibdeps $(CURDIR)/debian/$(PACKAGE)$(pkglibdir)/$(LIBRARY_NAME)/*.pd_linux \
 		-T$(CURDIR)/debian/$(PACKAGE).substvars
+override_dh_strip:
+	dh_strip
+	find $(CURDIR)/debian/$(PACKAGE) -name "*.pd_linux" -exec \
+		strip \
+			--remove-section=.comment \
+			--remove-section=.note \
+			--strip-unneeded \
+			{} +

-- 
pd-ext13 packaging



More information about the pkg-multimedia-commits mailing list