From c155e32e6ace768c3f71046cd7540dcf69d1b8b8 Mon Sep 17 00:00:00 2001 From: dacianf Date: Fri, 9 Dec 2016 00:00:06 +0200 Subject: [PATCH] Add recipe for musescore (#919) (GCI Task) --- .../musescore/musescore-3.0.0_git.recipe | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 media-sound/musescore/musescore-3.0.0_git.recipe diff --git a/media-sound/musescore/musescore-3.0.0_git.recipe b/media-sound/musescore/musescore-3.0.0_git.recipe new file mode 100644 index 000000000..244715a81 --- /dev/null +++ b/media-sound/musescore/musescore-3.0.0_git.recipe @@ -0,0 +1,71 @@ +SUMMARY="An open source and free music notation software" +DESCRIPTION="This application is used for creating, playing and printing beautiful sheet music" +HOMEPAGE="https://musescore.org/" +COPYRIGHT="2002-2015 Werner Schweer and others" +LICENSE="GNU GPL v2" +REVISION="1" +srcGitRev="8d8ceee1bd208cb2478b91d13ef843bc0980be7b" +SOURCE_URI="https://github.com/musescore/MuseScore/archive/$srcGitRev.zip" +CHECKSUM_SHA256="0acf4de2752603595a0943e1d5fa267565df3c7c536a1d4637db6bccd3c0faf5" +SOURCE_DIR="MuseScore-$srcGitRev" +PATCHES="musescore-$portVersion.patchset" + +ARCHITECTURES="!x86_gcc2 x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + musescore$secondaryArchSuffix = $portVersion + cmd:mscore + cmd:musescore + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libGL$secondaryArchSuffix + lib:libmp3lame$secondaryArchSuffix + lib:libogg$secondaryArchSuffix + lib:libQt5$secondaryArchSuffix + lib:libQt5Core$secondaryArchSuffix + lib:libQt5Designer$secondaryArchSuffix + lib:libQt5Gui$secondaryArchSuffix + lib:libQt5Network$secondaryArchSuffix + lib:libQt5Quick$secondaryArchSuffix + lib:libQt5Test$secondaryArchSuffix + lib:libQt5Xml$secondaryArchSuffix + lib:libsndfile$secondaryArchSuffix + lib:libvorbis$secondaryArchSuffix + lib:libz$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libGL$secondaryArchSuffix + devel:libmp3lame$secondaryArchSuffix + devel:libogg$secondaryArchSuffix + devel:libQt5$secondaryArchSuffix + devel:libQt5Core$secondaryArchSuffix + devel:libQt5Designer$secondaryArchSuffix + devel:libQt5Gui$secondaryArchSuffix + devel:libQt5Network$secondaryArchSuffix + devel:libQt5Quick$secondaryArchSuffix + devel:libQt5Test$secondaryArchSuffix + devel:libQt5Xml$secondaryArchSuffix + devel:libsndfile$secondaryArchSuffix + devel:libvorbis$secondaryArchSuffix + devel:libz$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:gcc$secondaryArchSuffix + cmd:getconf + cmd:make + " +BUILD() +{ + make release PREFIX=$prefix UPDATE_CACHE=FALSE +} + +INSTALL() +{ + make install PREFIX=$prefix UPDATE_CACHE=FALSE + mv $prefix/share $prefix/data +}