[SCM] gpac/master: Let binaries produce the correct svn revision

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sat Feb 22 18:16:25 UTC 2014


The following commit has been merged in the master branch:
commit e66a90029c98c8529b4c2b72100b101eb167c6ca
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sat Feb 22 14:48:54 2014 +0000

    Let binaries produce the correct svn revision

diff --git a/debian/rules b/debian/rules
index 007004e..d3386b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,6 +22,7 @@ override_dh_auto_configure:
 	    --enable-debug \
 	    --disable-ssl \
 	    $(DEB_EXTRA_CONFIGURE_FLAGS)
+	echo "#define GPAC_SVN_REVISION	\"$(GPAC_SVN_REVISION)\"" > include/gpac/revision.h
 
 override_dh_auto_install:
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
@@ -36,6 +37,7 @@ override_dh_auto_clean:
 
 override_dh_clean:
 	dh_clean config.h bin/gcc/libgpac*
+	dh_clean gpac.pc include/gpac/revision.h
 	find $(CURDIR) -name *.opic -delete
 
 override_dh_strip:

-- 
gpac packaging



More information about the pkg-multimedia-commits mailing list