multimedia/gecko-mediaplayer: Updated for version 1.0.4.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Phillip Warner 2011-07-17 19:09:31 -04:00 committed by Robby Workman
parent b1b9901c84
commit c80bb4f035
4 changed files with 37 additions and 15 deletions

View file

@ -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. application.
It is a browser plugin that uses GNOME MPlayer to play media in a browser. 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) It should work with all browsers (including Chrome) on Unix-ish systems
and uses the NS4 API (Mozilla, Firefox, Opera, etc.). (Linux, BSD, Solaris) and uses the NS4 API (Mozilla, Firefox, Opera, etc.).
gnome-mplayer is required to use this software. seamonkey (included in Either dconf or gconf is required for the program to save settings. They
Slackware) is required to build it. 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.

View file

@ -4,7 +4,7 @@
# Written by Phillip Warner <pc_warner@yahoo.com> # Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=gecko-mediaplayer PRGNAM=gecko-mediaplayer
VERSION=${VERSION:-1.0.0} VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -21,6 +21,9 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp} OUTPUT=${OUTPUT:-/tmp}
# Assume we're using dconf unless otherwise specified
GCONF=${GCONF:-NO}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
@ -50,16 +53,25 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \; -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" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --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} 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 \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,10 +1,10 @@
PRGNAM="gecko-mediaplayer" PRGNAM="gecko-mediaplayer"
VERSION="1.0.0" VERSION="1.0.4"
HOMEPAGE="http://sites.google.com/site/kdekorte2/gecko-mediaplayer" HOMEPAGE="http://sites.google.com/site/kdekorte2/gecko-mediaplayer"
DOWNLOAD="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.0.tar.gz" DOWNLOAD="http://gecko-mediaplayer.googlecode.com/files/gecko-mediaplayer-1.0.4.tar.gz"
MD5SUM="80ccb671aea90153be9f9e6dc41b7eae" MD5SUM="7bb7665f8a1e6832907d052863e8f7aa"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Phillip Warner" MAINTAINER="Phillip Warner"
EMAIL="pc_warner@yahoo.com" EMAIL="pc_warner@yahoo.com"
APPROVED="Erik Hanson" APPROVED="dsomero"

View file

@ -7,9 +7,9 @@
|-----handy-ruler-----------------------------------------------------| |-----handy-ruler-----------------------------------------------------|
gecko-mediaplayer: gecko-mediaplayer (Browser media plugin) gecko-mediaplayer: gecko-mediaplayer (Browser media plugin)
gecko-mediaplayer: gecko-mediaplayer:
gecko-mediaplayer: Gecko Mediaplayer is the modern replacement for mplayerplug-in. 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: browser.
gecko-mediaplayer: gecko-mediaplayer:
gecko-mediaplayer: Homepage: http://sites.google.com/site/kdekorte2/gecko-mediaplayer gecko-mediaplayer: Homepage: http://sites.google.com/site/kdekorte2/gecko-mediaplayer