public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nikoli" <nikoli@lavabit.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: dev-libs/weston/
Date: Thu, 18 Jul 2013 12:40:14 +0000 (UTC)	[thread overview]
Message-ID: <1374150407.96eb5a62e36a8d82d376eee3cf113c0bc63f3ac8.nikoli@gentoo> (raw)

commit:     96eb5a62e36a8d82d376eee3cf113c0bc63f3ac8
Author:     Nikoli <nikoli <AT> lavabit <DOT> com>
AuthorDate: Thu Jul 18 12:26:47 2013 +0000
Commit:     Nikoli <nikoli <AT> lavabit <DOT> com>
CommitDate: Thu Jul 18 12:26:47 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=96eb5a62

dev-libs/weston: add USE gles2, cairo in portage now has it

Package-Manager: portage-2.1.12.2
RepoMan-Options: --force

---
 dev-libs/weston/metadata.xml        |  1 +
 dev-libs/weston/weston-1.2.0.ebuild | 12 +++++++-----
 dev-libs/weston/weston-9999.ebuild  | 12 +++++++-----
 3 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/dev-libs/weston/metadata.xml b/dev-libs/weston/metadata.xml
index 93fc89a..f9cbba7 100644
--- a/dev-libs/weston/metadata.xml
+++ b/dev-libs/weston/metadata.xml
@@ -7,6 +7,7 @@
 	<flag name='drm'>Enable DRM backend, uses Linux KMS for output and evdev devices for input.</flag>
 	<flag name='egl'>Enable EGL support.</flag>
 	<flag name='fbdev'>Enable fbdev backend.</flag>
+	<flag name='gles2'>Use GLESv2 cairo instead of full GL</flag>
 	<flag name='headless'>Enable headless backend and a noop renderer, mainly for testing purposes.</flag>
 	<flag name='pango'>Install examples which require <pkg>x11-libs/pango</pkg>.</flag>
 	<flag name='rdp'>Enable Remote Desktop Protocol compositor support.</flag>

diff --git a/dev-libs/weston/weston-1.2.0.ebuild b/dev-libs/weston/weston-1.2.0.ebuild
index 148cdcd..2dffadf 100644
--- a/dev-libs/weston/weston-1.2.0.ebuild
+++ b/dev-libs/weston/weston-1.2.0.ebuild
@@ -25,11 +25,13 @@ LICENSE="MIT CC-BY-SA-3.0"
 SLOT="0"
 [[ ${PV} == 9999* ]] || \
 KEYWORDS="~arm ~amd64 ~x86 ~arm-linux"
-IUSE="colord +drm +egl examples headless fbdev pango pdf rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind wayland-compositor +X xwayland"
+IUSE="colord +drm +egl examples fbdev gles2 headless +opengl pango pdf rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind wayland-compositor +X xwayland"
 
 REQUIRED_USE="
 	drm? ( egl )
+	egl? ( || ( gles2 opengl ) )
 	fbdev? ( drm )
+	gles2? ( !opengl )
 	pango? ( examples )
 	pdf? ( examples )
 	rpi? ( !drm !egl )
@@ -45,7 +47,7 @@ RDEPEND="
 	media-libs/libwebp
 	virtual/jpeg
 	sys-libs/pam
-	>=x11-libs/cairo-1.10.0
+	>=x11-libs/cairo-1.11.3[gles2?,opengl?]
 	>=x11-libs/libdrm-2.4.30
 	x11-libs/libxkbcommon
 	x11-libs/pixman
