1 |
commit: 7bb3e5da6637f6ba2b36b86dc672cb69f625106f |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 25 16:44:56 2015 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 25 16:45:13 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=dev/leio.git;a=commit;h=7bb3e5da |
7 |
|
8 |
webkit-gtk: Fix rpi egl/gles2 flag appending logic |
9 |
|
10 |
It checks for egl libraries with USE=egl too in configure, not just when |
11 |
USE=webgl is given. As they are force coupled with rpi, append the flags |
12 |
when either egl or gles2 USE flags are given (though REQUIRED_USE mostly |
13 |
takes care of it too, iirc). |
14 |
|
15 |
net-libs/webkit-gtk/webkit-gtk-2.4.8.ebuild | 6 +++--- |
16 |
1 file changed, 3 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/net-libs/webkit-gtk/webkit-gtk-2.4.8.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.4.8.ebuild |
19 |
index 3a549dc..34fdf6e 100644 |
20 |
--- a/net-libs/webkit-gtk/webkit-gtk-2.4.8.ebuild |
21 |
+++ b/net-libs/webkit-gtk/webkit-gtk-2.4.8.ebuild |
22 |
@@ -216,9 +216,9 @@ src_configure() { |
23 |
# Arches without JIT support also need this to really disable it in all places |
24 |
use jit || append-cppflags -DENABLE_JIT=0 -DENABLE_YARR_JIT=0 -DENABLE_ASSEMBLER=0 |
25 |
|
26 |
- if use webgl; then |
27 |
- use rpi && append-cppflags $(pkg-config --cflags egl glesv2) |
28 |
- use rpi && append-ldflags $(pkg-config --libs egl glesv2) |
29 |
+ if use rpi; then |
30 |
+ (use egl || use gles2) && append-cppflags $(pkg-config --cflags egl glesv2) |
31 |
+ (use egl || use gles2) && append-ldflags $(pkg-config --libs egl glesv2) |
32 |
fi |
33 |
|
34 |
# It doesn't compile on alpha without this in LDFLAGS, bug #??? |