aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2012-09-10 21:54:43 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-10 16:35:40 -0500
commit59220ca932c4cbebc200e3e6846257138f0abd78 (patch)
tree0361dcdbd4f29b70381d581a7c1b55adbea8f2bd /multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild
parentebceb474cd4030daba814738bc584050fb0fd8f1 (diff)
multimedia/gecko-mediaplayer: Updated for version 1.0.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild')
-rw-r--r--multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild
index f73ad7ce446eb..39e19839cd22e 100644
--- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild
+++ b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild
@@ -4,8 +4,8 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=gecko-mediaplayer
-VERSION=${VERSION:-1.0.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.0.6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -21,8 +21,11 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# Assume we're using dconf unless otherwise specified
-GCONF=${GCONF:-NO}
+# By default wait for a full cache before playing an Apple QuickTime Trailer.
+# Setting NO here will patch the plugin to revert to the old behavior of
+# playing an Apple Trailer after it is partially cached
+# YMMV - Potentially could cause the plugin to halt/crash
+FULLCACHE=${FULLCACHE:-YES}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@@ -53,14 +56,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
-# Misc fixes that did not make it into 1.0.4
-patch -p1 < $CWD/gecko-mediaplayer-fixes.diff
-
-# If GCONF=YES above, then enable gconf; otherwise, disable it.
-if [ "$GCONF" = "YES" ]; then
- do_gconf="with"
- else
- do_gconf="without"
+if [ "$FULLCACHE" = "NO" ]; then
+ patch -p1 < $CWD/plugin.cpp.patch
fi
CFLAGS="$SLKCFLAGS" \
@@ -70,7 +67,6 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-schemas-install \
- --${do_gconf}-gconf \
--build=$ARCH-slackware-linux
make libdir=/usr/lib${LIBDIRSUFFIX} force_arch="$ARCH"