Skip to content

Commit

Permalink
dev-qt/qtwidgets: rename USE=gles2 to USE=gles2-only
Browse files Browse the repository at this point in the history
Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
lanodan authored and a17r committed Apr 3, 2020
1 parent fbc7f8b commit 490bb9d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
3 changes: 0 additions & 3 deletions dev-qt/qtwidgets/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<email>[email protected]</email>
<name>Gentoo Qt Project</name>
</maintainer>
<use>
<flag name="gles2">Use GLES 2.0 or later instead of full OpenGL</flag>
</use>
<upstream>
<bugs-to>https://bugreports.qt.io/</bugs-to>
<doc>https://doc.qt.io/</doc>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
fi

# keep IUSE defaults in sync with qtgui
IUSE="gles2 gtk +png +xcb"
IUSE="gles2-only gtk +png +xcb"

DEPEND="
~dev-qt/qtcore-${PV}
~dev-qt/qtgui-${PV}[gles2=,png=,xcb?]
~dev-qt/qtgui-${PV}[gles2-only=,png=,xcb?]
gtk? (
~dev-qt/qtgui-${PV}[dbus]
x11-libs/gtk+:3
Expand Down Expand Up @@ -44,7 +44,7 @@ QT5_GENTOO_PRIVATE_CONFIG=(

src_configure() {
local myconf=(
-opengl $(usex gles2 es2 desktop)
-opengl $(usex gles2-only es2 desktop)
$(qt_use gtk)
-gui
$(qt_use png libpng system)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ if [[ ${QT5_BUILD_TYPE} == release ]]; then
fi

# keep IUSE defaults in sync with qtgui
IUSE="gles2 gtk +png +X"
IUSE="gles2-only gtk +png +X"

DEPEND="
~dev-qt/qtcore-${PV}
~dev-qt/qtgui-${PV}[gles2=,png=,X?]
~dev-qt/qtgui-${PV}[gles2-only=,png=,X?]
gtk? (
~dev-qt/qtgui-${PV}[dbus]
x11-libs/gtk+:3
Expand Down Expand Up @@ -45,7 +45,7 @@ QT5_GENTOO_PRIVATE_CONFIG=(

src_configure() {
local myconf=(
-opengl $(usex gles2 es2 desktop)
-opengl $(usex gles2-only es2 desktop)
$(qt_use gtk)
-gui
$(qt_use png libpng system)
Expand Down

0 comments on commit 490bb9d

Please sign in to comment.