From 9a5607992d95a57771583dbde07eeb879e237a4a Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Mon, 7 Jul 2014 01:57:08 -0500 Subject: multimedia/mplayer-codecs64: Fixed VERSION string Basically, the "essential" tarball contained dupes of what is already in the other (earlier-dated) archive, so it is a useless download that merely confuses the VERSION. This appears to be a downgrade, but in reality it's just a correction to what was already being packaged. Thanks to elseifthen for the note with a good explanation - much appreciated. Signed-off-by: Robby Workman --- multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild | 14 +++++--------- multimedia/mplayer-codecs64/mplayer-codecs64.info | 8 +++----- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild b/multimedia/mplayer-codecs64/mplayer-codecs64.SlackBuild index 1eb2ef6d57..2f5fd6380a 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 f5d98f7f9c..925cba5278 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" -- cgit v1.2.3