[SCM] projectm/master: Update dfsg-free projectM generator script

ximion-guest at users.alioth.debian.org ximion-guest at users.alioth.debian.org
Mon May 21 12:07:30 UTC 2012


The following commit has been merged in the master branch:
commit 90c0c16aa4a81daff4edb48f373d0359774d59ca
Author: Matthias Klumpp <matthias at nlinux.org>
Date:   Mon May 21 12:50:42 2012 +0200

    Update dfsg-free projectM generator script

diff --git a/debian/strip-source.sh b/debian/strip-source.sh
index 9540314..4632e61 100755
--- a/debian/strip-source.sh
+++ b/debian/strip-source.sh
@@ -48,7 +48,8 @@ set -e
 eval set -- "$PARAMS"
 
 DEBUG=false
-USVERSION=2.0.1
+USVERSION=2.1.0
+TARBALL=""
 
 while test $# -gt 0
 do
@@ -56,6 +57,7 @@ do
 		-h) usage; exit 1 ;;
 		-t) ORIGTAR=$2; shift ;;
 		-v) USVERSION=$2; shift ;;
+		-o) TARBALL=$2; shift ;;
 		--) shift ; break ;;
 		*)  echo "Internal error!" ; exit 1 ;;
 	esac
@@ -70,7 +72,9 @@ if [ -z $ORIGTAR ]; then
 fi
 
 PACKAGENAME=projectm
-TARBALL="./${PACKAGENAME}_${USVERSION}+dfsg.orig.tar.gz"
+if [ "$TARBALL" = "" ]; then
+	TARBALL="./${PACKAGENAME}_${USVERSION}+dfsg.orig.tar.gz"
+fi
 
 TMPDIR=`mktemp -d`
 trap 'rm -rf ${TMPDIR}'  EXIT
@@ -85,8 +89,6 @@ cd projectM-complete-${USVERSION}-Source
 rm -rf ./src/WinLibs
 rm -rf ./src/macos
 rm -rf ./src/win32
-rm -f ./src/projectM-sdlvis/a.out
-rm -rf ./presets_test
 rm -f ./INSTALL-iTunes-macos.txt
 rm -rf ./playlists
 rm -rf ./src/projectM-iTunes-VizKit
@@ -98,4 +100,4 @@ find . -type d -name CVS -exec rm -rf {} +
 find . -type d -name *~ -exec rm {} +
 
 cd ${ODIR}
-tar czf ${TARBALL} -C ${TMPDIR} ${PACKAGENAME}
+tar czf ${TARBALL} -C ${TMPDIR}/${PACKAGENAME} projectM-complete-${USVERSION}-Source

-- 
projectm packaging



More information about the pkg-multimedia-commits mailing list