@@ -60,7 +62,6 @@ RDEPEND="
 		>=virtual/udev-136
 	)
 	egl? (
-		>=x11-libs/cairo-1.11.3[opengl]
 		media-libs/glu
 	)
 	examples? (
@@ -124,13 +125,14 @@ src_configure() {
 		$(use_enable egl)
 		$(use_enable unwind libunwind)
 		# misc
+		$(use_with gles2 cairo-glesv2)
 		$(use_enable resize-optimization)
 		$(use_enable suid setuid-install)
 		$(use_enable tablet tablet-shell)
 		$(use_enable xwayland)
 		$(use_enable xwayland xwayland-test)
 	)
-	if use examples || use test; then
+	if use examples || use gles2 || use test; then
 		myeconfargs+=(
 			--enable-simple-clients
 			$(use_enable egl simple-egl-clients)
@@ -159,7 +161,7 @@ src_install() {
 	dodoc "${FILESDIR}"/README.gentoo
 
 	cd "${BUILD_DIR}" || die
-	use egl && newbin clients/gears weston-gears
+	use opengl && newbin clients/gears weston-gears
 	if use examples; then
 		use egl && newbin clients/simple-egl weston-simple-egl
 		use pango && newbin clients/editor weston-editor

diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
index 148cdcd..2dffadf 100644
--- a/dev-libs/weston/weston-9999.ebuild
+++ b/dev-libs/weston/weston-9999.ebuild
@@ -25,11 +25,13 @@ LICENSE="MIT CC-BY-SA-3.0"
 SLOT="0"
 [[ ${PV} == 9999* ]] || \
 KEYWORDS="~arm ~amd64 ~x86 ~arm-linux"
-IUSE="colord +drm +egl examples headless fbdev pango pdf rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind wayland-compositor +X xwayland"
+IUSE="colord +drm +egl examples fbdev gles2 headless +opengl pango pdf rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind wayland-compositor +X xwayland"
 
 REQUIRED_USE="
 	drm? ( egl )
+	egl? ( || ( gles2 opengl ) )
 	fbdev? ( drm )
+	gles2? ( !opengl )
 	pango? ( examples )
 	pdf? ( examples )
 	rpi? ( !drm !egl )
@@ -45,7 +47,7 @@ RDEPEND="
 	media-libs/libwebp
 	virtual/jpeg
 	sys-libs/pam
-	>=x11-libs/cairo-1.10.0
+	>=x11-libs/cairo-1.11.3[gles2?,opengl?]
 	>=x11-libs/libdrm-2.4.30
 	x11-libs/libxkbcommon
 	x11-libs/pixman
@@ -60,7 +62,6 @@ RDEPEND="
 		>=virtual/udev-136
 	)
 	egl? (
-		>=x11-libs/cairo-1.11.3[opengl]
 		media-libs/glu
 	)
 	examples? (
@@ -124,13 +125,14 @@ src_configure() {
 		$(use_enable egl)
 		$(use_enable unwind libunwind)
 		# misc
+		$(use_with gles2 cairo-glesv2)
 		$(use_enable resize-optimization)
 		$(use_enable suid setuid-install)
 		$(use_enable tablet tablet-shell)
 		$(use_enable xwayland)
 		$(use_enable xwayland xwayland-test)
 	)
-	if use examples || use test; then
+	if use examples || use gles2 || use test; then
 		myeconfargs+=(
 			--enable-simple-clients
 			$(use_enable egl simple-egl-clients)
@@ -159,7 +161,7 @@ src_install() {
 	dodoc "${FILESDIR}"/README.gentoo
 
 	cd "${BUILD_DIR}" || die
-	use egl && newbin clients/gears weston-gears
+	use opengl && newbin clients/gears weston-gears
 	if use examples; then
 		use egl && newbin clients/simple-egl weston-simple-egl
 		use pango && newbin clients/editor weston-editor


             reply	other threads:[~2013-07-18 12:40 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-18 12:40 Nikoli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-03-24 14:19 [gentoo-commits] proj/x11:master commit in: dev-libs/weston/ Chí-Thanh Christopher Nguyễn
2014-05-21 16:42 Chi-Thanh Christopher Nguyen
2014-02-24 20:31 Chi-Thanh Christopher Nguyen
2014-01-30 12:29 Chi-Thanh Christopher Nguyen
2014-01-30 12:28 Chi-Thanh Christopher Nguyen
2014-01-30 12:28 Chi-Thanh Christopher Nguyen
2014-01-26 17:04 David Heidelberger
2014-01-26 16:47 David Heidelberger
2013-12-20 14:05 David Heidelberger
2013-11-23 20:26 David Heidelberger
2013-11-17  0:47 David Heidelberger
2013-11-02 14:21 David Heidelberger
2013-10-21 19:18 David Heidelberger
2013-08-25 16:42 Chi-Thanh Christopher Nguyen
2013-07-29 14:49 Chi-Thanh Christopher Nguyen
2013-07-18 10:48 Nikoli
2013-07-17 16:54 Nikoli
2013-07-16 11:21 Nikoli
2013-07-14 20:57 Chi-Thanh Christopher Nguyen
2013-06-09 12:22 David Heidelberger
2013-05-24 21:29 David Heidelberger
2013-05-24  1:03 David Heidelberger
2013-05-24  0:54 David Heidelberger
2013-05-24  0:24 David Heidelberger
2013-05-23 21:47 David Heidelberger
2013-05-23 20:12 David Heidelberger
2013-05-16  0:43 David Heidelberger
2013-04-16 16:14 David Heidelberger
2013-02-05  7:06 Matt Turner
2012-09-07 11:35 David Heidelberger
2012-08-11 16:25 Matt Turner
2012-06-18 21:36 Chi-Thanh Christopher Nguyen
2012-02-11 23:58 James Cloos
2012-02-11 23:53 James Cloos

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=1374150407.96eb5a62e36a8d82d376eee3cf113c0bc63f3ac8.nikoli@gentoo \
    --to=nikoli@lavabit.com \
    --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