diff options
-rw-r--r-- | multimedia/LiVES/LiVES.SlackBuild | 26 | ||||
-rw-r--r-- | multimedia/LiVES/LiVES.info | 8 | ||||
-rw-r--r-- | multimedia/LiVES/LiVES.patch | 19 |
3 files changed, 13 insertions, 40 deletions
diff --git a/multimedia/LiVES/LiVES.SlackBuild b/multimedia/LiVES/LiVES.SlackBuild index 4be6aa698d..15326cda85 100644 --- a/multimedia/LiVES/LiVES.SlackBuild +++ b/multimedia/LiVES/LiVES.SlackBuild @@ -8,18 +8,16 @@ # at slackbuilds.org PRGNAM=LiVES -VERSION=1.1.8 +VERSION=1.3.4 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: - *) ARCH=$( uname -m ) ;; - esac + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac fi CWD=$(pwd) @@ -33,11 +31,11 @@ if [ "$ARCH" = "i486" ]; then elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then + elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" + else + SLKCFLAGS="-02" LIBDIRSUFFIX="" fi @@ -53,8 +51,6 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,g-w+r,o-w+r . -patch smogrify $CWD/LiVES.patch - CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -67,10 +63,6 @@ CFLAGS="$SLKCFLAGS" \ make docdir=/usr/doc/$PRGNAM-$VERSION make install-strip docdir=/usr/doc/$PRGNAM-$VERSION DESTDIR=$PKG -# fix wrong link to lives-exe binary -rm $PKG/usr/bin/lives -ln -s /usr/bin/lives-exe $PKG/usr/bin/lives - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/multimedia/LiVES/LiVES.info b/multimedia/LiVES/LiVES.info index 8f1498cb63..94f1dde9be 100644 --- a/multimedia/LiVES/LiVES.info +++ b/multimedia/LiVES/LiVES.info @@ -1,10 +1,10 @@ PRGNAM="LiVES" -VERSION="1.1.8" +VERSION="1.3.4" HOMEPAGE="http://lives.sourceforge.net" -DOWNLOAD="http://www.xs4all.nl/~salsaman/lives/current/LiVES-1.1.8.tar.bz2" -MD5SUM="66bdb35aa6c3ecefcec079867f63bcf0" +DOWNLOAD="http://www.xs4all.nl/%7Esalsaman/lives/current/LiVES-1.3.4.tar.bz2" +MD5SUM="aeedd75386aa64004ad0831fdbf29cee" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="klaatu" EMAIL="klaatu@hackerpublicradio.org" -APPROVED="dsomero" +APPROVED="rworkman" diff --git a/multimedia/LiVES/LiVES.patch b/multimedia/LiVES/LiVES.patch deleted file mode 100644 index bb9e3c019f..0000000000 --- a/multimedia/LiVES/LiVES.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- trunk/smogrify 2009/12/29 21:59:04 356 -+++ trunk/smogrify 2010/01/08 02:10:47 368 -@@ -3932,7 +3932,6 @@ - system("sox -t .raw -r $arate -c $achans -$osigned -$osamps $oendian $audio_in -t .raw -r $nrate -c $nchans -$nsigned $nendian -$nsamps $audio_out stretch $stretch>/dev/null 2>&1"); - } - else { -- print("sox -t .raw -r $arate -c $achans -$osigned -$osamps $oendian $audio_in -t .raw -r $nrate -c $nchans -$nsigned $nendian -$nsamps $audio_out>/dev/null 2>&1"); - system("sox -t .raw -r $arate -c $achans -$osigned -$osamps $oendian $audio_in -t .raw -r $nrate -c $nchans -$nsigned $nendian -$nsamps $audio_out>/dev/null 2>&1"); - } - } -@@ -4302,7 +4301,7 @@ - $name=&mkname($i); - my $nframes=0; - -- my $conv_cmd=$convert_command; -+ my $conv_command=$convert_command; - - if (!defined($file_ext)) { - $file_ext=&get_ext($file); |