From fad123452a595d3cc7fa38ec5008e123a29967d4 Mon Sep 17 00:00:00 2001 From: Marc-Antoine Perennou Date: Tue, 28 Jun 2011 20:56:33 +0200 Subject: add clutter scm and primary ebuild for cogl scm Signed-off-by: Marc-Antoine Perennou --- media-libs/clutter/Manifest | 1 + media-libs/clutter/clutter-9999.ebuild | 77 ++++++++++++++++++++++++++++++++++ media-libs/cogl/Manifest | 1 + media-libs/cogl/cogl-9999.ebuild | 59 ++++++++++++++++++++++++++ profiles/package.mask | 2 + 5 files changed, 140 insertions(+) create mode 100644 media-libs/clutter/clutter-9999.ebuild create mode 100644 media-libs/cogl/Manifest create mode 100644 media-libs/cogl/cogl-9999.ebuild diff --git a/media-libs/clutter/Manifest b/media-libs/clutter/Manifest index aaa9ce34..619de0c7 100644 --- a/media-libs/clutter/Manifest +++ b/media-libs/clutter/Manifest @@ -1,4 +1,5 @@ EBUILD clutter-1.6.16-r1.ebuild 2366 RMD160 890a531772f889792e10c273547d1e9002ade6d3 SHA1 733685307fc232e26ae7082d324b85353458181e SHA256 a416abbebc285b0dcfd13a6e7ac426064992772c86999e76a15df367df660d1f +EBUILD clutter-9999.ebuild 1967 RMD160 02d11b9559027f4ecd157745a4f72801f01d7f0d SHA1 97ca445bb8a67fcba6815c1929edb4ffe66746f6 SHA256 d65b000c1959a5d5579039c27b36fdccf393a37d689a00ffdec775a7d97fa8da AUX fix-g_const.patch 31902 RMD160 b342e4841f7fe7a31451191bb514f766b22d485f SHA1 7af9a64271a57b136a71a8bf155bedd8034d0b7e SHA256 b1e8fbf3e611db20a23b3731558697fca37c0095eda41f638a0c7709f2cfc13f AUX fix-g_const2.patch 2148 RMD160 eb3e483768ae06d04c6a8a8520e2bcdecc2b226e SHA1 d4887cce8dd050217ff7a342c4bd7a65d6f7b6fe SHA256 8a6bc1f99186b63d5f2fbfc33b647b61a238a4c8164c8956cbf20e2fa971e333 AUX fix-g_const3.patch 2199 RMD160 a4a47e29f22d582669ac2e782ab5aba056f735ff SHA1 b9d7b1ecb4c82cf13a1e2cad01e4d6cd4db474ac SHA256 109f202ee92398862cf318e2850f26a7d7aec0b93f3c19b673060ecd29800db4 diff --git a/media-libs/clutter/clutter-9999.ebuild b/media-libs/clutter/clutter-9999.ebuild new file mode 100644 index 00000000..1cffb8cd --- /dev/null +++ b/media-libs/clutter/clutter-9999.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" +WANT_AUTOMAKE="1.11" + +inherit clutter gnome2-live +DESCRIPTION="Clutter is a library for creating graphical user interfaces" + +SLOT="1.0" +IUSE="debug doc +introspection" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-libs/glib-2.26:2 + >=x11-libs/cairo-1.10 + >=x11-libs/pango-1.20[introspection?] + >=dev-libs/json-glib-0.12[introspection?] + >=dev-libs/atk-1.17 + + x11-libs/gdk-pixbuf:2 + + virtual/opengl + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXdamage + x11-proto/inputproto + >=x11-libs/libXi-1.3 + >=x11-libs/libXfixes-3 + >=x11-libs/libXcomposite-0.4 + + introspection? ( >=dev-libs/gobject-introspection-0.9.6 )" +DEPEND="${RDEPEND} + >=media-libs/cogl-1.6 + sys-devel/gettext + dev-util/pkgconfig + >=dev-util/gtk-doc-am-1.13 + doc? ( + >=dev-util/gtk-doc-1.13 + >=app-text/docbook-sgml-utils-0.6.14[jadetex] + dev-libs/libxslt )" +DOCS="README NEWS ChangeLog*" + +src_prepare() { + # Some gettext stuff, we can't run gettextize because that does too much + cp "${ROOT}/usr/share/gettext/po/Makefile.in.in" "${S}/po" + + gnome2_src_prepare + + # We only need conformance tests, the rest are useless for us + sed -e 's/^\(SUBDIRS =\).*/\1/g' \ + -i tests/Makefile.am || die "am tests sed failed" + sed -e 's/^\(SUBDIRS =\).*/\1/g' \ + -i tests/Makefile.in || die "in tests sed failed" + + # XXX: Conformance test suite (and clutter itself) does not work under Xvfb + # XXX: Profiling, coverage disabled for now + # XXX: What about eglx/eglnative/opengl-egl-xlib/osx/wayland/etc flavours? + # Uses gudev-1.0 and libxkbcommon for eglnative/cex1000 + G2CONF=" + --enable-debug=minimum + --enable-conformance=no + --disable-gcov + --enable-profile=no + --enable-maintainer-flags=no + --enable-xinput + --with-flavour=glx + $(use_enable introspection) + $(use_enable doc docs)" + + if use debug; then + G2CONF="${myconf} + --enable-debug=yes" + fi +} diff --git a/media-libs/cogl/Manifest b/media-libs/cogl/Manifest new file mode 100644 index 00000000..bdf9b880 --- /dev/null +++ b/media-libs/cogl/Manifest @@ -0,0 +1 @@ +EBUILD cogl-9999.ebuild 1249 RMD160 e8c056f9ac2100716b3d105c8d9b1cb5b875a00f SHA1 3f3b73e72bf0dac2a09d908f0bd140b13c2a5aec SHA256 401efcd56c8f4e3047e08397b99a46ab4fee36dd0eedbf2f9a4fac57781a097f diff --git a/media-libs/cogl/cogl-9999.ebuild b/media-libs/cogl/cogl-9999.ebuild new file mode 100644 index 00000000..5e11a10f --- /dev/null +++ b/media-libs/cogl/cogl-9999.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +WANT_AUTOMAKE="1.11" + +inherit clutter gnome2-live +DESCRIPTION="A hardware accelerated 3D graphics API" + +SLOT="1.0" +IUSE="debug +introspection" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-libs/glib-2.26:2 + >=x11-libs/cairo-1.20 + >=x11-libs/pango-1.20[introspection?] + >=dev-libs/json-glib-0.12[introspection?] + >=dev-libs/atk-1.17 + + x11-libs/gdk-pixbuf:2 + + virtual/opengl + x11-libs/libdrm + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXdamage + x11-proto/inputproto + >=x11-libs/libXi-1.3 + >=x11-libs/libXfixes-3 + >=x11-libs/libXcomposite-0.4 + + introspection? ( >=dev-libs/gobject-introspection-0.9.6 )" +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/pkgconfig + >=dev-util/gtk-doc-am-1.13" +DOCS="README NEWS ChangeLog*" + +src_prepare() { + # Some gettext stuff, we can't run gettextize because that does too much + cp "${ROOT}/usr/share/gettext/po/Makefile.in.in" "${S}/po" + + gnome2_src_prepare + + G2CONF=" + --enable-debug=no + --enable-profile=no + --enable-maintainer-flags=no + --enable-glx=yes + --enable-gdk-pixbuf=yes + $(use_enable introspection)" + + if use debug; then + G2CONF="${myconf} + --enable-debug=yes" + fi +} diff --git a/profiles/package.mask b/profiles/package.mask index 07b669d4..2a9a5d1f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -9,6 +9,8 @@ ~dev-util/valgrind-9999 ~gnome-base/gnome-shell-9999 ~gnome-extra/gnome-shell-extensions-9999 +~media-libs/clutter-9999 +~media-libs/cogl-9999 ~media-sound/pavucontrol-9999 ~media-sound/pulseaudio-9999 ~media-sound/rhythmbox-9999 -- cgit v1.2.3-65-gdbad