aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorfuzzix <fuzzix@gmail.com>2016-11-06 07:18:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-07 06:10:56 +0700
commit1b9059091eb1318e5f1b0bbd5a1d530bfba22c0b (patch)
tree335a192ad6eca58c137644f960ab6673fa398edd /audio
parent37e7eacfcead765e927dccee11ecbcb6e9291cc4 (diff)
audio/alsamodularsynth: Updated for version 2.1.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/alsamodularsynth/alsamodularsynth.SlackBuild11
-rw-r--r--audio/alsamodularsynth/alsamodularsynth.info6
-rw-r--r--audio/alsamodularsynth/configure.patch11
3 files changed, 20 insertions, 8 deletions
diff --git a/audio/alsamodularsynth/alsamodularsynth.SlackBuild b/audio/alsamodularsynth/alsamodularsynth.SlackBuild
index 36181aa45c9ef..60c79fccb50f0 100644
--- a/audio/alsamodularsynth/alsamodularsynth.SlackBuild
+++ b/audio/alsamodularsynth/alsamodularsynth.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=alsamodularsynth
-VERSION=${VERSION:-2.0.1}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,13 +63,14 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $TARNAM-$VERSION
tar xvf $CWD/$TARNAM-$VERSION.tar.bz2
+patch -p0 < $CWD/configure.patch
cd $TARNAM-$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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/audio/alsamodularsynth/alsamodularsynth.info b/audio/alsamodularsynth/alsamodularsynth.info
index 80d5cbc530a6a..c747d0e58255a 100644
--- a/audio/alsamodularsynth/alsamodularsynth.info
+++ b/audio/alsamodularsynth/alsamodularsynth.info
@@ -1,8 +1,8 @@
PRGNAM="alsamodularsynth"
-VERSION="2.0.1"
+VERSION="2.1.2"
HOMEPAGE="http://alsamodular.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/alsamodular/files/alsamodular/2.0.1/ams-2.0.1.tar.bz2"
-MD5SUM="0d41bd5aac066aa98be45fd7ab12d35f"
+DOWNLOAD="https://sourceforge.net/projects/alsamodular/files/alsamodular/2.1.2/ams-2.1.2.tar.bz2"
+MD5SUM="dfab2bb64da98558273c46675ea9a43f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jack-audio-connection-kit clalsadrv ladspa_sdk"
diff --git a/audio/alsamodularsynth/configure.patch b/audio/alsamodularsynth/configure.patch
new file mode 100644
index 0000000000000..5eb932b67a60f
--- /dev/null
+++ b/audio/alsamodularsynth/configure.patch
@@ -0,0 +1,11 @@
+--- ams-2.1.2/configure.old 2016-11-05 22:20:32.871586260 +0000
++++ ams-2.1.2/configure 2016-11-05 22:20:46.776496504 +0000
+@@ -6360,7 +6360,7 @@
+ #define HAVE_LIBQTOPENGL 1
+ _ACEOF
+
+- LIBS="-lQtOpenGL $LIBS"
++ LIBS=" -lQtOpenGL $LIBS"
+
+ else
+ as_fn_error $? "QtOpenGL is required" "$LINENO" 5