[SCM] gpac/master: Update passing revision to configure

rbalint at users.alioth.debian.org rbalint at users.alioth.debian.org
Sat Jun 27 21:52:33 UTC 2015


The following commit has been merged in the master branch:
commit 59420627b6b7f1d08e9977dc88070b55c8ef6dba
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Thu Jun 25 16:53:21 2015 -0700

    Update passing revision to configure

diff --git a/debian/rules b/debian/rules
index ecb59ac..3672cb0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,7 @@
 export REPACK_SH=$(CURDIR)/debian/repack.sh
 
 export GPAC_BASE_VER ?= $(shell dpkg-parsechangelog | sed -n 's/Version: \([0-9.]*\)\+.*/\1/p')
-export GPAC_SVN_REVISION ?= $(shell dpkg-parsechangelog | grep Version | sed 's/Version:.*+svn\([0-9]\+\).*/\1/')
+export GPAC_GIT_REVISION ?= $(shell dpkg-parsechangelog | grep Version | sed 's/Version:.*+svn\([0-9]\+\).*/\1/')
 
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 DEB_CONFIGURE_EXTRA_FLAGS = --disable-opt
@@ -22,7 +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
+	echo "#define GPAC_GIT_REVISION	\"$(GPAC_GIT_REVISION)\"" > include/gpac/revision.h
 	# workaround broken libav detection
 	sed -i 's,CONFIG_LIBAV=no,CONFIG_LIBAV=yes,' config.mak
 

-- 
gpac packaging



More information about the pkg-multimedia-commits mailing list