mplayerplug-in: Updated 3.50 -> 3.55 (Thanks to Predrag Ivanovic's patch). Fixed FS#323.

This commit is contained in:
Jose V Beneyto 2008-07-22 23:22:40 +02:00
parent a45da96ecf
commit 35a6da8fd3
3 changed files with 32 additions and 35 deletions

View File

@ -1,2 +1 @@
a9c3b70ab56d65015b28c6b795491c80 gecko-sdk-i686-pc-linux-gnu-1.8b1.tar.gz
7a9306c39f6550090c16b9c1d87e3168 mplayerplug-in-3.50.tar.gz
cb59d32221cfbd04b6a8b3bb55593484 mplayerplug-in-3.55.tar.gz

View File

@ -1,28 +1,27 @@
# Description: Embedded video player for Firefox
# URL: http://mplayerplug-in.sourceforge.net
# Maintainer: unmaintained, maintainer-wanted at crux dot nu
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: sten, nick dot steeves at shaw dot ca
# Depends on: mplayer, firefox, gettext
# Depends on: mplayer, xulrunner
name=mplayerplug-in
version=3.50
version=3.55
release=1
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8b1/gecko-sdk-i686-pc-linux-gnu-1.8b1.tar.gz)
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
build () {
cd $name
cd $name-$version
./configure \
--prefix=/usr \
--with-gecko-sdk=$SRC/gecko-sdk \
sed -i 's|MOZILLA_HOME=`$PKG_CONFIG --variable=libdir libxul`|MOZILLA_HOME=`$PKG_CONFIG --variable=sdkdir libxul`/bin|' configure
sed -i 's|GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir libxul`|GECKO_IDLDIR=`$PKG_CONFIG --variable=idldir libxul`/stable|' configure
./configure --prefix=/usr \
--with-x \
--enable-gtk2 \
--disable-nls
make
mkdir -p $PKG/usr/lib/firefox/plugins
mkdir -p $PKG/usr/lib/firefox/components
cp $SRC/$name/mplayerplug-in*.so $PKG/usr/lib/firefox/plugins
cp $SRC/$name/mplayerplug-in*.xpt $PKG/usr/lib/firefox/components
install -d $PKG/usr/lib/firefox/{plugins,components}
cp $SRC/$name-$version/mplayerplug-in*.so $PKG/usr/lib/firefox/plugins
cp $SRC/$name-$version/mplayerplug-in*.xpt $PKG/usr/lib/firefox/components
}

View File

@ -17,7 +17,7 @@ REQUIREMENTS
To watch videos on sites that only support IE you need to
install the following Firefox extension:
http://prdownloads.sourceforge.net/mplayerplug-in/mplayerplug-in-0.3.xpi?download
http://prdownloads.sourceforge.net/mplayerplug-in/mplayerplug-in-0.4.xpi?download
It works by converting OBJECT tags to EMBED ones.
@ -26,4 +26,3 @@ PRE-INSTALL
POST-INSTALL
PRECAUTION