diff --git a/multimedia/gecko-mediaplayer/README b/multimedia/gecko-mediaplayer/README index 1717c5864b..b249f36d07 100644 --- a/multimedia/gecko-mediaplayer/README +++ b/multimedia/gecko-mediaplayer/README @@ -1,9 +1,19 @@ -Gecko Mediaplayer is the modern replacement for the mplayerplug-in +Gecko Mediaplayer is the modern replacement for the mplayerplug-in application. -It is a browser plugin that uses GNOME MPlayer to play media in a browser. -It should work with all browsers on Unix-ish systems (Linux, BSD, Solaris) -and uses the NS4 API (Mozilla, Firefox, Opera, etc.). +It is a browser plugin that uses GNOME MPlayer to play media in a browser. +It should work with all browsers (including Chrome) on Unix-ish systems +(Linux, BSD, Solaris) and uses the NS4 API (Mozilla, Firefox, Opera, etc.). -gnome-mplayer is required to use this software. seamonkey (included in -Slackware) is required to build it. +Either dconf or gconf is required for the program to save settings. They +are no longer stored in a .conf file. If you plan to use gconf pass + GCONF=YES +to the script. + +gnome-mplayer is required to use this software. xulrunner (at SBo) or +seamonkey (included in Slackware) is required to build it. + +If you choose to build against seamonkey, note: Due to some missing +seamonkey headers in the current seamonkey package, seamonkey 2.0x from +Slackware 13.1 must be installed for gecko-mediaplayer to build and run +properly. diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild index 80119ca231..9723468f17 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.0} +VERSION=${VERSION:-1.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -21,6 +21,9 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +# Assume we're using dconf unless otherwise specified +GCONF=${GCONF:-NO} + if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -50,16 +53,25 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ -o -perm 400 \) -exec chmod 644 {} \; +# If GCONF=YES above, then enable gconf; otherwise, disable it. +if [ "$GCONF" = "YES" ]; then + do_gconf="with" + else + do_gconf="without" +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-schemas-install + --disable-schemas-install \ + --${do_gconf}-gconf \ + --build=$ARCH-slackware-linux make libdir=/usr/lib${LIBDIRSUFFIX} force_arch="$ARCH" -make libdir=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG install +make libdir=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.info b/multimedia/gecko-mediaplayer/gecko-mediaplayer.info index bf2e12a73d..2d9fa77de6 100644 --- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.info +++ b/multimedia/gecko-mediaplayer/gecko-mediaplayer.info @@ -1,10 +1,10 @@ PRGNAM="gecko-mediaplayer" -VERSION="1.0.0" +VERSION="1.0.4" HOMEPAGE="http://sites.google.com/site/kdekorte2/gecko-mediaplayer" -DOWNLOAD="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.0.tar.gz" -MD5SUM="80ccb671aea90153be9f9e6dc41b7eae" +DOWNLOAD="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.4.tar.gz" +MD5SUM="7bb7665f8a1e6832907d052863e8f7aa" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Phillip Warner" EMAIL="pc_warner@yahoo.com" -APPROVED="Erik Hanson" +APPROVED="dsomero" diff --git a/multimedia/gecko-mediaplayer/slack-desc b/multimedia/gecko-mediaplayer/slack-desc index 66ea72c2f7..fa657fe96d 100644 --- a/multimedia/gecko-mediaplayer/slack-desc +++ b/multimedia/gecko-mediaplayer/slack-desc @@ -7,9 +7,9 @@ |-----handy-ruler-----------------------------------------------------| gecko-mediaplayer: gecko-mediaplayer (Browser media plugin) -gecko-mediaplayer: +gecko-mediaplayer: gecko-mediaplayer: Gecko Mediaplayer is the modern replacement for mplayerplug-in. -gecko-mediaplayer: It is a browser plugin that uses GNOME MPlayer to play media in a +gecko-mediaplayer: It is a browser plugin that uses GNOME MPlayer to play media in a gecko-mediaplayer: browser. gecko-mediaplayer: gecko-mediaplayer: Homepage: http://sites.google.com/site/kdekorte2/gecko-mediaplayer