diff options
author | Michales Michaloudes <korgie@gmail.com> | 2014-11-04 20:30:57 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-11-08 06:30:06 +0700 |
commit | d258335d875ebc9a81c080df2df4290c67895286 (patch) | |
tree | a51fb91b89f0a03ed06ccd2c6b1448fe93734ae5 /audio/kid3 | |
parent | 6be68324e4e4ebebb1b01eb031e0b838fe53829b (diff) |
audio/kid3: Updated for version 3.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/kid3')
-rw-r--r-- | audio/kid3/kid3.SlackBuild | 24 | ||||
-rw-r--r-- | audio/kid3/kid3.info | 6 |
2 files changed, 20 insertions, 10 deletions
diff --git a/audio/kid3/kid3.SlackBuild b/audio/kid3/kid3.SlackBuild index 1ba059911caf..27feb402221b 100644 --- a/audio/kid3/kid3.SlackBuild +++ b/audio/kid3/kid3.SlackBuild @@ -3,7 +3,7 @@ # Written by Michales Michaloudes korgie@gmail.com PRGNAM=kid3 -VERSION=${VERSION:-20120816_a1403e8} +VERSION=${VERSION:-3.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -37,9 +37,9 @@ fi # Autodetection of kde4 if [ -f /usr/bin/kde4 ]; then - KDE4="ON" + KDE4=";KDE" else - KDE4="OFF" + KDE4="" fi # Autodetection of libmp4v2 @@ -56,6 +56,13 @@ else CHROMA="OFF" fi +# Autodetection of phonon +if pkg-config --exists phonon ; then + PHONON="ON" +else + PHONON="OFF" +fi + set -e rm -rf $PKG @@ -83,10 +90,9 @@ cmake . \ -DINCLUDE_INSTALL_DIR=/usr/include \ -DWITH_CHROMAPRINT="$CHROMA" \ -DWITH_MP4V2="$MP4TAG" \ - -DWITH_KDE="$KDE4" - -# breaks compilation -#-DBUILD_SHARED_LIBS:BOOL=ON \ + -DWITH_APPS="Qt;CLI$KDE4" \ + -DWITH_PHONON="$PHONON" \ + -DBUILD_SHARED_LIBS:BOOL=ON make make install DESTDIR=$PKG @@ -100,6 +106,10 @@ cp -a \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild +if [ -d $PKG/usr/share/man ]; then + mv $PKG/usr/share/man $PKG/usr/doc +fi + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh diff --git a/audio/kid3/kid3.info b/audio/kid3/kid3.info index 6cc063064e95..9b899de44dd6 100644 --- a/audio/kid3/kid3.info +++ b/audio/kid3/kid3.info @@ -1,8 +1,8 @@ PRGNAM="kid3" -VERSION="20120816_a1403e8" +VERSION="3.1.1" HOMEPAGE="http://kid3.sourceforge.net/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/kid3-20120816_a1403e8.tar.xz" -MD5SUM="72df3bfefa323b11dcac24220ca26c26" +DOWNLOAD="http://prdownloads.sourceforge.net/kid3/kid3-3.1.1.tar.gz" +MD5SUM="6bfda91e2abc69682374943fb89077c6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="id3lib" |