/[gentoo-x86]/media-libs/clutter/clutter-1.10.8.ebuild
Gentoo

Contents of /media-libs/clutter/clutter-1.10.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Fri Mar 29 23:08:16 2013 UTC (7 weeks, 4 days ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Clean up old revisions.

(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/clutter/clutter-1.10.8.ebuild,v 1.3 2012/12/05 23:12:48 tetromino Exp $
4
5 EAPI="5"
6 CLUTTER_LA_PUNT="yes"
7 WANT_AUTOMAKE="1.11"
8
9 # Inherit gnome2 after clutter to download sources from gnome.org
10 # since clutter-project.org doesn't provide .xz tarballs
11 inherit clutter gnome2 virtualx
12
13 DESCRIPTION="Clutter is a library for creating graphical user interfaces"
14
15 SLOT="1.0"
16 IUSE="debug doc gtk +introspection test" # evdev tslib
17 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~x86"
18
19 # NOTE: glx flavour uses libdrm + >=mesa-7.3
20 # XXX: uprof needed for profiling
21 # >=libX11-1.3.1 needed for X Generic Event support
22 RDEPEND="
23 >=dev-libs/glib-2.31.19:2
24 >=dev-libs/atk-2.1.5[introspection?]
25 >=dev-libs/json-glib-0.12[introspection?]
26 >=media-libs/cogl-1.9.6:1.0=[introspection?,pango]
27 <media-libs/cogl-1.11:1.0
28 media-libs/fontconfig
29 >=x11-libs/cairo-1.10[glib]
30 >=x11-libs/pango-1.20[introspection?]
31
32 virtual/opengl
33 x11-libs/libdrm
34 >=x11-libs/libX11-1.3.1
35 x11-libs/libXext
36 x11-libs/libXdamage
37 x11-proto/inputproto
38 >=x11-libs/libXi-1.3
39 >=x11-libs/libXfixes-3
40 >=x11-libs/libXcomposite-0.4
41
42 gtk? ( >=x11-libs/gtk+-3.3.18:3 )
43 introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
44 DEPEND="${RDEPEND}
45 >=dev-util/gtk-doc-am-1.15
46 virtual/pkgconfig
47 >=sys-devel/gettext-0.17
48 doc? (
49 >=dev-util/gtk-doc-1.15
50 >=app-text/docbook-sgml-utils-0.6.14[jadetex]
51 dev-libs/libxslt )
52 test? ( x11-libs/gdk-pixbuf )"
53
54 # Tests fail with both swrast and llvmpipe
55 # They pass under r600g, so the bug is in mesa
56 RESTRICT="test"
57
58 src_prepare() {
59 DOCS="README NEWS ChangeLog*"
60
61 # XXX: Conformance test suite (and clutter itself) does not work under Xvfb
62 # XXX: Profiling, coverage disabled for now
63 # XXX: What about cex100/egl/osx/wayland/win32 backends?
64 # XXX: evdev/tslib input seem to be experimental?
65 myconf="--enable-debug=minimum"
66 use debug && myconf="--enable-debug=yes"
67 G2CONF="${G2CONF} ${myconf}
68 --enable-xinput
69 --enable-x11-backend=yes
70 --disable-profile
71 --disable-maintainer-flags
72 --disable-gcov
73 --disable-cex100-backend
74 --disable-egl-backend
75 --disable-quartz-backend
76 --disable-wayland-backend
77 --disable-win32-backend
78 --disable-tslib-input
79 --disable-evdev-input
80 $(use_enable gtk gdk-backend)
81 $(use_enable introspection)
82 $(use_enable doc docs)
83 $(use_enable test conformance)
84 $(use_enable test gdk-pixbuf)"
85
86 gnome2_src_prepare
87
88 # We only need conformance tests, the rest are useless for us
89 sed -e 's/^\(SUBDIRS =\).*/\1/g' \
90 -i tests/Makefile.am || die "am tests sed failed"
91 sed -e 's/^\(SUBDIRS =\)[^\]*/\1/g' \
92 -i tests/Makefile.in || die "in tests sed failed"
93 }
94
95 src_test() {
96 # Run only the conformance tests
97 # The perf tests are useless because we run under sw rendering
98 cd tests/
99 Xemake test conform
100 }
101
102 src_install() {
103 clutter_src_install
104 }

  ViewVC Help
Powered by ViewVC 1.1.13