# HG changeset patch # User Christopher Rogers # Date 1299625158 0 # Node ID e3caaec13bfbd5db2f7038fc5c76403a88b0f3cc # Parent 94abe46173123fba413ffa0acd3595d59a50a0d6 Up: mscore to 1.0. diff -r 94abe4617312 -r e3caaec13bfb mscore/receipt --- a/mscore/receipt Tue Mar 08 22:55:07 2011 +0000 +++ b/mscore/receipt Tue Mar 08 22:59:18 2011 +0000 @@ -1,27 +1,26 @@ # SliTaz package receipt. PACKAGE="mscore" -VERSION="0.9.4" +VERSION="1.0" CATEGORY="multimedia" SHORT_DESC="a WYSIWYG music notation program" MAINTAINER="allan316@gmail.com" -DEPENDS="libQtCore libQtGui libQtDesigner libQtScript libQtNetwork libQtSvg \ -libQtXml portaudio alsa-lib Qt4-dev libssl libcrypto" -BUILD_DEPENDS="cmake Qt4-dev portaudio-dev alsa-lib-dev" -TARBALL="$PACKAGE-$VERSION.tar.bz2" +DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork libQtSvg \ +libQtXml portaudio libsndfile alsa-lib libssl libcrypto" +BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev" +SOURCE="MuseScore" +TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://musescore.org" -WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/mscore/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src + export QT_PLUGINS_DIR=/usr/lib/qt/plugins sed -i "s/usr\/local/usr/" Makefile - sed -i "s/BUILD_SCRIPT_INTERFACE TRUE/BUILD_SCRIPT_INTERFACE FALSE/" mscore/CMakeLists.txt - sed -i "s/BUILD_SCRIPT_DEBUG TRUE/BUILD_SCRIPT_DEBUG FALSE/" mscore/CMakeLists.txt - sed -i "s/STATIC_SCRIPT_BINDINGS FALSE/STATIC_SCRIPT_BINDINGS FALSE/" mscore/CMakeLists.txt - make clean - make && make DESTDIR=$PWD/_pkg install + [ -d build ] && make clean + make -j1 PREFIX=/usr release && make -j1 install } # Rules to gen a SliTaz package suitable for Tazpkg.