summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2022-02-28 14:48:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-01 19:35:36 +0700
commit5a59a7a75cf1691ce6a6330242655788f52d0bd4 (patch)
tree9134e167c8699c391dc1610c4c9cc856826c61a6
parentcd022eef9db7a0b8ee7a8d0fd809dcce7b8cd2d4 (diff)
downloadslackbuilds-5a59a7a75cf1691ce6a6330242655788f52d0bd4.tar.gz
audio/zynaddsubfx: Updated for version 3.0.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/zynaddsubfx/zynaddsubfx.SlackBuild20
-rw-r--r--audio/zynaddsubfx/zynaddsubfx.info6
2 files changed, 9 insertions, 17 deletions
diff --git a/audio/zynaddsubfx/zynaddsubfx.SlackBuild b/audio/zynaddsubfx/zynaddsubfx.SlackBuild
index 8453b3d5be..9e37de1c84 100644
--- a/audio/zynaddsubfx/zynaddsubfx.SlackBuild
+++ b/audio/zynaddsubfx/zynaddsubfx.SlackBuild
@@ -4,7 +4,7 @@
# Written by Arik Miller
# Modified by SlackBuilds.org
-# Copyright 2020 Johannes Schoepfer, Germany
+# Copyright 2020 - 2022 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zynaddsubfx
-VERSION=${VERSION:-3.0.5}
+VERSION=${VERSION:-3.0.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -40,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -86,23 +83,18 @@ sed -i \
-e '/add_subdirectory(bash-completion)/d' \
doc/CMakeLists.txt
-# doc needs asciidoctor, see workaround below
-sed -i \
- -e '/add_subdirectory(doc)/d' \
- CMakeLists.txt
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DPluginLibDir=/usr/lib$LIBDIRSUFFIX \
-DCMAKE_BUILD_TYPE=Release \
+ -Wno-dev \
..
make
- make install DESTDIR=$PKG
+ make install/strip DESTDIR=$PKG
cd ..
mkdir -p $PKG/usr/share/icons/hicolor/scalable/apps/
@@ -135,9 +127,9 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- COPYING ChangeLog TODO* doc/images doc/zynaddsubfx.html \
+ NEWS.txt doc/images doc/zynaddsubfx.html \
$PKG/usr/doc/$PRGNAM-$VERSION
- mv $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
+ cp -a $PKG/usr/share/doc/$PRGNAM/* $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/zynaddsubfx/zynaddsubfx.info b/audio/zynaddsubfx/zynaddsubfx.info
index 07c5841795..f4b4c8d3be 100644
--- a/audio/zynaddsubfx/zynaddsubfx.info
+++ b/audio/zynaddsubfx/zynaddsubfx.info
@@ -1,8 +1,8 @@
PRGNAM="zynaddsubfx"
-VERSION="3.0.5"
+VERSION="3.0.6"
HOMEPAGE="https://zynaddsubfx.sourceforge.io/"
-DOWNLOAD="https://sourceforge.net/projects/zynaddsubfx/files/zynaddsubfx/3.0.5/zynaddsubfx-3.0.5.tar.bz2"
-MD5SUM="6a4b03064f64c228e2d6f4b5aef32244"
+DOWNLOAD="https://sourceforge.net/projects/zynaddsubfx/files/zynaddsubfx/3.0.6/zynaddsubfx-3.0.6.tar.bz2"
+MD5SUM="62b6a152f941d76a92797add760b3de9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="fltk liblo mxml"