mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
audio/muse: Updated for version 2.0
Also added the optional dependency lash. Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
5e4bf88eb6
commit
8166c80745
3 changed files with 23 additions and 20 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue