Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/mash: metadata.xml ChangeLog mash-0.2.0-r1.ebuild
Date: Fri, 28 Oct 2011 20:56:05
Message-Id: 20111028205554.E9DB420033@flycatcher.gentoo.org
1 tetromino 11/10/28 20:55:54
2
3 Added: metadata.xml ChangeLog mash-0.2.0-r1.ebuild
4 Log:
5 New ebuild, moved from gnome overlay. Needed for gnome-color-manager-3.2.
6
7 (Portage version: 2.2.0_alpha71/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-libs/mash/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mash/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mash/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>gnome</herd>
21 <use>
22 <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
23 for introspection</flag>
24 </use>
25 </pkgmetadata>
26
27
28
29 1.1 media-libs/mash/ChangeLog
30
31 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mash/ChangeLog?rev=1.1&view=markup
32 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mash/ChangeLog?rev=1.1&content-type=text/plain
33
34 Index: ChangeLog
35 ===================================================================
36 # ChangeLog for media-libs/mash
37 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
38 # $Header: /var/cvsroot/gentoo-x86/media-libs/mash/ChangeLog,v 1.1 2011/10/28 20:55:54 tetromino Exp $
39
40 *mash-0.2.0-r1 (28 Oct 2011)
41
42 28 Oct 2011; Alexandre Rostovtsev <tetromino@g.o>
43 +mash-0.2.0-r1.ebuild, +metadata.xml:
44 New ebuild, moved from gnome overlay. Needed for gnome-color-manager-3.2.
45
46
47
48
49 1.1 media-libs/mash/mash-0.2.0-r1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mash/mash-0.2.0-r1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mash/mash-0.2.0-r1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: mash-0.2.0-r1.ebuild
55 ===================================================================
56 # Copyright 1999-2011 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/media-libs/mash/mash-0.2.0-r1.ebuild,v 1.1 2011/10/28 20:55:54 tetromino Exp $
59
60 EAPI="4"
61 GCONF_DEBUG="no"
62 GNOME2_LA_PUNT="yes"
63
64 # clutter.eclass does not support .xz tarballs
65 inherit gnome2 versionator
66 RV=($(get_version_components))
67 SRC_URI="http://source.clutter-project.org/sources/${PN}/${RV[0]}.${RV[1]}/${P}.tar.xz"
68
69 DESCRIPTION="A library for rendering 3D models with Clutter"
70 HOMEPAGE="http://wiki.clutter-project.org/wiki/Mash"
71
72 LICENSE="LGPL-2.1"
73 SLOT="0.2"
74 IUSE="doc examples +introspection"
75 KEYWORDS="~amd64 ~x86"
76
77 # Automagically detects x11-libs/mx, but only uses it for building examples.
78 # Note: mash is using a bundled copy of rply because mash developers have
79 # modified its API by adding extra arguments to various functions.
80 RDEPEND=">=dev-libs/glib-2.16:2
81 >=media-libs/clutter-1.5.10:1.0[introspection?]
82 virtual/opengl
83
84 introspection? ( >=dev-libs/gobject-introspection-0.6.1 )"
85 DEPEND="${RDEPEND}
86 dev-util/pkgconfig
87 doc? ( >=dev-util/gtk-doc-1.14 )"
88
89 pkg_setup() {
90 DOCS="AUTHORS NEWS README"
91 G2CONF="${G2CONF}
92 --disable-static
93 $(use_enable introspection)"
94 }
95
96 src_install() {
97 gnome2_src_install
98
99 if use examples; then
100 insinto /usr/share/doc/${PF}/examples
101 doins example/{*.c,*.ply}
102 fi
103 }