summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorFrank Caraballo <fecaraballo{at}gmail{dot}com>2010-05-11 22:24:53 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:24:53 +0200
commit4b4d9aae0dd0163d3abca00da0c4f79cdb425702 (patch)
tree02e79f6c68e95e360a7e5e1c3ed9e90228b47bf4 /multimedia
parente71ed70638081eca6a12ac5b8135f8066d05212f (diff)
downloadslackbuilds-4b4d9aae0dd0163d3abca00da0c4f79cdb425702.tar.gz
multimedia/mplayerplug-in: Updated for version 3.55
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayerplug-in/README6
-rw-r--r--multimedia/mplayerplug-in/mplayerplug-in.SlackBuild28
-rw-r--r--multimedia/mplayerplug-in/mplayerplug-in.info8
3 files changed, 22 insertions, 20 deletions
diff --git a/multimedia/mplayerplug-in/README b/multimedia/mplayerplug-in/README
index 40d508f557..0ff493bc62 100644
--- a/multimedia/mplayerplug-in/README
+++ b/multimedia/mplayerplug-in/README
@@ -5,6 +5,6 @@ the source html and getting the url manually. Media is played
embedded in the page or in a separate window depending on
how the author of the webpage intended the media to be seen.
-You will need to have MPlayer installed (which is available at
-SlackBuilds.org) in order to use this package. Also, make sure
-you have the SeaMonkey package (from stock Slackware) installed.
+You will need to have MPlayer installed (also available at SBo)
+in order to use this package. Also, make sure you have the
+SeaMonkey package (from stock Slackware) installed.
diff --git a/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild b/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild
index e6e5f490ef..801dabe783 100644
--- a/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild
+++ b/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mplayerplug-in
-VERSION=3.50
+VERSION=3.55
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,22 +33,23 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-PDOCS="ChangeLog INSTALL LICENSE README TODO"
+DOCS="ChangeLog INSTALL README TODO"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
-set -e
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP || exit 1
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
+cd $PRGNAM-$VERSION || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -62,25 +63,26 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --enable-gmp
+ --enable-gmp \
+ || exit 1
-make
-make install DESTDIR=$PKG
+make || exit 1
+make install DESTDIR=$PKG || exit 1
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a $PDOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
# Don't overwrite existing config files:
mv $PKG/etc/$PRGNAM.conf $PKG/etc/$PRGNAM.conf.new
mv $PKG/etc/$PRGNAM.types $PKG/etc/$PRGNAM.types.new
-# Remove empty directories
find $PKG -type d -depth -exec rmdir {} \; 2>/dev/null
mkdir -p $PKG/install
diff --git a/multimedia/mplayerplug-in/mplayerplug-in.info b/multimedia/mplayerplug-in/mplayerplug-in.info
index 04473edab4..3a38e736bf 100644
--- a/multimedia/mplayerplug-in/mplayerplug-in.info
+++ b/multimedia/mplayerplug-in/mplayerplug-in.info
@@ -1,8 +1,8 @@
PRGNAM="mplayerplug-in"
-VERSION="3.50"
+VERSION="3.55"
HOMEPAGE="http://mplayerplug-in.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/mplayerplug-in/mplayerplug-in-3.50.tar.gz"
-MD5SUM="7a9306c39f6550090c16b9c1d87e3168"
+DOWNLOAD="http://downloads.sourceforge.net/mplayerplug-in/mplayerplug-in-3.55.tar.gz"
+MD5SUM="cb59d32221cfbd04b6a8b3bb55593484"
MAINTAINER="Frank Caraballo"
EMAIL="fecaraballo{at}gmail{dot}com"
-APPROVED="rworkman"
+APPROVED="David Somero" \ No newline at end of file