mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
multimedia/mscore: Updated for version 2.0.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
70a2d073ba
commit
75e57175eb
3 changed files with 16 additions and 23 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue