From c208cfd1469a906c97434320f98efa1701805bfb Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Wed, 27 Nov 2013 09:01:11 +0100 Subject: audio/cmus: Updated for version 20131125_a854f85. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes support for the newer ffmpeg. Added the optional dependencies pulseaudio and opus-file (thanks to Antonio Hernández Blas for the multiple heads-up) Signed-off-by: Matteo Bernardini --- audio/cmus/README | 6 +++--- audio/cmus/cmus.SlackBuild | 8 ++++---- audio/cmus/cmus.info | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/audio/cmus/README b/audio/cmus/README index 927fbc100e..ffbc71503b 100644 --- a/audio/cmus/README +++ b/audio/cmus/README @@ -4,7 +4,7 @@ cmus is a small and fast text mode music player for Linux and many other UNIX like operating systems. Optional dependencies (autodetected) are ffmpeg, libmpcdec, -faad2, libcue and libmp4v2. +faad2, libcue, libmp4v2 and pulseaudio. -It can be built also over roar-audio (but ATM this isn't -available at Slackbuilds.org). +It can be built also over roar-audio and opus-file (but ATM +these aren't available at SlackBuilds.org). diff --git a/audio/cmus/cmus.SlackBuild b/audio/cmus/cmus.SlackBuild index 16e865d44d..d6a26442bd 100644 --- a/audio/cmus/cmus.SlackBuild +++ b/audio/cmus/cmus.SlackBuild @@ -22,7 +22,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cmus -VERSION=${VERSION:-v2.5.0} +VERSION=${VERSION:-20131125_a854f85} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,7 +59,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -80,14 +80,14 @@ CXXFLAGS="$SLKCFLAGS" \ make V=2 make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/examples/* cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/audio/cmus/cmus.info b/audio/cmus/cmus.info index f175fb4f63..ac7af26e5d 100644 --- a/audio/cmus/cmus.info +++ b/audio/cmus/cmus.info @@ -1,8 +1,8 @@ PRGNAM="cmus" -VERSION="v2.5.0" +VERSION="20131125_a854f85" HOMEPAGE="http://cmus.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/cmus/cmus-v2.5.0.tar.bz2" -MD5SUM="9af16d324060447996ed25e1a9c1c7d8" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/cmus-20131125_a854f85.tar.xz" +MD5SUM="a197c1775238c322ab13245e03bc670a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3