From ba7b2054e1bf1729fe6b387899f57eb4c6bd74d5 Mon Sep 17 00:00:00 2001 From: Phillip Warner Date: Tue, 29 Oct 2013 10:28:07 +0100 Subject: multimedia/gecko-mediaplayer: Updated for version 1.0.8. Signed-off-by: Matteo Bernardini --- multimedia/gecko-mediaplayer/README | 7 ------- .../gecko-mediaplayer/gecko-mediaplayer.SlackBuild | 12 +---------- .../gecko-mediaplayer/gecko-mediaplayer.info | 6 +++--- multimedia/gecko-mediaplayer/plugin.cpp.patch | 24 ---------------------- 4 files changed, 4 insertions(+), 45 deletions(-) delete mode 100644 multimedia/gecko-mediaplayer/plugin.cpp.patch (limited to 'multimedia/gecko-mediaplayer') diff --git a/multimedia/gecko-mediaplayer/README b/multimedia/gecko-mediaplayer/README index 05b4abd714..e7443054be 100644 --- a/multimedia/gecko-mediaplayer/README +++ b/multimedia/gecko-mediaplayer/README @@ -4,10 +4,3 @@ application. It is a browser plugin that uses GNOME MPlayer to play media in a browser. It should work with most browsers (not Chrome) on Unix-ish systems (Linux, BSD, Solaris) and uses the NS4 API (Mozilla, Firefox, Opera, etc.). - -If you plan on using this plugin for Apple QuickTime Trailers and you do not -want the plugin to wait until the cache is full before playing, then run this -script with: - FULLCACHE=NO - -Waiting for the cache to fill is thought to be more reliable; YMMV. diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild index 39e19839cd..f40cf40c9e 100644 --- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild +++ b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild @@ -4,7 +4,7 @@ # Written by Phillip Warner PRGNAM=gecko-mediaplayer -VERSION=${VERSION:-1.0.6} +VERSION=${VERSION:-1.0.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -21,12 +21,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# 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" LIBDIRSUFFIX="" @@ -56,10 +50,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; -if [ "$FULLCACHE" = "NO" ]; then - patch -p1 < $CWD/plugin.cpp.patch -fi - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.info b/multimedia/gecko-mediaplayer/gecko-mediaplayer.info index 8a90ca1006..82f946aaab 100644 --- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.info +++ b/multimedia/gecko-mediaplayer/gecko-mediaplayer.info @@ -1,8 +1,8 @@ PRGNAM="gecko-mediaplayer" -VERSION="1.0.6" +VERSION="1.0.8" HOMEPAGE="http://sites.google.com/site/kdekorte2/gecko-mediaplayer" -DOWNLOAD="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.6.tar.gz" -MD5SUM="7675c8622c47ff8ccd22b685c48635f8" +DOWNLOAD="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.8.tar.gz" +MD5SUM="d13303664fcbb7f3b1273be4b1aa1b1e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="gnome-mplayer" diff --git a/multimedia/gecko-mediaplayer/plugin.cpp.patch b/multimedia/gecko-mediaplayer/plugin.cpp.patch deleted file mode 100644 index f01a1d9f38..0000000000 --- a/multimedia/gecko-mediaplayer/plugin.cpp.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur gecko-mediaplayer-1.0.6-orig/src/plugin.cpp gecko-mediaplayer-1.0.6/src/plugin.cpp ---- gecko-mediaplayer-1.0.6-orig/src/plugin.cpp 2012-03-21 12:23:46.000000000 -0400 -+++ gecko-mediaplayer-1.0.6/src/plugin.cpp 2012-08-11 22:54:14.000000000 -0400 -@@ -1391,7 +1391,8 @@ - } - } - // Disable playing of partially cached apple.com files, mplayer seems to crash on these files -- /* -+ // Bring this Back in -+ - if (!item->opened) { - if ((item->localsize >= (plugin->cache_size * 1024)) && (percent >= 0.2)) { - //printf("Setting to play because %i > %i\n", item->localsize, -@@ -1423,10 +1424,6 @@ - } - - } -- */ -- -- // try downloading entire file -- ok_to_play = FALSE; - - // if not opened, over cache level and not an href target then try and open it - if ((!item->opened) && ok_to_play == TRUE) { -- cgit v1.2.3