diff options
author | Gergely Nagy <ngg@ngg.hu> | 2016-12-01 09:19:02 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-04 12:14:59 +0200 |
commit | 6c98e82351a62eb5942102510ce8cb3ff1a09fa8 (patch) | |
tree | 48b759a5b4dde19753bc968b3a669b5b206449d0 /media-sound/musescore/musescore-9999.ebuild | |
parent | dev-python/nbformat: Version bump to 4.2.0 (diff) | |
download | gentoo-6c98e82351a62eb5942102510ce8cb3ff1a09fa8.tar.gz gentoo-6c98e82351a62eb5942102510ce8cb3ff1a09fa8.tar.bz2 gentoo-6c98e82351a62eb5942102510ce8cb3ff1a09fa8.zip |
media-sound/musescore: Add live ebuild.
Closes: https://github.com/gentoo/gentoo/pull/2966
Diffstat (limited to 'media-sound/musescore/musescore-9999.ebuild')
-rw-r--r-- | media-sound/musescore/musescore-9999.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/media-sound/musescore/musescore-9999.ebuild b/media-sound/musescore/musescore-9999.ebuild new file mode 100644 index 000000000000..1f1ccd980ff9 --- /dev/null +++ b/media-sound/musescore/musescore-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils git-r3 + +DESCRIPTION="WYSIWYG Music Score Typesetter" +HOMEPAGE="http://musescore.org/" +EGIT_REPO_URI="git://github.com/musescore/MuseScore.git" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="alsa debug jack mp3 portaudio pulseaudio" + +RDEPEND=" + dev-qt/designer:5 + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qthelp:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwebengine:5[widgets] + dev-qt/qtwebkit:5 + dev-qt/qtxmlpatterns:5 + >=media-libs/freetype-2.5.2 + media-libs/libsndfile + sys-libs/zlib + alsa? ( >=media-libs/alsa-lib-1.0.0 ) + jack? ( media-sound/jack-audio-connection-kit ) + mp3? ( media-sound/lame ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-sound/pulseaudio ) + " +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5 + virtual/pkgconfig + " +PATCHES=( + "${FILESDIR}/${P}-fix-buildsystem.patch" +) + +src_configure() { + local mycmakeargs=( + -DBUILD_ALSA="$(usex alsa)" + -DBUILD_JACK="$(usex jack)" + -DBUILD_LAME="$(usex mp3)" + -DBUILD_PORTAUDIO="$(usex portaudio)" + -DBUILD_PULSEAUDIO="$(usex pulseaudio)" + ) + cmake-utils_src_configure +} + +src_compile() { + cd "${BUILD_DIR}" || die + cmake-utils_src_make -j1 lrelease manpages + cmake-utils_src_compile +} |