summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-13 12:40:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-04-13 12:40:31 +0700
commit75e57175eb316209d83f798262a16f758b46776f (patch)
tree2eb2305a1e5284b27a333cc5f6cb9b44d23bb6f0 /multimedia
parent70a2d073ba5b758889615c2ebfe4dde8eb32ac07 (diff)
downloadslackbuilds-75e57175eb316209d83f798262a16f758b46776f.tar.gz
multimedia/mscore: Updated for version 2.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mscore/README2
-rw-r--r--multimedia/mscore/mscore.SlackBuild29
-rw-r--r--multimedia/mscore/mscore.info8
3 files changed, 16 insertions, 23 deletions
diff --git a/multimedia/mscore/README b/multimedia/mscore/README
index 94dfdd6163..ebee50cb2a 100644
--- a/multimedia/mscore/README
+++ b/multimedia/mscore/README
@@ -8,4 +8,4 @@ program, licenced under GNU GPL. Features:
* import and export of MusicXml and standard midifiles (SMF)
* platform independent code for Linux, Windows and Mac
-jack-audio-connection-kit and portaudio are optional dependencies.
+portaudio is optional dependency
diff --git a/multimedia/mscore/mscore.SlackBuild b/multimedia/mscore/mscore.SlackBuild
index d9aa52457f..2a8459fae4 100644
--- a/multimedia/mscore/mscore.SlackBuild
+++ b/multimedia/mscore/mscore.SlackBuild
@@ -3,7 +3,8 @@
# Maintained by Klaatu at memeber.fsf dot org
PRGNAM=mscore
-VERSION=${VERSION:-1.3}
+SRCNAM=MuseScore
+VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,9 +26,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+unzip $CWD/$SRCNAM-$VERSION.zip
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -51,29 +52,21 @@ else
LIBDIRSUFFIX=""
fi
-# touchup the .desktop file
-sed -i \
- -e '/^Categories/s|=.*|=Application;Qt;AudioVideo;|' \
- -e 's|true|false|' ./$PRGNAM/packaging/mscore.desktop
-
make release PREFIX=/usr CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" LDFLAGS="-pthread"
make install PREFIX=/usr DESTDIR=$PKG
-# include the icon file
-install -D -m 0644 ./$PRGNAM/packaging/mscore.desktop \
- $PKG/usr/share/applications/mscore.desktop
-install -D -m 0644 ./$PRGNAM/mscore/data/mscore.xpm \
- $PKG/usr/share/pixmaps/mscore.xpm
-
mkdir -p $PKG/usr/man/man1
-gzip -9c ./$PRGNAM/packaging/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+mv $PKG/usr/share/man/* $PKG/usr/man/man1
+rm -rf $PKG/usr/share/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
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a ./$PRGNAM/{ChangeLog,COPYING,NEWS,README,README.scripts} \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a LICENSE.* README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/multimedia/mscore/mscore.info b/multimedia/mscore/mscore.info
index 64073ff211..9c948b204f 100644
--- a/multimedia/mscore/mscore.info
+++ b/multimedia/mscore/mscore.info
@@ -1,10 +1,10 @@
PRGNAM="mscore"
-VERSION="1.3"
+VERSION="2.0.2"
HOMEPAGE="http://www.musescore.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/mscore/mscore/MuseScore-1.3/mscore-1.3.tar.bz2"
-MD5SUM="e5fde2bef0d40ee7542e1f515a3919d1"
+DOWNLOAD="https://sourceforge.net/projects/mscore/files/mscore/MuseScore-2.0.2/MuseScore-2.0.2.zip"
+MD5SUM="146fe596c42d2038bbb615f09c632a11"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5 jack2 lame"
MAINTAINER="Klaatu"
EMAIL="klaatu@member.fsf.org"