summaryrefslogtreecommitdiffstats
path: root/audio/muse
diff options
context:
space:
mode:
Diffstat (limited to 'audio/muse')
-rw-r--r--audio/muse/README6
-rw-r--r--audio/muse/muse.SlackBuild23
-rw-r--r--audio/muse/muse.info8
3 files changed, 23 insertions, 14 deletions
diff --git a/audio/muse/README b/audio/muse/README
index 232eb66968..9930502f1b 100644
--- a/audio/muse/README
+++ b/audio/muse/README
@@ -4,6 +4,10 @@ the MusE development team. MusE aims to be a complete multitrack
virtual studio for Linux, it is published under the GNU General Public
License.
-Optional dependencies are fluidsynth, dssi and lash.
+Optional dependencies are fluidsynth, lash and lilv.
To start MusE, the user has to be in the "audio" group.
+
+NOTE: it seems like native vst support is broken on x86 so we
+disable it on this platform: vst plugins on x86 can still be used
+through the optional dependency dssi-vst.
diff --git a/audio/muse/muse.SlackBuild b/audio/muse/muse.SlackBuild
index 833fd3ba30..90dffd9086 100644
--- a/audio/muse/muse.SlackBuild
+++ b/audio/muse/muse.SlackBuild
@@ -5,13 +5,13 @@
# Written by Felix Pfeifer pfeifer[dot]felix[at]googlemail[dot]com
PRGNAM=muse
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-3.0pre2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -36,6 +36,9 @@ else
LIBDIRSUFFIX=""
fi
+native_vst=""
+[ "$ARCH" = "i586" ] && native_vst="-DENABLE_VST_NATIVE=0 -DENABLE_VST_VESTIGE=0"
+
set -e
rm -rf $PKG
@@ -46,19 +49,21 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$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 {} \;
+echo $native_vst
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -fpermissive" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DENABLE_PYTHON:STRING="ON" \
+ $native_vst \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/audio/muse/muse.info b/audio/muse/muse.info
index f72af27286..c4baf66135 100644
--- a/audio/muse/muse.info
+++ b/audio/muse/muse.info
@@ -1,10 +1,10 @@
PRGNAM="muse"
-VERSION="2.1.2"
+VERSION="3.0pre2"
HOMEPAGE="http://muse-sequencer.org/"
-DOWNLOAD="http://downloads.sf.net/lmuse/muse-2.1.2.tar.gz"
-MD5SUM="ad917335ac05a3d62e3cd073af901001"
+DOWNLOAD="http://downloads.sf.net/lmuse/muse-3.0pre2.tar.gz"
+MD5SUM="9737152b13ff90959507890ed1491bfa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jack-audio-connection-kit ladspa_sdk liblo"
+REQUIRES="dssi jack-audio-connection-kit ladspa_sdk liblo qt5"
MAINTAINER="Felix Pfeifer"
EMAIL="pfeifer[dot]felix[at]googlemail[dot]com"