blob: 965ffaa2214ef8db4c78fc2da5554e284c8b60b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/clutter-gtk/clutter-gtk-0.10.8.ebuild,v 1.13 2012/10/17 23:11:58 tetromino Exp $
EAPI="2"
# inherit clutter after gnome2 so that defaults aren't overriden
inherit autotools eutils gnome2 clutter
DESCRIPTION="Clutter-GTK - GTK+ Integration library for Clutter"
SLOT="0.10"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="debug examples +introspection"
# XXX: Needs gtk with X support (!directfb)
RDEPEND="
>=x11-libs/gtk+-2.19.5:2[introspection?]
>=media-libs/clutter-1.2:1.0[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.9.3 )"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.14"
EXAMPLES="examples/{*.c,redhand.png}"
pkg_setup() {
G2CONF="${G2CONF}
--with-flavour=x11
--enable-maintainer-flags=no
$(use_enable introspection)"
}
src_prepare() {
# Fix build with USE=introspection, bug #350061
epatch "${FILESDIR}/${PN}-0.10.8-fix-introspection-build.patch"
# Drop DEPRECATED flags, bug #387173
sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
clutter-gtk/Makefile.am || die
# Fix underlinking problem with gold.ld
epatch "${FILESDIR}"/${P}-gold.patch
eautoreconf
gnome2_src_prepare
}
|