public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Cloos" <cloos@jhcloos.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: dev-libs/weston/
Date: Sat, 11 Feb 2012 23:53:29 +0000 (UTC)	[thread overview]
Message-ID: <b1407c63ed1b69d4f8d37f5f9f71820ec168c482.cloos@gentoo> (raw)

commit:     b1407c63ed1b69d4f8d37f5f9f71820ec168c482
Author:     James Cloos <cloos <AT> jhcloos <DOT> com>
AuthorDate: Sat Feb 11 23:35:59 2012 +0000
Commit:     James Cloos <cloos <AT> jhcloos <DOT> com>
CommitDate: Sat Feb 11 23:42:20 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=b1407c63

dev-libs/weston:  Add initial ebuild for wayland’s weston compositor

 • The dependencies may need more cleanup.
 • As may the USE flags.
   ◦ Are they all well named?
   ◦ Are they all necessary?
   ◦ How many should default on?
 • Upstream’s Makefile.am does not install the simple clients
   ◦ Should they be install in /usr/bin with a “wayland-” prefix?
   ◦ Or in a demos directory under /usr/share/doc/${PF}/ ?

---
 dev-libs/weston/weston-0.85.0.ebuild |   55 ++++++++++++++++++++++++++++++++++
 dev-libs/weston/weston-9999.ebuild   |   55 ++++++++++++++++++++++++++++++++++
 2 files changed, 110 insertions(+), 0 deletions(-)

diff --git a/dev-libs/weston/weston-0.85.0.ebuild b/dev-libs/weston/weston-0.85.0.ebuild
new file mode 100644
index 0000000..840b78b
--- /dev/null
+++ b/dev-libs/weston/weston-0.85.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
+
+if [[ ${PV} = 9999* ]]; then
+	GIT_ECLASS="git-2"
+	EXPERIMENTAL="true"
+fi
+
+inherit autotools toolchain-funcs $GIT_ECLASS
+
+DESCRIPTION="Wayland reference compositor"
+HOMEPAGE="http://wayland.freedesktop.org/"
+
+if [[ $PV = 9999* ]]; then
+	SRC_URI="${SRC_PATCHES}"
+else
+	SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
+fi
+
+LICENSE="CCPL-Attribution-ShareAlike-3.0 MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="+clients +drm +simple-clients static-libs +tablet +wayland-compositor +x11"
+
+RDEPEND="dev-libs/wayland
+	gnome-base/librsvg
+	>=media-libs/mesa-7.10[egl,gles]
+	x11-libs/pixman
+	x11? ( x11-libs/libxcb x11-libs/libX11 )
+	drm? ( >=sys-fs/udev-136 >=x11-libs/libdrm-2.4.23 media-libs/mesa[gbm] )
+	clients? ( >=x11-libs/cairo-1.10.0 x11-libs/gdk-pixbuf dev-libs/glib:2
+			   x11-libs/libxkbcommon media-libs/libpng app-text/poppler )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	if [[ ${PV} = 9999* ]]; then
+		eautoreconf
+	fi
+}
+
+src_configure() {
+	econf --disable-setuid-install
+		  $(use_enable static-libs static) \
+		  $(use_enable drm drm-compositor) \
+		  $(use_enable wayland-compositor) \
+		  $(use_enable x11 x11-compositor) \
+		  $(use_enable tablet tablet-shell) \
+		  $(use_enable clients) \
+		  $(use_enable simple-clients)
+}

diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
new file mode 100644
index 0000000..840b78b
--- /dev/null
+++ b/dev-libs/weston/weston-9999.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
+
+if [[ ${PV} = 9999* ]]; then
+	GIT_ECLASS="git-2"
+	EXPERIMENTAL="true"
+fi
+
+inherit autotools toolchain-funcs $GIT_ECLASS
+
+DESCRIPTION="Wayland reference compositor"
+HOMEPAGE="http://wayland.freedesktop.org/"
+
+if [[ $PV = 9999* ]]; then
+	SRC_URI="${SRC_PATCHES}"
+else
+	SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
+fi
+
+LICENSE="CCPL-Attribution-ShareAlike-3.0 MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="+clients +drm +simple-clients static-libs +tablet +wayland-compositor +x11"
+
+RDEPEND="dev-libs/wayland
+	gnome-base/librsvg
+	>=media-libs/mesa-7.10[egl,gles]
+	x11-libs/pixman
+	x11? ( x11-libs/libxcb x11-libs/libX11 )
+	drm? ( >=sys-fs/udev-136 >=x11-libs/libdrm-2.4.23 media-libs/mesa[gbm] )
+	clients? ( >=x11-libs/cairo-1.10.0 x11-libs/gdk-pixbuf dev-libs/glib:2
+			   x11-libs/libxkbcommon media-libs/libpng app-text/poppler )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	if [[ ${PV} = 9999* ]]; then
+		eautoreconf
+	fi
+}
+
+src_configure() {
+	econf --disable-setuid-install
+		  $(use_enable static-libs static) \
+		  $(use_enable drm drm-compositor) \
+		  $(use_enable wayland-compositor) \
+		  $(use_enable x11 x11-compositor) \
+		  $(use_enable tablet tablet-shell) \
+		  $(use_enable clients) \
+		  $(use_enable simple-clients)
+}



             reply	other threads:[~2012-02-11 23:53 UTC|newest]

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

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=b1407c63ed1b69d4f8d37f5f9f71820ec168c482.cloos@gentoo \
    --to=cloos@jhcloos.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