diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/qmmp/README | 2 | ||||
-rw-r--r-- | audio/qmmp/qmmp.SlackBuild | 36 | ||||
-rw-r--r-- | audio/qmmp/qmmp.info | 6 |
3 files changed, 23 insertions, 21 deletions
diff --git a/audio/qmmp/README b/audio/qmmp/README index 6b59ee6fccfb0..224506b13a151 100644 --- a/audio/qmmp/README +++ b/audio/qmmp/README @@ -2,5 +2,5 @@ Qmmp is an audio-player, written with help of Qt library. The user interface is similar to winamp or xmms. Qmmp can optionally use the following applications: -libmms, flac, libmpcdec, jack, libmodplug, wavpack, ffmpeg, +libmms, flac, libmpcdec, jack, libmodplug, wavpack, pulseaudio, ffmpeg, libcdio, libcddb, faad2, libbs2b, libprojectM, and libenca. diff --git a/audio/qmmp/qmmp.SlackBuild b/audio/qmmp/qmmp.SlackBuild index 41a23c76ce634..1884441f6e464 100644 --- a/audio/qmmp/qmmp.SlackBuild +++ b/audio/qmmp/qmmp.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for qmmp # Copyright 2010 Grigorios Bouzakis <grbzks@xsmail.com> -# Copyright 2011 Michales Michaloudes <korgie@gmail.com> +# Copyright 2011-2016 Michales Michaloudes <korgie@gmail.com> # All rights reserved. # # Permission to use, copy, modify, and distribute this software for any purpose @@ -21,13 +21,13 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qmmp -VERSION=${VERSION:-0.8.4} +VERSION=${VERSION:-0.10.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -38,8 +38,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -64,19 +64,21 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ - . -make VERBOSE=1 -make install DESTDIR=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make + make install DESTDIR=$PKG +cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/audio/qmmp/qmmp.info b/audio/qmmp/qmmp.info index 51fffde844c3c..0ab756f8d7559 100644 --- a/audio/qmmp/qmmp.info +++ b/audio/qmmp/qmmp.info @@ -1,8 +1,8 @@ PRGNAM="qmmp" -VERSION="0.8.4" +VERSION="0.10.3" HOMEPAGE="http://qmmp.ylsoftware.com/" -DOWNLOAD="http://sourceforge.net/projects/qmmp-dev/files/qmmp/qmmp-0.8.4.tar.bz2" -MD5SUM="f7369a9c6387d484d3f5af143aec6840" +DOWNLOAD="http://qmmp.ylsoftware.com/files/qmmp-0.10.3.tar.bz2" +MD5SUM="9f640a8c287e01425ba5bec78a2cc5b9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |