From 54b9a8ca95d2d25cb2812826bc63bb5165fc3085 Mon Sep 17 00:00:00 2001 From: Frank Caraballo Date: Wed, 12 May 2010 17:42:46 +0200 Subject: multimedia/mplayerplug-in: Updated for version 3.55 --- multimedia/mplayerplug-in/README | 19 ++++++++++--------- .../mplayerplug-in/mplayerplug-in.SlackBuild | 22 +++++++++------------- multimedia/mplayerplug-in/mplayerplug-in.info | 2 +- multimedia/mplayerplug-in/slack-desc | 22 +++++++++++----------- 4 files changed, 31 insertions(+), 34 deletions(-) (limited to 'multimedia/mplayerplug-in') diff --git a/multimedia/mplayerplug-in/README b/multimedia/mplayerplug-in/README index 0ff493bc62ba3..b42c0dd843670 100644 --- a/multimedia/mplayerplug-in/README +++ b/multimedia/mplayerplug-in/README @@ -1,10 +1,11 @@ -mplayerplug-in is a browser plugin that uses MPlayer to play -digital media from websites. This plug-in gives Mozilla the -ability to play media from a website the net without reading -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. +mplayerplug-in is a browser plugin that uses MPlayer to play digital +media from websites. This plug-in gives Mozilla the ability to play +media from a website the net without reading 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 (also available at SBo) -in order to use this package. Also, make sure you have the -SeaMonkey package (from stock Slackware) installed. +MPlayer (available at SBo) is required to run mplayerplug-in. + +NOTE: You must have SeaMonkey (from Slackware) installed in order +for this package to build. diff --git a/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild b/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild index 801dabe7839ad..f835eefacbde7 100644 --- a/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild +++ b/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for mplayerplug-in -# Copyright 2007-2008 Frank Caraballo +# Copyright 2007, 2008 Frank Caraballo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mplayerplug-in -VERSION=3.55 +VERSION=${VERSION:-3.55} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -33,8 +33,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="ChangeLog INSTALL README TODO" - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then @@ -47,9 +45,8 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP || exit 1 rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1 +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* || 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 \) \ @@ -64,6 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-gmp \ + --build=$ARCH-slackware-linux \ || exit 1 make || exit 1 @@ -75,19 +73,17 @@ make install DESTDIR=$PKG || exit 1 ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog INSTALL README TODO \ + $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: +# Don't overwrite existing config file(s): mv $PKG/etc/$PRGNAM.conf $PKG/etc/$PRGNAM.conf.new mv $PKG/etc/$PRGNAM.types $PKG/etc/$PRGNAM.types.new -find $PKG -type d -depth -exec rmdir {} \; 2>/dev/null - mkdir -p $PKG/install -cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/multimedia/mplayerplug-in/mplayerplug-in.info b/multimedia/mplayerplug-in/mplayerplug-in.info index 3a38e736bf96d..a6f90d8a08566 100644 --- a/multimedia/mplayerplug-in/mplayerplug-in.info +++ b/multimedia/mplayerplug-in/mplayerplug-in.info @@ -5,4 +5,4 @@ DOWNLOAD="http://downloads.sourceforge.net/mplayerplug-in/mplayerplug-in-3.55.ta MD5SUM="cb59d32221cfbd04b6a8b3bb55593484" MAINTAINER="Frank Caraballo" EMAIL="fecaraballo{at}gmail{dot}com" -APPROVED="David Somero" \ No newline at end of file +APPROVED="Michiel" \ No newline at end of file diff --git a/multimedia/mplayerplug-in/slack-desc b/multimedia/mplayerplug-in/slack-desc index 9e7796130cde4..c458170d0bc3a 100644 --- a/multimedia/mplayerplug-in/slack-desc +++ b/multimedia/mplayerplug-in/slack-desc @@ -1,19 +1,19 @@ # HOW TO EDIT THIS FILE: # The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. - |-----handy-ruler------------------------------------------------------| + |-----handy-ruler------------------------------------------------------| mplayerplug-in: mplayerplug-in (Embedded Video Player for Mozilla) mplayerplug-in: -mplayerplug-in: mplayerplug-in is a browser plugin that uses MPlayer to play -mplayerplug-in: digital media from websites. This plug-in gives Mozilla the -mplayerplug-in: ability to play media from a website the net without reading -mplayerplug-in: the source html and getting the url manually. Media is played -mplayerplug-in: embedded in the page or in a separate window depending on -mplayerplug-in: how the author of the webpage intended the media to be seen. +mplayerplug-in: mplayerplug-in is a browser plugin that uses MPlayer to play digital +mplayerplug-in: media from websites. This plug-in gives Mozilla the ability to play +mplayerplug-in: media from a website the net without reading the source html and +mplayerplug-in: getting the url manually. Media is played embedded in the page or +mplayerplug-in: in a separate window depending on how the author of the webpage +mplayerplug-in: intended the media to be seen. mplayerplug-in: mplayerplug-in: Homepage: http://mplayerplug-in.sourceforge.net/ mplayerplug-in: -- cgit v1.2.3