From: Andreas Sturmlechner Date: Tue, 21 Aug 2018 21:12:36 +0000 (+0200) Subject: media-sound/musescore: Add USE vorbis for SoundFont support X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc341340656a5a3cf4e027aac27cbae81292d919;p=gentoo.git media-sound/musescore: Add USE vorbis for SoundFont support Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- diff --git a/media-sound/musescore/metadata.xml b/media-sound/musescore/metadata.xml index 7b2572e3cfb7..f0d90452cf33 100644 --- a/media-sound/musescore/metadata.xml +++ b/media-sound/musescore/metadata.xml @@ -11,6 +11,7 @@ Enable support for building against media-libs/portmidi + Enable SoundFont support using media-libs/libvorbis Use dev-qt/qtwebengine for embedded web browser diff --git a/media-sound/musescore/musescore-2.1.0-r1.ebuild b/media-sound/musescore/musescore-2.1.0-r1.ebuild index 55ee51119b6b..6abacb371c48 100644 --- a/media-sound/musescore/musescore-2.1.0-r1.ebuild +++ b/media-sound/musescore/musescore-2.1.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/musescore/MuseScore/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio" +IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio vorbis" REQUIRED_USE="portmidi? ( portaudio )" RDEPEND=" @@ -39,6 +39,7 @@ RDEPEND=" portaudio? ( media-libs/portaudio ) portmidi? ( media-libs/portmidi ) pulseaudio? ( media-sound/pulseaudio ) + vorbis? ( media-libs/libvorbis ) " DEPEND="${RDEPEND} dev-qt/linguist-tools:5 @@ -64,6 +65,7 @@ src_configure() { -DBUILD_PORTAUDIO="$(usex portaudio)" -DBUILD_PORTMIDI="$(usex portmidi)" -DBUILD_PULSEAUDIO="$(usex pulseaudio)" + -DBUILD_SOUNDFONT3="$(usex vorbis)" ) cmake-utils_src_configure } diff --git a/media-sound/musescore/musescore-9999.ebuild b/media-sound/musescore/musescore-9999.ebuild index 349cdba45b26..3584ef02b7f2 100644 --- a/media-sound/musescore/musescore-9999.ebuild +++ b/media-sound/musescore/musescore-9999.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}-fix-buildsystem.patch.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio webengine" +IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio vorbis webengine" REQUIRED_USE="portmidi? ( portaudio )" RDEPEND=" @@ -38,6 +38,7 @@ RDEPEND=" portaudio? ( media-libs/portaudio ) portmidi? ( media-libs/portmidi ) pulseaudio? ( media-sound/pulseaudio ) + vorbis? ( media-libs/libvorbis ) webengine? ( dev-qt/qtwebengine:5[widgets] ) " DEPEND="${RDEPEND} @@ -65,6 +66,7 @@ src_configure() { -DBUILD_PORTAUDIO="$(usex portaudio)" -DBUILD_PORTMIDI="$(usex portmidi)" -DBUILD_PULSEAUDIO="$(usex pulseaudio)" + -DBUILD_SOUNDFONT3="$(usex vorbis)" -DBUILD_WEBEBENGINE="$(usex webengine)" ) cmake-utils_src_configure