aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-11-27 02:28:10 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-28 07:26:17 +0700
commit04ccb9625f8ea71ae3175919f7fa5a0bd5335d10 (patch)
treeba4368de0256652524247ddaa81b2b2e6390c8ae /audio
parent667ac44ba8065298c71d4fce63aca0c1a1982ef2 (diff)
audio/clam_voice2midi: Fix compile issue.
Diffstat (limited to 'audio')
-rw-r--r--audio/clam_voice2midi/clam_voice2midi.SlackBuild4
-rw-r--r--audio/clam_voice2midi/fix_undelinking.patch2
2 files changed, 4 insertions, 2 deletions
diff --git a/audio/clam_voice2midi/clam_voice2midi.SlackBuild b/audio/clam_voice2midi/clam_voice2midi.SlackBuild
index 752826ae60bae..c4b91051bef69 100644
--- a/audio/clam_voice2midi/clam_voice2midi.SlackBuild
+++ b/audio/clam_voice2midi/clam_voice2midi.SlackBuild
@@ -4,6 +4,8 @@
# Written by B. Watson (yalhcru@gmail.com)
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
PRGNAM=clam_voice2midi
VERSION=${VERSION:-0.3.10}
BUILD=${BUILD:-2}
@@ -67,7 +69,7 @@ patch -p1 < $CWD/fix_undelinking.patch
CCFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \
- scons \
+ scons $MAKEFLAGS \
prefix=/usr \
release=yes \
clam_prefix=/usr
diff --git a/audio/clam_voice2midi/fix_undelinking.patch b/audio/clam_voice2midi/fix_undelinking.patch
index 3818e0074ee38..b84fb1e9d4ec1 100644
--- a/audio/clam_voice2midi/fix_undelinking.patch
+++ b/audio/clam_voice2midi/fix_undelinking.patch
@@ -6,7 +6,7 @@ diff -Naur Voice2MIDI-0.3.10.orig/SConstruct Voice2MIDI-0.3.10/SConstruct
if sys.platform == 'darwin' :
extralinkFlags=['-dynamic','-bind_at_load']
+if sys.platform == 'linux2' :
-+ extralinkFlags=['-lGL']
++ extralinkFlags=['-lGL', '-lpthread']
programs = []
for main in mainSources.items() :