public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: net-libs/webkit-gtk/
Date: Tue, 26 Nov 2013 21:47:48 +0000 (UTC)	[thread overview]
Message-ID: <1385502404.ca4e1c43a6aae7bf2c3b4de199a3d7fa2ea5ec4f.eva@gentoo> (raw)

commit:     ca4e1c43a6aae7bf2c3b4de199a3d7fa2ea5ec4f
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 26 21:36:39 2013 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Tue Nov 26 21:46:44 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=ca4e1c43

net-libs/webkit-gtk: more webgl related enhancements

Try to provide the maximum acceleration possible with and without webgl.

accelerated-compositing implies canvas and css shaders, however css
shaders require webgl to be enabled to build.

egl and gles2 are linked by webkit libs, so hopefully they are used by
something even without webgl, untie their setup in ebuild.

---
 net-libs/webkit-gtk/webkit-gtk-2.2.2.ebuild | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/net-libs/webkit-gtk/webkit-gtk-2.2.2.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.2.2.ebuild
index b4eb0ab..f968ffa 100644
--- a/net-libs/webkit-gtk/webkit-gtk-2.2.2.ebuild
+++ b/net-libs/webkit-gtk/webkit-gtk-2.2.2.ebuild
@@ -16,13 +16,13 @@ SRC_URI="http://www.webkitgtk.org/releases/${MY_P}.tar.xz"
 LICENSE="LGPL-2+ BSD"
 SLOT="3/29" # soname version
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
-IUSE="aqua coverage debug +geoloc gles2 +gstreamer +introspection +jit libsecret +opengl spell +webgl"
+IUSE="aqua coverage debug +egl +geoloc gles2 +gstreamer +introspection +jit libsecret +opengl spell +webgl"
 # bugs 372493, 416331
 REQUIRED_USE="
 	geoloc? ( introspection )
 	introspection? ( gstreamer )
 	webgl? ( ^^ ( gles2 opengl ) )
-
+	gles2? ( egl )
 "
 
 # use sqlite, svg by default
@@ -46,16 +46,17 @@ RDEPEND="
 	x11-libs/libXrender
 	>=x11-libs/gtk+-2.24.10:2
 
+	egl? ( media-libs/mesa[egl] )
 	geoloc? ( app-misc/geoclue )
+	gles2? ( media-libs/mesa[gles2] )
 	gstreamer? (
 		>=media-libs/gstreamer-1.0.3:1.0
 		>=media-libs/gst-plugins-base-1.0.3:1.0 )
 	introspection? ( >=dev-libs/gobject-introspection-1.32.0 )
 	libsecret? ( app-crypt/libsecret )
+	opengl? ( virtual/opengl )
 	spell? ( >=app-text/enchant-0.22:= )
 	webgl? (
-		gles2? ( media-libs/mesa[egl,gles2] )
-		opengl? ( media-libs/mesa[egl] )
 		x11-libs/cairo[opengl]
 		x11-libs/libXcomposite
 		x11-libs/libXdamage )
@@ -208,11 +209,11 @@ src_configure() {
 	# should somehow let user select between them?
 	#
 	# * Aqua support in gtk3 is untested
-	# * egl is needed for gles2
 	# * dependency-tracking is required so parallel builds won't fail
 	econf \
 		$(use_enable coverage) \
 		$(use_enable debug) \
+		$(use_enable egl) \
 		$(use_enable geoloc geolocation) \
 		$(use_enable gles2) \
 		$(use_enable gstreamer video) \
@@ -221,22 +222,15 @@ src_configure() {
 		$(use_enable libsecret credential_storage) \
 		$(use_enable opengl glx) \
 		$(use_enable spell spellcheck) \
-		$(use_enable webgl egl) \
 		$(use_enable webgl) \
+		$(use_enable webgl accelerated-compositing)
 		--with-gtk=3.0 \
-		--enable-accelerated-compositing \
 		--enable-dependency-tracking \
 		--disable-gtk-doc \
 		$(usex aqua "--with-font-backend=pango --with-target=quartz" "")
 		${myconf}
 }
 
-#src_compile() {
-	# Avoid parallel make failure with -j9, bug #????
-#	emake DerivedSources/WebCore/JSNode.h
-#	default
-#}
-
 src_test() {
 	# Tests expect an out-of-source build in WebKitBuild
 	ln -s . WebKitBuild || die "ln failed"


             reply	other threads:[~2013-11-26 21:47 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26 21:47 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-05-25 14:45 [gentoo-commits] proj/gnome:master commit in: net-libs/webkit-gtk/ Gilles Dartiguelongue
2015-05-25  9:18 Gilles Dartiguelongue
2014-12-22 23:50 Gilles Dartiguelongue
2014-11-30 20:14 Gilles Dartiguelongue
2014-11-03 23:24 Gilles Dartiguelongue
2014-11-03 23:24 Gilles Dartiguelongue
2014-10-19 21:59 Gilles Dartiguelongue
2014-02-12 23:48 Gilles Dartiguelongue
2013-11-27 23:32 Gilles Dartiguelongue
2013-11-26 21:54 Gilles Dartiguelongue
2013-11-17 23:35 Gilles Dartiguelongue
2013-11-17 23:35 Gilles Dartiguelongue
2013-01-15 15:13 Priit Laes
2013-01-01 19:36 Alexandre Rostovtsev
2012-12-27  4:55 Alexandre Rostovtsev
2012-12-26  7:59 Gilles Dartiguelongue
2012-12-25 23:55 Gilles Dartiguelongue
2012-12-25 15:03 Priit Laes
2012-10-28 18:54 Alexandre Rostovtsev
2012-10-28  9:46 Priit Laes
2012-10-28  8:10 Alexandre Rostovtsev
2012-10-28  7:08 Alexandre Rostovtsev
2012-10-17 15:03 Priit Laes
2012-09-05 15:09 Priit Laes
2012-08-24 21:35 Priit Laes
2012-07-26 14:40 Nirbheek Chauhan
2012-07-22  4:41 Priit Laes
2012-04-05 21:43 Alexandre Restovtsev
2012-03-25  0:10 Alexandre Restovtsev
2012-03-24 23:40 Alexandre Restovtsev
2012-03-17 19:33 Alexandre Restovtsev
2012-03-10 11:08 Priit Laes
2012-03-05  7:17 Alexandre Restovtsev
2012-02-27  3:30 Alexandre Restovtsev
2012-02-08  7:52 Priit Laes
2012-01-26 22:47 Priit Laes
2011-10-30  2:57 Alexandre Restovtsev
2011-10-29 11:03 Priit Laes
2011-05-22 20:47 Priit Laes
2011-04-27 22:22 Gilles Dartiguelongue
2011-04-10 18:04 Gilles Dartiguelongue
2011-02-23 20:28 Priit Laes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1385502404.ca4e1c43a6aae7bf2c3b4de199a3d7fa2ea5ec4f.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox