diff options
author | David Seifert <soap@gentoo.org> | 2016-02-01 22:40:53 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-02-01 22:41:11 +0100 |
commit | 383c52554a26590807989904dc0ac96107f2654d (patch) | |
tree | bac015e1283478b0fb8b3a94ad03c6d4c1f7bd94 /media-sound/musescore/musescore-2.0.2-r1.ebuild | |
parent | Revert "app-i18n/ibus: cleanup old versions"; this broke the deptree (diff) | |
download | gentoo-383c52554a26590807989904dc0ac96107f2654d.tar.gz gentoo-383c52554a26590807989904dc0ac96107f2654d.tar.bz2 gentoo-383c52554a26590807989904dc0ac96107f2654d.zip |
media-sound/musescore: Add dev-qt/qtprintsupport dependency
Gentoo-Bug: 569046
* EAPI=6
* Add USE="mp3" and USE="jack" flags and make them optional
* Fixed QA warnings due to incorrect .desktop file
* Removed hard-coded CXXFLAGS
* Removed setting RELEASE/DEBUG build, use Gentoo build type
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-sound/musescore/musescore-2.0.2-r1.ebuild')
-rw-r--r-- | media-sound/musescore/musescore-2.0.2-r1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/media-sound/musescore/musescore-2.0.2-r1.ebuild b/media-sound/musescore/musescore-2.0.2-r1.ebuild new file mode 100644 index 000000000000..a5d88c623a51 --- /dev/null +++ b/media-sound/musescore/musescore-2.0.2-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils flag-o-matic + +DESCRIPTION="WYSIWYG Music Score Typesetter" +HOMEPAGE="http://musescore.org/" +SRC_URI="https://github.com/musescore/MuseScore/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="audiofile debug jack mp3 portaudio pulseaudio" + +RDEPEND=" + >=dev-qt/qtconcurrent-5.3.0:5 + >=dev-qt/qtcore-5.3.0:5 + >=dev-qt/qtdeclarative-5.3.0:5 + >=dev-qt/qtgui-5.3.0:5 + >=dev-qt/qthelp-5.3.0:5 + >=dev-qt/qtprintsupport-5.3.0:5 + >=dev-qt/qtsvg-5.3.0:5 + >=dev-qt/qtwebkit-5.3.0:5 + >=dev-qt/qtxmlpatterns-5.3.0:5 + >=media-libs/alsa-lib-1.0.0 + >=media-libs/freetype-2.5.2 + sys-libs/zlib + audiofile? ( + media-libs/audiofile + media-libs/libsndfile + ) + jack? ( media-sound/jack-audio-connection-kit ) + mp3? ( media-sound/lame ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-sound/pulseaudio ) + " +DEPEND="${RDEPEND} + dev-util/cmake + dev-qt/linguist-tools:5 + virtual/pkgconfig + " +PATCHES=( + "${FILESDIR}/${P}-fix-buildsystem.patch" +) +S="${WORKDIR}/MuseScore-${PV}" + +src_configure() { + local mycmakeargs=( + -DHAVE_audiofile="$(usex audiofile)" + -DBUILD_JACK="$(usex jack)" + -DBUILD_LAME="$(usex mp3)" + -DUSE_portaudio="$(usex portaudio)" + -DUSE_pulseaudio="$(usex pulseaudio)" + ) + cmake-utils_src_configure +} + +src_compile() { + cd "${BUILD_DIR}" || die + cmake-utils_src_make -j1 lrelease manpages + cmake-utils_src_compile +} |