diff options
author | Peter Tworek <tworaz666@gmail.com> | 2012-02-04 19:41:41 +0100 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-02-07 14:37:13 -0800 |
commit | 9500ef3f5fae07c1592e8208bb306c1148e49418 (patch) | |
tree | 60160f6e4625679984b6eb97b1272cacdfedea11 /meta/recipes-sato | |
parent | cb0e0e3de421e2dd8335765adb3c0e442177bb9a (diff) | |
download | openembedded-core-9500ef3f5fae07c1592e8208bb306c1148e49418.tar.gz openembedded-core-9500ef3f5fae07c1592e8208bb306c1148e49418.tar.bz2 openembedded-core-9500ef3f5fae07c1592e8208bb306c1148e49418.zip |
webkit-gtk: Make webgl support configurable via DISTRO_FEATURES.
* Add missing dependency on virtual/libgl.
* Make webgl configurable via DISTRO_FEATURES="opengl".
* Run tested on netbook pro.
Signed-off-by: Peter Tworek <tworaz666@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r-- | meta/recipes-sato/webkit/webkit-gtk_svn.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-sato/webkit/webkit-gtk_svn.bb b/meta/recipes-sato/webkit/webkit-gtk_svn.bb index d754a39a91..e279ca3e9f 100644 --- a/meta/recipes-sato/webkit/webkit-gtk_svn.bb +++ b/meta/recipes-sato/webkit/webkit-gtk_svn.bb @@ -8,13 +8,14 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/rendering/RenderApplet.h;endline=22;md file://Source/JavaScriptCore/parser/Parser.h;endline=23;md5=2f3cff0ad0a9c486da5a376928973a90" DEPENDS = "zlib enchant gnome-keyring libsoup-2.4 curl icu libxml2 cairo libxslt libxt libidn gnutls gtk+ gstreamer gst-plugins-base flex-native gperf-native perl-native-runtime sqlite3" +DEPENDS += " ${@base_contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)}" DEPENDS_darwin8 = "curl icu libxml2 cairo libxslt libidn gnutls gtk+ gstreamer flex-native gperf-native perl-native-runtime sqlite3" SRCREV_FORMAT = "source" SRCREV = "101488" PV = "1.7.2+svnr${SRCPV}" -PR = "r1" +PR = "r2" SRC_URI = "\ svn://svn.webkit.org/repository/webkit/trunk/;module=Source;proto=http;name=source \ @@ -41,6 +42,7 @@ EXTRA_OECONF = "\ --enable-image-resizer \ --enable-link-prefetch \ --with-gtk=2.0 \ + ${@base_contains('DISTRO_FEATURES', 'opengl', '--enable-webgl', '--disable-webgl', d)} \ UNICODE_CFLAGS=-D_REENTRANT \ " |