summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:08:30 +0200
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 00:08:30 +0200
commit0afa305bf5dfe61df7823e2f8d3ac18be7510e1c (patch)
tree5511c4f3c1689b7b31b1fadb52e37e15ac7d9ed9 /multimedia
parentb2f9a00979ccc1ed35e50382f9914bd0847bbd95 (diff)
downloadslackbuilds-0afa305bf5dfe61df7823e2f8d3ac18be7510e1c.tar.gz
multimedia/mplayer: Removed from 13.0 repository
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer/Blue-1.7.tar.bz2bin222567 -> 0 bytes
-rw-r--r--multimedia/mplayer/README26
-rw-r--r--multimedia/mplayer/doinst.sh25
-rw-r--r--multimedia/mplayer/mplayer.SlackBuild186
-rw-r--r--multimedia/mplayer/mplayer.info8
-rw-r--r--multimedia/mplayer/slack-desc19
6 files changed, 0 insertions, 264 deletions
diff --git a/multimedia/mplayer/Blue-1.7.tar.bz2 b/multimedia/mplayer/Blue-1.7.tar.bz2
deleted file mode 100644
index 993bde3cb3..0000000000
--- a/multimedia/mplayer/Blue-1.7.tar.bz2
+++ /dev/null
Binary files differ
diff --git a/multimedia/mplayer/README b/multimedia/mplayer/README
deleted file mode 100644
index 67da873a07..0000000000
--- a/multimedia/mplayer/README
+++ /dev/null
@@ -1,26 +0,0 @@
-MPlayer plays most MPEG, VOB, AVI, OGG/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4,
-FLI, RM, NuppelVideo, YUV4MPEG, FILM, RoQ, PVA files, supported by many
-native, XAnim, and Win32 DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx,
-DivX 3/4/5 and even WMV movies, too (without the avifile library).
-
-The required codecs are available from the MPlayer site, and we have a
-SlackBuild script for them as well. If you have already installed the
-codecs on your own, then make sure the CODECSDIR variable in the script
-is defined correctly (or pass the correct value on the command line when
-running the SlackBuild script).
-
-This script is written to install the default "Blue" theme for MPlayer, and
-it will print an error (but allow you to continue) if you don't have the
-theme tarball in the build directory. You can obtain the Blue theme here:
- http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
-If you want to install some other theme, the script is written to support
-that, but other themes have not been tested with it. The best option for
-using additional themes/skins is to install them in $HOME/.mplayer by
-following the directions on the MPlayer homepage.
-
-You can speed-up decoding and encoding by passing RUNTIME_CPU=no to the build
-script.
-
-MPlayer supports DVD-Menu-Navigation; for it to work as expected, you will
-need to either write "mouse-movements=yes" into your mplayer.conf or start mplayer
-as "mplayer dvdnav:// -mouse-movements"
diff --git a/multimedia/mplayer/doinst.sh b/multimedia/mplayer/doinst.sh
deleted file mode 100644
index 1381c7ce40..0000000000
--- a/multimedia/mplayer/doinst.sh
+++ /dev/null
@@ -1,25 +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/mplayer/mplayer.conf.new
-
-if [ -x /usr/bin/update-desktop-database ]; then
- /usr/bin/update-desktop-database -q usr/share/applications
-fi
-
-if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
- fi
-fi
-
diff --git a/multimedia/mplayer/mplayer.SlackBuild b/multimedia/mplayer/mplayer.SlackBuild
deleted file mode 100644
index b074372775..0000000000
--- a/multimedia/mplayer/mplayer.SlackBuild
+++ /dev/null
@@ -1,186 +0,0 @@
-#!/bin/sh
-
-# Slackware build script for MPlayer
-
-# Copyright 2006-2009 Robby Workman, Northport, AL, USA
-# Copyright 2007-2008 Eric Hameleers <alien@slackware.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.
-
-# Thanks to Heinz Wiesinger and Niki Kovacs for suggestions and code
-
-PRGNAM=mplayer
-VERSION=${VERSION:-svn_20090413}
-ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
-TAG=${TAG:-_SBo}
-
-CWD=$(pwd)
-TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$PRGNAM
-OUTPUT=${OUTPUT:-/tmp}
-
-# If you installed the codecs package according to the instructions at
-# the MPlayer website, you'll probably want to change this variable
-# to /usr/local/lib/codecs. Otherwise, you'll want to leave it alone
-# (if you installed the codecs using our SlackBuild script for them)
-# unless you placed the codecs in a non-standard location.
-CODECSDIR=${CODECSDIR:-/usr/lib/codecs}
-
-# This will activate runtime cpu-detection. This is a good choice,
-# if you build a package you want to use on different machines.
-# However, this does have a performance issue, so if that affects
-# you, you can turn it off here
-RUNTIME_CPU=${RUNTIME_CPU:-yes}
-
-if [ "$RUNTIME_CPU" = "yes" ]; then
- do_cpu="en"
-else
- do_cpu="dis"
-fi
-
-# The default MPlayer theme is Blue
-# http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
-# Others may work fine here, but the script has not been tested with them
-# Even so, it's probably better to leave this alone and install additional
-# themes to $HOME/.mplayer/skins/
-THEME=Blue
-THEME_VERSION=1.7
-
-# The fonts listed below should exist on a stock Slackware system.
-# If you want to change the default font after installation, that is probably
-# best done by making a link to your preferred font in $HOME/.mplayer/ by:
-# cd $HOME/.mplayer
-# ln -s /path/to/preferred/font subfont.ttf
-OSDFONTS="LiberationSans-Regular.ttf DejaVuSans.ttf Arialuni.ttf arial.ttf Vera.ttf"
-
-# Change this with something like: LANGUAGES=cs ./MPlayer.SlackBuild
-# Choices are: bg cs de dk el en es fr hu it ja ko mk nb
-# nl pl ro ru sk sv tr uk pt_BR zh_CN zh_TW
-# If you need more than one, they should be comma-separated -- e.g. "en,es,pt_BR"
-LANGUAGES=${LANGUAGES:-"en"}
-
-set -e
-
-rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
-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 {} \;
-
-# The MPlayer developers will not support and/or deal with bug reports
-# using custom CFLAGS, and the intent here is not to build a redistributable
-# package anyway, so we won't :-)
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --confdir=/etc/mplayer \
- --disable-arts \
- --enable-gui \
- --enable-menu \
- --${do_cpu}able-runtime-cpudetection \
- --codecsdir="$CODECSDIR" \
- --language="$LANGUAGES"
-
-make
-make install DESTDIR=$PKG
-
-# Now let's build the html docs
-( cd DOCS/xml
- for i in $(echo $LANGUAGES | tr , ' ') ; do
- make MAKEFLAGS="-j1" html-single-$i ;
- done
-)
-
-( 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 "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
-
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
-
-mkdir -p $PKG/usr/share/mplayer/skins
-if [ -r $CWD/$THEME-$THEME_VERSION.tar.bz2 ]; then
- cd $PKG/usr/share/mplayer/skins
- tar xf $CWD/$THEME-$THEME_VERSION.tar.bz2
- ln -s $THEME default
- cd -
-else
- echo A usable theme tarball does not appear to exist in $CWD,
- echo or you did not edit the script to reflect it, or something
- echo else is broken.
- echo The script will continue to build a package, but some manual
- echo setup may be required after installation.
- echo
- echo Type \"exit\" to quit or any other key to continue the script.
- read _continue
- if [ "$_continue" = "exit" ]; then
- exit 1
- fi
-fi
-
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS Changelog Copyright LICENSE README DOCS/tech \
- $PKG/usr/doc/$PRGNAM-$VERSION
-# This isn't exactly ideal, but it's better than having the entire
-# script fail simply because the docs wouldn't build
-( cp -a DOCS/HTML-single $PKG/usr/doc/$PRGNAM-$VERSION/html 2>/dev/null )
-find $PKG/usr/doc/$PRGNAM-$VERSION -type d -name '.svn' | xargs rm -rf
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-
-# Don't clobber an existing config file
-cat etc/example.conf > $PKG/etc/mplayer/mplayer.conf.new
-
-mkdir -p $PKG/install
-cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
-
-# We'll link to one of the standard ttf fonts defined above.
-# Thanks to Eric Hameleers for this code snippet and permission to use it.
-cat << EOF >> $PKG/install/doinst.sh
-# Symlink a default TrueType font for OSD:
-if [ ! -f usr/share/mplayer/subfont.ttf ]; then
- for font in $OSDFONTS ; do
- if [ -f usr/share/fonts/TTF/\$font ]; then
- ( cd usr/share/mplayer
- rm -f subfont.ttf
- ln -fs /usr/share/fonts/TTF/\$font subfont.ttf
- )
- break
- fi
- done
-fi
-EOF
-
-cd $PKG
-chown -R root:root . # Just in case
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/multimedia/mplayer/mplayer.info b/multimedia/mplayer/mplayer.info
deleted file mode 100644
index 82a5aaf2ab..0000000000
--- a/multimedia/mplayer/mplayer.info
+++ /dev/null
@@ -1,8 +0,0 @@
-PRGNAM="mplayer"
-VERSION="svn_20090413"
-HOMEPAGE="http://www.mplayerhq.hu/"
-DOWNLOAD="http://slackbuilds.org/sources/12.2/mplayer-svn_20090413.tar.bz2"
-MD5SUM="e238fb50d89b26df988d38d5d5266008"
-MAINTAINER="Robby Workman"
-EMAIL="rw@rlworkman.net"
-APPROVED="dsomero"
diff --git a/multimedia/mplayer/slack-desc b/multimedia/mplayer/slack-desc
deleted file mode 100644
index c28937c99d..0000000000
--- a/multimedia/mplayer/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-------------------------------------------------------|
-mplayer: mplayer (media player for *nix)
-mplayer:
-mplayer: Media player for linux (runs on many other Unices and non-x86
-mplayer: CPUs; see the documentation) plays most MPEG, VOB, AVI, OGG/OGM,
-mplayer: VIVO, ASF/WMA/WMV, QT/MOV/MP4, FLI, RM, NuppelVideo, YUV4MPEG,
-mplayer: FILM, RoQ, PVA files, supported by many native, XAnim, and Win32
-mplayer: DLL codecs. You can watch VideoCD, SVCD, DVD, 3ivx, DivX 3/4/5,
-mplayer: and even WMV movies, too (without the avifile library).
-mplayer:
-mplayer: Homepage: http://www.mplayerhq.hu
-mplayer: