Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-libs/clutter/
Date: Sat, 29 Oct 2011 19:42:02
Message-Id: 714ac3c42cd04074f50e1211c0fe4040d464c766.tetromino@gentoo
1 commit: 714ac3c42cd04074f50e1211c0fe4040d464c766
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 29 19:37:47 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Sat Oct 29 19:37:47 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=714ac3c4
7
8 media-libs/clutter: moved 1.8.2 to gx86 + qa
9
10 Add missing gdk-pixbuf dep.
11
12 ---
13 media-libs/clutter/clutter-1.8.2.ebuild | 93 -------------------------------
14 media-libs/clutter/clutter-9999.ebuild | 3 +-
15 2 files changed, 2 insertions(+), 94 deletions(-)
16
17 diff --git a/media-libs/clutter/clutter-1.8.2.ebuild b/media-libs/clutter/clutter-1.8.2.ebuild
18 deleted file mode 100644
19 index 7194721..0000000
20 --- a/media-libs/clutter/clutter-1.8.2.ebuild
21 +++ /dev/null
22 @@ -1,93 +0,0 @@
23 -# Copyright 1999-2011 Gentoo Foundation
24 -# Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/clutter-9999.ebuild,v 1.3 2011/02/21 20:56:53 nirbheek Exp $
26 -
27 -EAPI="4"
28 -CLUTTER_LA_PUNT="yes"
29 -WANT_AUTOMAKE="1.11"
30 -
31 -# Inherit gnome2 after clutter to download sources from gnome.org
32 -# since clutter-project.org doesn't provide .xz tarballs
33 -inherit clutter gnome2
34 -if [[ ${PV} = 9999 ]]; then
35 - inherit gnome2-live
36 -fi
37 -
38 -DESCRIPTION="Clutter is a library for creating graphical user interfaces"
39 -
40 -SLOT="1.0"
41 -IUSE="debug doc +introspection"
42 -if [[ ${PV} = 9999 ]]; then
43 - KEYWORDS=""
44 -else
45 - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
46 -fi
47 -
48 -# NOTE: glx flavour uses libdrm + >=mesa-7.3
49 -# XXX: uprof needed for profiling
50 -# >=libX11-1.3.1 needed for X Generic Event support
51 -RDEPEND="
52 - >=dev-libs/glib-2.28:2
53 - >=dev-libs/atk-2.1.5[introspection?]
54 - >=dev-libs/json-glib-0.12[introspection?]
55 - >=media-libs/cogl-1.8.0:1.0[introspection?,pango]
56 - media-libs/fontconfig
57 - >=x11-libs/cairo-1.10[glib]
58 - >=x11-libs/pango-1.20[introspection?]
59 -
60 - virtual/opengl
61 - x11-libs/libdrm
62 - >=x11-libs/libX11-1.3.1
63 - x11-libs/libXext
64 - x11-libs/libXdamage
65 - x11-proto/inputproto
66 - >=x11-libs/libXi-1.3
67 - >=x11-libs/libXfixes-3
68 - >=x11-libs/libXcomposite-0.4
69 -
70 - introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
71 -DEPEND="${RDEPEND}
72 - sys-devel/gettext
73 - dev-util/pkgconfig
74 - >=dev-util/gtk-doc-am-1.13
75 - doc? (
76 - >=dev-util/gtk-doc-1.13
77 - >=app-text/docbook-sgml-utils-0.6.14[jadetex]
78 - dev-libs/libxslt )"
79 -
80 -pkg_setup() {
81 - DOCS="README NEWS ChangeLog*"
82 -
83 - # XXX: Conformance test suite (and clutter itself) does not work under Xvfb
84 - # XXX: Profiling, coverage disabled for now
85 - # XXX: What about eglx/eglnative/opengl-egl-xlib/osx/wayland/etc flavours?
86 - # Uses gudev-1.0 and libxkbcommon for eglnative/cex1000
87 - myconf="--enable-debug=minimum"
88 - use debug && myconf="--enable-debug=yes"
89 - G2CONF="${G2CONF} ${myconf}
90 - --enable-conformance=no
91 - --disable-gcov
92 - --enable-profile=no
93 - --enable-maintainer-flags=no
94 - --enable-xinput
95 - --with-flavour=glx
96 - $(use_enable introspection)
97 - $(use_enable doc docs)"
98 -}
99 -
100 -src_prepare() {
101 - # Some gettext stuff, we can't run gettextize because that does too much
102 - [[ ${PV} = 9999 ]] && cp "${ROOT}/usr/share/gettext/po/Makefile.in.in" "${S}/po"
103 -
104 - gnome2_src_prepare
105 -
106 - # We only need conformance tests, the rest are useless for us
107 - sed -e 's/^\(SUBDIRS =\).*/\1/g' \
108 - -i tests/Makefile.am || die "am tests sed failed"
109 - sed -e 's/^\(SUBDIRS =\)[^\]*/\1/g' \
110 - -i tests/Makefile.in || die "in tests sed failed"
111 -}
112 -
113 -src_install() {
114 - clutter_src_install
115 -}
116
117 diff --git a/media-libs/clutter/clutter-9999.ebuild b/media-libs/clutter/clutter-9999.ebuild
118 index 7194721..0b1112f 100644
119 --- a/media-libs/clutter/clutter-9999.ebuild
120 +++ b/media-libs/clutter/clutter-9999.ebuild
121 @@ -33,8 +33,9 @@ RDEPEND="
122 >=media-libs/cogl-1.8.0:1.0[introspection?,pango]
123 media-libs/fontconfig
124 >=x11-libs/cairo-1.10[glib]
125 + x11-libs/gdk-pixbuf:2
126 >=x11-libs/pango-1.20[introspection?]
127 -
128 +
129 virtual/opengl
130 x11-libs/libdrm
131 >=x11-libs/libX11-1.3.1