summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorZbigniew Baniewski <Zbigniew [dot] Baniewski [at] gmail [dot] com>2022-10-13 22:29:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-15 10:47:29 +0700
commit68ea7c6a9752a81283e8658937e4001c2baefdda (patch)
treeaddd1b458355345be75ee6b1a94746b6ea582e66 /audio
parentf1da1e806025e78f3cdb1c65ad210b2acd88cde4 (diff)
downloadslackbuilds-68ea7c6a9752a81283e8658937e4001c2baefdda.tar.gz
audio/qtractor: Updated for version 0.9.29.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/qtractor/qtractor.SlackBuild42
-rw-r--r--audio/qtractor/qtractor.info6
2 files changed, 30 insertions, 18 deletions
diff --git a/audio/qtractor/qtractor.SlackBuild b/audio/qtractor/qtractor.SlackBuild
index fcef598b0c..1f01d90d1c 100644
--- a/audio/qtractor/qtractor.SlackBuild
+++ b/audio/qtractor/qtractor.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qtractor
-VERSION=${VERSION:-0.9.23}
+VERSION=${VERSION:-0.9.29}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,28 +79,40 @@ 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 {} \;
-LDFLAGS="$LDFLAGS -ldl" \
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+#LDFLAGS="$LDFLAGS -ldl" \
+#CFLAGS="$SLKCFLAGS" \
+#CXXFLAGS="$SLKCFLAGS" \
+#./configure \
+# --prefix=/usr \
+# --libdir=/usr/lib${LIBDIRSUFFIX} \
+# --sysconfdir=/etc \
+# --localstatedir=/var \
+# --mandir=/usr/man \
+# --build=$ARCH-slackware-linux
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPluginLibDir=/usr/lib$LIBDIRSUFFIX \
+ -DCMAKE_BUILD_TYPE=Release \
+ -Wno-dev \
+ ..
+ make
+ make install/strip DESTDIR=$PKG
+cd ..
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
+#mkdir -p $PKG/usr/man
+mv $PKG/usr/share/man $PKG/usr
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 README>VST TODO ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE README TRANSLATORS README.VST3 README.VST ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/audio/qtractor/qtractor.info b/audio/qtractor/qtractor.info
index b9447c1be7..5346551052 100644
--- a/audio/qtractor/qtractor.info
+++ b/audio/qtractor/qtractor.info
@@ -1,8 +1,8 @@
PRGNAM="qtractor"
-VERSION="0.9.23"
+VERSION="0.9.29"
HOMEPAGE="http://qtractor.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/qtractor/qtractor-0.9.23.tar.gz"
-MD5SUM="27fdf20cfac69e68c3ec58222671cba4"
+DOWNLOAD="https://jztkft.dl.sourceforge.net/project/qtractor/qtractor/0.9.29/qtractor-0.9.29.tar.gz"
+MD5SUM="d78752f77bd39465718c679c13e6382b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack ladspa_sdk"