2006-02-23 15:26:10 +00:00
|
|
|
# Description: Embedded video player for Firefox
|
|
|
|
# URL: http://mplayerplug-in.sourceforge.net
|
2008-07-22 23:22:40 +02:00
|
|
|
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
2006-09-06 23:10:13 +00:00
|
|
|
# Packager: sten, nick dot steeves at shaw dot ca
|
2008-07-22 23:22:40 +02:00
|
|
|
# Depends on: mplayer, xulrunner
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=mplayerplug-in
|
2008-07-22 23:22:40 +02:00
|
|
|
version=3.55
|
2006-07-21 15:55:43 +00:00
|
|
|
release=1
|
2008-07-22 23:22:40 +02:00
|
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2008-07-22 23:22:40 +02:00
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
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
|
2006-09-06 23:10:13 +00:00
|
|
|
|
2008-07-22 23:22:40 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-x \
|
|
|
|
--enable-gtk2 \
|
|
|
|
--disable-nls
|
|
|
|
make
|
|
|
|
|
|
|
|
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
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|