summaryrefslogtreecommitdiffstats
path: root/pipelight
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2013-11-15 12:16:49 +0000
committer Eric Hameleers <alien@slackware.com>2013-11-15 12:16:49 +0000
commit0450a670448c706974e9a0e63de1d023788d3c4a (patch)
treeb7b6ae0f21fff9cc20e610c61930a9a8f74eb37f /pipelight
parent7d68cdd1fdcb4deb79d35a460002e6f10298bdcb (diff)
downloadasb-0450a670448c706974e9a0e63de1d023788d3c4a.tar.gz
asb-0450a670448c706974e9a0e63de1d023788d3c4a.tar.xz
Update to 1.2.2
Diffstat (limited to 'pipelight')
-rwxr-xr-xpipelight/build/pipelight.SlackBuild24
1 files changed, 17 insertions, 7 deletions
diff --git a/pipelight/build/pipelight.SlackBuild b/pipelight/build/pipelight.SlackBuild
index df35131c..6143977f 100755
--- a/pipelight/build/pipelight.SlackBuild
+++ b/pipelight/build/pipelight.SlackBuild
@@ -35,6 +35,8 @@
# 0.2.1-2: 14/Nov/2013 by Eric Hameleers <alien@slackware.com>
# * Update the install-dependencies script: pushes Flash to
# newest version 11.9.900.152 (* Security fix *)
+# 0.2.2-1: 15/Nov/2013 by Eric Hameleers <alien@slackware.com>
+# * Update, together with wine-pipelight 1.7.6.
#
# Run 'sh pipelight.SlackBuild' to build a Slackware package.
# The package (.tgz) and .txt file as well as build logs are created in /tmp .
@@ -43,15 +45,18 @@
# -----------------------------------------------------------------------------
PRGNAM=pipelight
-VERSION=${VERSION:-0.2.1}
+VERSION=${VERSION:-0.2.2}
TRUNKVERSION=$(echo $VERSION | cut -f1,2 -d'.')
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:" -j4 "}
TAG=${TAG:-alien}
# Where do we look for sources?
SRCDIR=$(cd $(dirname $0); pwd)
+# Need to refresh the 'install-dependencies' script?
+UPDATE_SCRIPT=${UPDATE_SCRIPT:-"NO"}
+
# Where did we install wine-pipelight?
WPREFIX="/usr/libexec/wine-pipelight"
@@ -72,8 +77,11 @@ SRCURL[1]="https://launchpad.net/pipelight/trunk/${TRUNKVERSION}/+download/plugi
SOURCE[2]="$SRCDIR/LICENSE.pluginloader-prebuilt"
SRCURL[2]="https://bitbucket.org/mmueller2012/pipelight/raw/v${VERSION}/debian/copyright"
-SOURCE[3]="$SRCDIR/install-dependency-HEAD"
-SRCURL[3]="https://bitbucket.org/mmueller2012/pipelight/raw/master/internal-scripts/install-dependency"
+if [ "$UPDATE_SCRIPT" != "NO" ]; then
+ rm -f $SRCDIR/install-dependency-HEAD
+ SOURCE[3]="$SRCDIR/install-dependency-HEAD"
+ SRCURL[3]="https://bitbucket.org/mmueller2012/pipelight/raw/master/internal-scripts/install-dependency"
+fi
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -171,9 +179,11 @@ mv mmueller2012-pipelight-* ${PRGNAM}-${VERSION}
cd ${PRGNAM}-${VERSION}
tar -xvf ${SOURCE[1]} -C src/windows
-# Replace the install-dependency script with an uptodate version:
-if [ -f $SRCDIR//install-dependency-HEAD ]; then
- cat $SRCDIR//install-dependency-HEAD > internal-scripts/install-dependency
+if [ "$UPDATE_SCRIPT" != "NO" ]; then
+ # Replace the install-dependency script with an uptodate version:
+ if [ -f $SRCDIR//install-dependency-HEAD ]; then
+ cat $SRCDIR//install-dependency-HEAD > internal-scripts/install-dependency
+ fi
fi
# Slackware specific patches: