diff options
Diffstat (limited to 'multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild')
-rw-r--r-- | multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild index f73ad7ce44..39e19839cd 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" |