summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-13 18:30:08 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-13 17:56:49 -0500
commit8166c80745f927ac4d2e78ea2bab5b0c39c4ba70 (patch)
treec50e204c02c4344abb8874a36b1bf7b93e741948 /audio
parent5e4bf88eb64916d89d3eff61348e17f58c39b08d (diff)
downloadslackbuilds-8166c80745f927ac4d2e78ea2bab5b0c39c4ba70.tar.gz
audio/muse: Updated for version 2.0
Also added the optional dependency lash. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r--audio/muse/README2
-rw-r--r--audio/muse/muse.SlackBuild33
-rw-r--r--audio/muse/muse.info8
3 files changed, 23 insertions, 20 deletions
diff --git a/audio/muse/README b/audio/muse/README
index 07a2ed1b6f..232eb66968 100644
--- a/audio/muse/README
+++ b/audio/muse/README
@@ -4,6 +4,6 @@ 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 and dssi.
+Optional dependencies are fluidsynth, dssi and lash.
To start MusE, the user has to be in the "audio" group.
diff --git a/audio/muse/muse.SlackBuild b/audio/muse/muse.SlackBuild
index 06bee0dd78..0cb56bc0a5 100644
--- a/audio/muse/muse.SlackBuild
+++ b/audio/muse/muse.SlackBuild
@@ -5,7 +5,7 @@
# Written by Felix Pfeifer pfeifer[dot]felix[at]googlemail[dot]com
PRGNAM=muse
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,26 +51,29 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install DESTDIR=$PKG
+mkdir -p build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DENABLE_PYTHON:STRING="ON" \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+mv $PKG/usr/share/man $PKG/usr/man
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README* SECURITY \
+ AUTHORS COPYING ChangeLog NEWS README* SECURITY \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/muse/muse.info b/audio/muse/muse.info
index 4ea7974b2c..e94ece66de 100644
--- a/audio/muse/muse.info
+++ b/audio/muse/muse.info
@@ -1,10 +1,10 @@
PRGNAM="muse"
-VERSION="1.1"
+VERSION="2.0"
HOMEPAGE="http://muse-sequencer.org/"
-DOWNLOAD="http://downloads.sourceforge.net/lmuse/muse-1.1.tar.gz"
-MD5SUM="ddbba9b8b92948643e5e2013910c5c6e"
+DOWNLOAD="http://downloads.sourceforge.net/lmuse/muse-2.0.tar.gz"
+MD5SUM="7338b9db1d7fb12f8310dced0dbd0572"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt3 jack-audio-connection-kit"
+REQUIRES="jack-audio-connection-kit"
MAINTAINER="Felix Pfeifer"
EMAIL="pfeifer[dot]felix[at]googlemail[dot]com"