wok-stable rev 9183
Up: mscore to 1.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 08 22:59:18 2011 +0000 (2011-03-08) |
parents | 94abe4617312 |
children | c245fd111ef9 |
files | mscore/receipt |
line diff
1.1 --- a/mscore/receipt Tue Mar 08 22:55:07 2011 +0000 1.2 +++ b/mscore/receipt Tue Mar 08 22:59:18 2011 +0000 1.3 @@ -1,27 +1,26 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mscore" 1.7 -VERSION="0.9.4" 1.8 +VERSION="1.0" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="a WYSIWYG music notation program" 1.11 MAINTAINER="allan316@gmail.com" 1.12 -DEPENDS="libQtCore libQtGui libQtDesigner libQtScript libQtNetwork libQtSvg \ 1.13 -libQtXml portaudio alsa-lib Qt4-dev libssl libcrypto" 1.14 -BUILD_DEPENDS="cmake Qt4-dev portaudio-dev alsa-lib-dev" 1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 +DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \ 1.17 +libQtXml portaudio libsndfile alsa-lib libssl libcrypto" 1.18 +BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev" 1.19 +SOURCE="MuseScore" 1.20 +TARBALL="$SOURCE-$VERSION.tar.bz2" 1.21 WEB_SITE="http://musescore.org" 1.22 -WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/mscore/$TARBALL" 1.23 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 cd $src 1.29 + export QT_PLUGINS_DIR=/usr/lib/qt/plugins 1.30 sed -i "s/usr\/local/usr/" Makefile 1.31 - sed -i "s/BUILD_SCRIPT_INTERFACE TRUE/BUILD_SCRIPT_INTERFACE FALSE/" mscore/CMakeLists.txt 1.32 - sed -i "s/BUILD_SCRIPT_DEBUG TRUE/BUILD_SCRIPT_DEBUG FALSE/" mscore/CMakeLists.txt 1.33 - sed -i "s/STATIC_SCRIPT_BINDINGS FALSE/STATIC_SCRIPT_BINDINGS FALSE/" mscore/CMakeLists.txt 1.34 - make clean 1.35 - make && make DESTDIR=$PWD/_pkg install 1.36 + [ -d build ] && make clean 1.37 + make -j1 PREFIX=/usr release && make -j1 install 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg.