summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2018-06-15 02:11:55 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-23 18:43:51 +0200
commita7789e0d7926d1b36cec95e984cb33bf85bb1152 (patch)
tree96ca498fc2e6b9b7b6b55f0cd833ec5d131e3f4a
parentx11-misc/sddm: Drop 0.17.0-r3 (diff)
downloadgentoo-a7789e0d7926d1b36cec95e984cb33bf85bb1152.tar.gz
gentoo-a7789e0d7926d1b36cec95e984cb33bf85bb1152.tar.bz2
gentoo-a7789e0d7926d1b36cec95e984cb33bf85bb1152.zip
dev-qt/qtwebengine: Add "designer" USE flag
Bug: https://bugs.gentoo.org/652508
-rw-r--r--dev-qt/qtwebengine/metadata.xml1
-rw-r--r--dev-qt/qtwebengine/qtwebengine-5.11.0_rc2.ebuild6
-rw-r--r--dev-qt/qtwebengine/qtwebengine-5.9.6.ebuild6
3 files changed, 11 insertions, 2 deletions
diff --git a/dev-qt/qtwebengine/metadata.xml b/dev-qt/qtwebengine/metadata.xml
index d93362dc7bc..d6bd8540b0f 100644
--- a/dev-qt/qtwebengine/metadata.xml
+++ b/dev-qt/qtwebengine/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo Qt Project</name>
</maintainer>
<use>
+ <flag name="designer">Install QWebEngineView plugin for displaying web pages in <pkg>dev-qt/designer</pkg></flag>
<flag name="geolocation">Enable physical position determination
via <pkg>dev-qt/qtpositioning</pkg></flag>
<flag name="pax_kernel">Enable building under a PaX enabled kernel</flag>
diff --git a/dev-qt/qtwebengine/qtwebengine-5.11.0_rc2.ebuild b/dev-qt/qtwebengine/qtwebengine-5.11.0_rc2.ebuild
index 82890439c64..152fe1ffb78 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.11.0_rc2.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.11.0_rc2.ebuild
@@ -11,7 +11,8 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
-IUSE="alsa bindist geolocation pax_kernel pulseaudio +system-ffmpeg +system-icu widgets"
+IUSE="alsa bindist designer geolocation pax_kernel pulseaudio +system-ffmpeg +system-icu widgets"
+REQUIRED_USE="designer? ( widgets )"
RDEPEND="
app-arch/snappy:=
@@ -58,6 +59,7 @@ RDEPEND="
x11-libs/libXScrnSaver
x11-libs/libXtst
alsa? ( media-libs/alsa-lib )
+ designer? ( ~dev-qt/designer-${PV} )
geolocation? ( ~dev-qt/qtpositioning-${PV} )
pulseaudio? ( media-sound/pulseaudio:= )
system-ffmpeg? ( media-video/ffmpeg:0= )
@@ -88,6 +90,8 @@ src_prepare() {
qt_use_disable_config alsa webengine-alsa src/core/config/linux.pri
qt_use_disable_config pulseaudio webengine-pulseaudio src/core/config/linux.pri
+ qt_use_disable_mod designer webenginewidgets src/plugins/plugins.pro
+
qt_use_disable_mod geolocation positioning \
mkspecs/features/configure.prf \
src/core/core_chromium.pri \
diff --git a/dev-qt/qtwebengine/qtwebengine-5.9.6.ebuild b/dev-qt/qtwebengine/qtwebengine-5.9.6.ebuild
index df6b40f6890..6788f042ae3 100644
--- a/dev-qt/qtwebengine/qtwebengine-5.9.6.ebuild
+++ b/dev-qt/qtwebengine/qtwebengine-5.9.6.ebuild
@@ -11,7 +11,8 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi
-IUSE="alsa bindist geolocation pax_kernel pulseaudio +system-ffmpeg +system-icu widgets"
+IUSE="alsa bindist designer geolocation pax_kernel pulseaudio +system-ffmpeg +system-icu widgets"
+REQUIRED_USE="designer? ( widgets )"
RDEPEND="
app-arch/snappy:=
@@ -58,6 +59,7 @@ RDEPEND="
x11-libs/libXScrnSaver
x11-libs/libXtst
alsa? ( media-libs/alsa-lib )
+ designer? ( ~dev-qt/designer-${PV} )
geolocation? ( ~dev-qt/qtpositioning-${PV} )
pulseaudio? ( media-sound/pulseaudio:= )
system-ffmpeg? ( media-video/ffmpeg:0= )
@@ -91,6 +93,8 @@ src_prepare() {
qt_use_disable_config alsa alsa src/core/config/linux.pri
qt_use_disable_config pulseaudio pulseaudio src/core/config/linux.pri
+ qt_use_disable_mod designer webenginewidgets src/plugins/plugins.pro
+
qt_use_disable_mod geolocation positioning \
mkspecs/features/configure.prf \
src/core/core_chromium.pri \