wok annotate mscore/receipt @ rev 25576

Up nimrod (1.6.12)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 13 17:57:27 2023 +0000 (19 months ago)
parents afae00265386
children d3556b8f5c3d
rev   line source
allan316@3199 1 # SliTaz package receipt.
allan316@3199 2
allan316@3199 3 PACKAGE="mscore"
monghitri@13992 4 VERSION="1.2"
allan316@3199 5 CATEGORY="multimedia"
allan316@3199 6 SHORT_DESC="a WYSIWYG music notation program"
allan316@3199 7 MAINTAINER="allan316@gmail.com"
pascal@15583 8 LICENSE="GPL2"
slaxemulator@9183 9 SOURCE="MuseScore"
monghitri@13992 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 11 WEB_SITE="https://musescore.org"
slaxemulator@9183 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
allan316@3199 13
pascal@19586 14 DEPENDS="libQtCore libQtGui libQtDesigner libQtScriptTools libQtNetwork \
pascal@19586 15 libQtSvg libQtXml portaudio libsndfile alsa-lib libssl libcrypto"
pascal@19586 16 BUILD_DEPENDS="cmake doxygen qmake Qt4-dev portaudio-dev alsa-lib-dev \
pascal@19586 17 libsndfile-dev freetype-dev"
pascal@15583 18
pascal@24402 19 # What is the latest version available today?
pascal@24402 20 current_version()
pascal@24402 21 {
pascal@24402 22 wget -O - https://sourceforge.net/projects/mscore/files/mscore/ 2>/dev/null | \
pascal@24402 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24626 24 sed '/scope="row/!d;s|.*Score-||;s|\.[a-z]*/.*||;q'
pascal@24402 25 }
pascal@24402 26
allan316@3199 27 # Rules to configure and make the package.
allan316@3199 28 compile_rules()
allan316@3199 29 {
pascal@17670 30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
slaxemulator@9183 31 export QT_PLUGINS_DIR=/usr/lib/qt/plugins
allan316@3199 32 sed -i "s/usr\/local/usr/" Makefile
slaxemulator@9183 33 [ -d build ] && make clean
slaxemulator@9183 34 make -j1 PREFIX=/usr release && make -j1 install
allan316@3199 35 }
allan316@3199 36
allan316@3199 37 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3199 38 genpkg_rules()
allan316@3199 39 {
allan316@3199 40 mkdir -p $fs/usr
pascal@15110 41 cp -a $install/usr/bin $fs/usr
pascal@15110 42 cp -a $install/usr/lib $fs/usr
pascal@15110 43 cp -a $install/usr/share $fs/usr
allan316@3199 44 }