wok diff mscore/receipt @ rev 10513
libmtp: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 15:52:53 2011 +0200 (2011-05-25) |
parents | 5b44af8c1257 |
children | 61bbb7e1c9de |
line diff
1.1 --- a/mscore/receipt Sun Feb 28 16:38:48 2010 +0100 1.2 +++ b/mscore/receipt Wed May 25 15:52:53 2011 +0200 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.