[SCM] gpac/master: Allow to select a new revision via GPAC_SVN_REVISION envvar.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Feb 10 18:52:07 UTC 2012


The following commit has been merged in the master branch:
commit d2e4516391001494e29d9042cda5867ffdc724a1
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Feb 10 19:51:43 2012 +0100

    Allow to select a new revision via GPAC_SVN_REVISION envvar.

diff --git a/debian/gpac-get-orig-source b/debian/gpac-get-orig-source
index 1ce3ddc..64993cd 100755
--- a/debian/gpac-get-orig-source
+++ b/debian/gpac-get-orig-source
@@ -3,7 +3,8 @@
 # Script used to generate the orig source tarball for gpac.
 
 GPAC_SVN_URL="http://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac"
-GPAC_SVN_REVISION="3450"
+GPAC_SVN_CURRENT_REVISION=$(head debian/changelog -n 1 | sed -e 's/.*+svn\([0-9]\+\)[^0-9].*$/\1/')
+echo "Retrieving revision ${GPAC_SVN_REVISION:=${GPAC_SVN_CURRENT_REVISION}} ..."
 GPAC_VERSION="0.4.5+svn${GPAC_SVN_REVISION}"
 
 svn export -r "$GPAC_SVN_REVISION" "$GPAC_SVN_URL" "gpac-${GPAC_VERSION}"

-- 
gpac packaging



More information about the pkg-multimedia-commits mailing list