aboutsummaryrefslogtreecommitdiff
path: root/audio/soundkonverter
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-07 11:22:15 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-07 23:02:03 +0700
commit980922ac0f949956abf0822a930bbc7d904685a5 (patch)
treed3ade8c298dd8de48f137ebb84f7cf1208d311ed /audio/soundkonverter
parent8cdef6480de22f2319cdf67192bc9f11555d0b21 (diff)
audio/soundkonverter: Updated for version 3.0.1.
This fixes building on 15.0. (qt5) Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/soundkonverter')
-rw-r--r--audio/soundkonverter/soundkonverter.SlackBuild14
-rw-r--r--audio/soundkonverter/soundkonverter.info6
2 files changed, 8 insertions, 12 deletions
diff --git a/audio/soundkonverter/soundkonverter.SlackBuild b/audio/soundkonverter/soundkonverter.SlackBuild
index b0ec11f04200a..97268cb48691c 100644
--- a/audio/soundkonverter/soundkonverter.SlackBuild
+++ b/audio/soundkonverter/soundkonverter.SlackBuild
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=soundkonverter
-VERSION=${VERSION:-2.2.2}
+VERSION=${VERSION:-3.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,19 +81,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Move these files around in order for soundkonverter to find CMakeLists.txt and build
-# backends properly
-mv src/* $TMP/$PRGNAM-$VERSION
-mv tools/* $TMP/$PRGNAM-$VERSION
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -I/usr/include/taglib" \
+ -DCMAKE_CXX_STANDARD_LIBRARIES=-ltag \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
+ -DCMAKE_BUILD_TYPE=Release ../src
make
make install DESTDIR=$PKG
cd ..
@@ -103,7 +99,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGELOG COPYING INSTALL README \
+ src/CHANGELOG src/COPYING src/INSTALL src/README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/soundkonverter/soundkonverter.info b/audio/soundkonverter/soundkonverter.info
index 72e4186762e17..3c928b309e3bb 100644
--- a/audio/soundkonverter/soundkonverter.info
+++ b/audio/soundkonverter/soundkonverter.info
@@ -1,8 +1,8 @@
PRGNAM="soundkonverter"
-VERSION="2.2.2"
+VERSION="3.0.1"
HOMEPAGE="https://github.com/dfaust/soundkonverter"
-DOWNLOAD="https://github.com/dfaust/soundkonverter/archive/v2.2.2/soundkonverter-2.2.2.tar.gz"
-MD5SUM="fd2dfac2d7e134caeba857b340c27715"
+DOWNLOAD="https://github.com/dfaust/soundkonverter/archive/v3.0.1/soundkonverter-3.0.1.tar.gz"
+MD5SUM="cf283636b9d5fb8553afe71c0d07b384"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""