diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mplayerplug-in/README | 11 | ||||
-rw-r--r-- | multimedia/mplayerplug-in/doinst.sh | 15 | ||||
-rw-r--r-- | multimedia/mplayerplug-in/mplayerplug-in.SlackBuild | 89 | ||||
-rw-r--r-- | multimedia/mplayerplug-in/mplayerplug-in.info | 8 | ||||
-rw-r--r-- | multimedia/mplayerplug-in/slack-desc | 19 |
5 files changed, 0 insertions, 142 deletions
diff --git a/multimedia/mplayerplug-in/README b/multimedia/mplayerplug-in/README deleted file mode 100644 index b42c0dd843670..0000000000000 --- a/multimedia/mplayerplug-in/README +++ /dev/null @@ -1,11 +0,0 @@ -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. - -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/doinst.sh b/multimedia/mplayerplug-in/doinst.sh deleted file mode 100644 index 04bb603733d43..0000000000000 --- a/multimedia/mplayerplug-in/doinst.sh +++ /dev/null @@ -1,15 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - # If there's no config file by that name, mv it over: - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - # toss the redundant copy - rm $NEW - fi - # Otherwise, we leave the .new copy for the admin to consider... -} - -config etc/mplayerplug-in.conf.new -config etc/mplayerplug-in.types.new diff --git a/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild b/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild deleted file mode 100644 index f835eefacbde7..0000000000000 --- a/multimedia/mplayerplug-in/mplayerplug-in.SlackBuild +++ /dev/null @@ -1,89 +0,0 @@ -#!/bin/sh - -# Slackware build script for mplayerplug-in - -# Copyright 2007, 2008 Frank Caraballo <fecaraballo{at}gmail{dot}com> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=mplayerplug-in -VERSION=${VERSION:-3.55} -ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -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 - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP || exit 1 -rm -rf $PRGNAM-$VERSION -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 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --enable-gmp \ - --build=$ARCH-slackware-linux \ - || exit 1 - -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 - 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 ChangeLog INSTALL README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -# 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 - -mkdir -p $PKG/install -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 deleted file mode 100644 index a6f90d8a08566..0000000000000 --- a/multimedia/mplayerplug-in/mplayerplug-in.info +++ /dev/null @@ -1,8 +0,0 @@ -PRGNAM="mplayerplug-in" -VERSION="3.55" -HOMEPAGE="http://mplayerplug-in.sourceforge.net/" -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="Michiel"
\ No newline at end of file diff --git a/multimedia/mplayerplug-in/slack-desc b/multimedia/mplayerplug-in/slack-desc deleted file mode 100644 index c458170d0bc3a..0000000000000 --- a/multimedia/mplayerplug-in/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# 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 ':'. - - |-----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 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: |