aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild14
-rw-r--r--multimedia/mplayer-codecs64/mplayer-codecs64.info8
2 files changed, 8 insertions, 14 deletions
diff --git a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild b/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild
index 1eb2ef6d57aca..2f5fd6380aff2 100644
--- a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild
+++ b/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild
@@ -23,12 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mplayer-codecs64
-VERSION=20071007
+VERSION=20061022
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-RPMVERS="20061022"
-
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
@@ -60,19 +58,17 @@ cd $TMP
mkdir -p $PKG/usr/lib64/codecs
cd $PKG
- rpm2cpio < $CWD/mplayer-codecs-${RPMVERS}-1.${ARCH}.rpm | cpio -imdv
- rpm2cpio < $CWD/mplayer-codecs-extra-${RPMVERS}-1.${ARCH}.rpm | cpio -imdv
+ rpm2cpio < $CWD/mplayer-codecs-${VERSION}-1.${ARCH}.rpm | cpio -imdv
+ rpm2cpio < $CWD/mplayer-codecs-extra-${VERSION}-1.${ARCH}.rpm | cpio -imdv
cd - 1>/dev/null
-tar xf $CWD/essential-amd64-${VERSION}.tar.bz2
-cp -a essential-amd64-${VERSION}/* $PKG/usr/lib64/codecs
-rm -rf $PKG/usr/share
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-mv $PKG/usr/lib64/codecs/README $PKG/usr/doc/$PRGNAM-$VERSION/README
+mv $PKG/usr/share/doc/*/README $PKG/usr/doc/$PRGNAM-$VERSION/README
+rm -rf $PKG/usr/share
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/multimedia/mplayer-codecs64/mplayer-codecs64.info b/multimedia/mplayer-codecs64/mplayer-codecs64.info
index f5d98f7f9c42b..925cba5278487 100644
--- a/multimedia/mplayer-codecs64/mplayer-codecs64.info
+++ b/multimedia/mplayer-codecs64/mplayer-codecs64.info
@@ -1,14 +1,12 @@
PRGNAM="mplayer-codecs64"
-VERSION="20071007"
+VERSION="20061022"
HOMEPAGE="http://www.mplayerhq.hu"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="http://www.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-20061022-1.x86_64.rpm \
- http://www.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.x86_64.rpm \
- http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-amd64-20071007.tar.bz2"
+ http://www.mplayerhq.hu/MPlayer/releases/codecs/mplayer-codecs-extra-20061022-1.x86_64.rpm"
MD5SUM_x86_64="da44bb4aa7334d890a901771e2de7f14 \
- 1c15660480b09bbf2e81b27a863bf0a8 \
- 8e1ceeec51469f5baac65e56fac709e8"
+ 1c15660480b09bbf2e81b27a863bf0a8"
REQUIRES=""
MAINTAINER="Robby Workman"
EMAIL="rworkman@slackbuilds.org"