Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/clutter-gtk/
Date: Thu, 26 Nov 2015 14:54:05
Message-Id: 1448549615.1865201df428e333e8872da7a192b38c139b7f75.eva@gentoo
1 commit: 1865201df428e333e8872da7a192b38c139b7f75
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 26 14:53:35 2015 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 26 14:53:35 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1865201d
7
8 media-libs/clutter-gtk: add USE flags to control automagic dependencies with gtk and clutter supported windowing systems
9
10 Package-Manager: portage-2.2.26
11
12 media-libs/clutter-gtk/clutter-gtk-1.6.6-r1.ebuild | 45 ++++++++++++++++++++++
13 1 file changed, 45 insertions(+)
14
15 diff --git a/media-libs/clutter-gtk/clutter-gtk-1.6.6-r1.ebuild b/media-libs/clutter-gtk/clutter-gtk-1.6.6-r1.ebuild
16 new file mode 100644
17 index 0000000..dfdf563
18 --- /dev/null
19 +++ b/media-libs/clutter-gtk/clutter-gtk-1.6.6-r1.ebuild
20 @@ -0,0 +1,45 @@
21 +# Copyright 1999-2015 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI="5"
26 +GCONF_DEBUG="yes"
27 +GNOME2_LA_PUNT="yes"
28 +
29 +inherit gnome2
30 +
31 +DESCRIPTION="Library for embedding a Clutter canvas (stage) in GTK+"
32 +HOMEPAGE="https://wiki.gnome.org/Projects/Clutter"
33 +LICENSE="LGPL-2.1+"
34 +
35 +SLOT="1.0"
36 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
37 +IUSE="X examples gtk +introspection wayland"
38 +
39 +RDEPEND="
40 + >=x11-libs/gtk+-3.8.0:3[X=,introspection?,wayland=]
41 + >=media-libs/clutter-1.23.7:1.0[X=,gtk=,introspection?,wayland=]
42 + media-libs/cogl:1.0=[introspection?]
43 + introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
44 +"
45 +DEPEND="${RDEPEND}
46 + dev-util/gtk-doc-am
47 + >=sys-devel/gettext-0.18
48 + virtual/pkgconfig
49 +"
50 +
51 +src_configure() {
52 + gnome2_src_configure \
53 + --disable-maintainer-flags \
54 + --enable-deprecated \
55 + $(use_enable introspection)
56 +}
57 +
58 +src_install() {
59 + gnome2_src_install
60 +
61 + if use examples; then
62 + insinto /usr/share/doc/${PF}/examples
63 + doins examples/{*.c,redhand.png}
64 + fi
65 +}