summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-18 20:28:47 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-18 22:54:30 -0500
commit85870168a1ef92a717875cc287ada4e33083e3ee (patch)
tree5e06bb53c5d6513c1e8e464ec1ece096fef2ecb2
parent20a0e1683a1597cd1581efb387194d97ce5a6913 (diff)
downloadslackbuilds-85870168a1ef92a717875cc287ada4e33083e3ee.tar.gz
audio/lmms: Updated for version 0.4.13.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--audio/lmms/lmms-unlink.patch10
-rw-r--r--audio/lmms/lmms.SlackBuild5
-rw-r--r--audio/lmms/lmms.info6
3 files changed, 17 insertions, 4 deletions
diff --git a/audio/lmms/lmms-unlink.patch b/audio/lmms/lmms-unlink.patch
new file mode 100644
index 0000000000..6b2521f557
--- /dev/null
+++ b/audio/lmms/lmms-unlink.patch
@@ -0,0 +1,10 @@
+--- lmms-0.4.13_orig/plugins/zynaddsubfx/LocalZynAddSubFx.cpp 2012-04-08 13:01:25.951925761 +0200
++++ lmms-0.4.13_test/plugins/zynaddsubfx/LocalZynAddSubFx.cpp 2012-04-08 13:08:32.841905201 +0200
+@@ -23,6 +23,7 @@
+ */
+
+ #include <lmmsconfig.h>
++#include <unistd.h>
+
+ #include "LocalZynAddSubFx.h"
+
diff --git a/audio/lmms/lmms.SlackBuild b/audio/lmms/lmms.SlackBuild
index 5c6983d193..3282a6ab7f 100644
--- a/audio/lmms/lmms.SlackBuild
+++ b/audio/lmms/lmms.SlackBuild
@@ -3,9 +3,10 @@
# Slackware build script for lmms
# Written by Zbigniew Baniewski, zb@ispid.com.pl
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=lmms
-VERSION=0.4.8
+VERSION=${VERSION:-0.4.13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,6 +52,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
+patch -p1 < $CWD/lmms-unlink.patch
mkdir build
cd build
cmake \
diff --git a/audio/lmms/lmms.info b/audio/lmms/lmms.info
index 7fa87b8836..6dd18788f9 100644
--- a/audio/lmms/lmms.info
+++ b/audio/lmms/lmms.info
@@ -1,8 +1,8 @@
PRGNAM="lmms"
-VERSION="0.4.8"
+VERSION="0.4.13"
HOMEPAGE="http://lmms.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/lmms/lmms-0.4.8.tar.bz2"
-MD5SUM="8573b8376808c77c058cca3a57a36d8d"
+DOWNLOAD="http://downloads.sourceforge.net/lmms/lmms-0.4.13.tar.bz2"
+MD5SUM="80db0dc5263041d443f474220410991f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""