From f984981018734ae27ddad8f5aff311477194ee82 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sat, 5 Mar 2011 13:19:49 -0300 Subject: multimedia/media-player-info: Updated for version 12. Signed-off-by: Niels Horn --- .../media-player-info/media-player-info.SlackBuild | 28 +++------------------- .../media-player-info/media-player-info.info | 8 +++---- 2 files changed, 7 insertions(+), 29 deletions(-) diff --git a/multimedia/media-player-info/media-player-info.SlackBuild b/multimedia/media-player-info/media-player-info.SlackBuild index 5a1f92e468..d5f4362b14 100644 --- a/multimedia/media-player-info/media-player-info.SlackBuild +++ b/multimedia/media-player-info/media-player-info.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for media-player-info -# Copyright 2010 Robby Workman, Northport, Alabama, USA +# Copyright 2010,2011 Robby Workman, Northport, Alabama, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,37 +23,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=media-player-info -VERSION=${VERSION:-11} +VERSION=${VERSION:-12} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +ARCH=noarch CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - set -e rm -rf $PKG @@ -69,8 +49,6 @@ find . \ \( -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 \ --libdir=/usr/lib${LIBDIRSUFFIX} \ diff --git a/multimedia/media-player-info/media-player-info.info b/multimedia/media-player-info/media-player-info.info index 76f180b05d..4bd615c41c 100644 --- a/multimedia/media-player-info/media-player-info.info +++ b/multimedia/media-player-info/media-player-info.info @@ -1,10 +1,10 @@ PRGNAM="media-player-info" -VERSION="11" +VERSION="12" HOMEPAGE="http://hal.freedesktop.org/" -DOWNLOAD="http://www.freedesktop.org/software/media-player-info/media-player-info-11.tar.gz" -MD5SUM="18120df9da57f07c1014a011aeb7da53" +DOWNLOAD="http://www.freedesktop.org/software/media-player-info/media-player-info-12.tar.gz" +MD5SUM="59089058a6647ab81d9327db44df1e0d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Robby Workman" EMAIL="rw@rlworkman.net" -APPROVED="Erik Hanson" +APPROVED="Niels Horn" -- cgit v1.2.3