media-sound/musescore: Add USE webengine
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 21 Aug 2018 20:56:10 +0000 (22:56 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 21 Aug 2018 21:23:02 +0000 (23:23 +0200)
Package-Manager: Portage-2.3.48, Repoman-2.3.10

media-sound/musescore/metadata.xml
media-sound/musescore/musescore-9999.ebuild

index 73e8e2334c09b193a599952c12ddf9bba975b9fd..7b2572e3cfb7b60de58e0784976567ab58e326e3 100644 (file)
@@ -11,5 +11,6 @@
        </upstream>
        <use>
                <flag name="portmidi">Enable support for building against <pkg>media-libs/portmidi</pkg></flag>
+               <flag name="webengine">Use <pkg>dev-qt/qtwebengine</pkg> for embedded web browser</flag>
        </use>
 </pkgmetadata>
index 486468e5c133316b2154fd11721d714267e1341e..619e7f71c5b6c5722b0463ccaa43d43eec94c32a 100644 (file)
@@ -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"
+IUSE="alsa debug jack mp3 portaudio portmidi pulseaudio webengine"
 REQUIRED_USE="portmidi? ( portaudio )"
 
 RDEPEND="
@@ -26,7 +26,6 @@ RDEPEND="
        dev-qt/qtprintsupport:5
        >=dev-qt/qtsingleapplication-2.6.1_p20171024
        dev-qt/qtsvg:5
-       dev-qt/qtwebkit:5
        dev-qt/qtxmlpatterns:5
        >=media-libs/freetype-2.5.2
        media-libs/libsndfile
@@ -37,6 +36,7 @@ RDEPEND="
        portaudio? ( media-libs/portaudio )
        portmidi? ( media-libs/portmidi )
        pulseaudio? ( media-sound/pulseaudio )
+       webengine? ( dev-qt/qtwebengine:5[widgets] )
 "
 DEPEND="${RDEPEND}
        dev-qt/linguist-tools:5
@@ -63,6 +63,7 @@ src_configure() {
                -DBUILD_PORTAUDIO="$(usex portaudio)"
                -DBUILD_PORTMIDI="$(usex portmidi)"
                -DBUILD_PULSEAUDIO="$(usex pulseaudio)"
+               -DBUILD_WEBEBENGINE="$(usex webengine)"
        )
        cmake-utils_src_configure
 }