summaryrefslogtreecommitdiff
path: root/audio/lmms
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-19 21:55:25 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:40:53 -0500
commitf199099a2d59a75c6516a2d57120266ad78f67a8 (patch)
treed879f5d30c27d078e456714a924b8b476479282e /audio/lmms
parent5cfe53ebfc88debe16441b8125aa263536dbd683 (diff)
downloadslackbuilds-f199099a2d59a75c6516a2d57120266ad78f67a8.tar.gz
audio/lmms: Fix build on x86_64
Thanks to David Somero for the heads-up and fix. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'audio/lmms')
-rw-r--r--audio/lmms/README2
-rw-r--r--audio/lmms/lmms.SlackBuild3
2 files changed, 4 insertions, 1 deletions
diff --git a/audio/lmms/README b/audio/lmms/README
index fcdb1aa0c8..93086aa5c3 100644
--- a/audio/lmms/README
+++ b/audio/lmms/README
@@ -3,3 +3,5 @@ Studio, which allow you to produce music with your computer. This includes
the creation of melodies and beats, the synthesis and mixing of sounds, and
arranging of samples. You can have fun with your MIDI-keyboard and much
more; all in a user-friendly and modern interface.
+
+jack-audio-connection-kit, portaudio, pulseaudio, fluidsynth are optional.
diff --git a/audio/lmms/lmms.SlackBuild b/audio/lmms/lmms.SlackBuild
index 3282a6ab7f..ead56470a0 100644
--- a/audio/lmms/lmms.SlackBuild
+++ b/audio/lmms/lmms.SlackBuild
@@ -52,14 +52,15 @@ 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 \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
..
make VERBOSE=1