Created
September 8, 2014 14:35
-
-
Save BtbN/0145229883f1851a945a to your computer and use it in GitHub Desktop.
stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dev-qt/qtwidgets/qtwidgets-5.3.1-r2.ebuild b/dev-qt/qtwidgets/qtwidgets-5.3.1-r2.ebuild | |
index 208edc0..c080ff7 100644 | |
--- a/dev-qt/qtwidgets/qtwidgets-5.3.1-r2.ebuild | |
+++ b/dev-qt/qtwidgets/qtwidgets-5.3.1-r2.ebuild | |
@@ -16,14 +16,14 @@ else | |
KEYWORDS="~amd64 ~x86" | |
fi | |
-IUSE="gles2 +opengl +png" | |
+IUSE="gles2 +opengl +png xcb" | |
REQUIRED_USE=" | |
gles2? ( opengl ) | |
" | |
DEPEND=" | |
~dev-qt/qtcore-${PV}[debug=] | |
- ~dev-qt/qtgui-${PV}[debug=,gles2=,opengl=,png=] | |
+ ~dev-qt/qtgui-${PV}[debug=,gles2=,opengl=,png=,xcb=] | |
" | |
RDEPEND="${DEPEND}" | |
@@ -53,6 +53,9 @@ src_configure() { | |
local myconf=( | |
${gl} | |
$(qt_use png libpng system) | |
+ $(qt_use xcb xcb system) | |
+ $(qt_use xcb xkbcommon system) | |
+ $(use xcb && echo -xcb-xlib -xinput2 -xkb -xrender) | |
) | |
qt5-build_src_configure | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment