Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/gobject-introspection: ChangeLog gobject-introspection-1.38.0.ebuild
Date: Mon, 23 Dec 2013 22:54:09
Message-Id: 20131223225405.369872004C@flycatcher.gentoo.org
1 eva 13/12/23 22:54:05
2
3 Modified: ChangeLog
4 Added: gobject-introspection-1.38.0.ebuild
5 Log:
6 Version bump for Gnome 3.10. Move configure stuff to src_configure where it belongs.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.103 dev-libs/gobject-introspection/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.103&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.103&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?r1=1.102&r2=1.103
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v
20 retrieving revision 1.102
21 retrieving revision 1.103
22 diff -u -r1.102 -r1.103
23 --- ChangeLog 22 Dec 2013 15:53:24 -0000 1.102
24 +++ ChangeLog 23 Dec 2013 22:54:05 -0000 1.103
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-libs/gobject-introspection
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.102 2013/12/22 15:53:24 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.103 2013/12/23 22:54:05 eva Exp $
30 +
31 +*gobject-introspection-1.38.0 (23 Dec 2013)
32 +
33 + 23 Dec 2013; Gilles Dartiguelongue <eva@g.o>
34 + +gobject-introspection-1.38.0.ebuild:
35 + Version bump for Gnome 3.10. Move configure stuff to src_configure where it
36 + belongs.
37
38 22 Dec 2013; Jeroen Roovers <jer@g.o>
39 gobject-introspection-1.36.0-r1.ebuild:
40
41
42
43 1.1 dev-libs/gobject-introspection/gobject-introspection-1.38.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.38.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.38.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gobject-introspection-1.38.0.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.38.0.ebuild,v 1.1 2013/12/23 22:54:05 eva Exp $
53
54 EAPI="5"
55 GCONF_DEBUG="no"
56 PYTHON_COMPAT=( python2_7 )
57 PYTHON_REQ_USE="xml"
58
59 inherit gnome2 python-single-r1 toolchain-funcs
60
61 DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
62 HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
63
64 LICENSE="LGPL-2+ GPL-2+"
65 SLOT="0"
66 IUSE="cairo doctool test"
67 REQUIRED_USE="
68 ${PYTHON_REQUIRED_USE}
69 test? ( cairo )
70 "
71 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
72
73 RDEPEND="
74 >=dev-libs/gobject-introspection-common-${PV}
75 >=dev-libs/glib-2.36:2
76 doctool? ( dev-python/mako )
77 virtual/libffi:=
78 !<dev-lang/vala-0.20.0
79 ${PYTHON_DEPS}
80 "
81 # Wants real bison, not virtual/yacc
82 DEPEND="${RDEPEND}
83 >=dev-util/gtk-doc-am-1.15
84 sys-devel/bison
85 sys-devel/flex
86 virtual/pkgconfig
87 "
88 # PDEPEND to avoid circular dependencies, bug #391213
89 PDEPEND="cairo? ( x11-libs/cairo[glib] )"
90
91 pkg_setup() {
92 python-single-r1_pkg_setup
93 }
94
95 src_configure() {
96 if ! has_version "x11-libs/cairo[glib]"; then
97 # Bug #391213: enable cairo-gobject support even if it's not installed
98 # We only PDEPEND on cairo to avoid circular dependencies
99 export CAIRO_LIBS="-lcairo -lcairo-gobject"
100 export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
101 fi
102
103 # To prevent crosscompiling problems, bug #414105
104 gnome2_src_configure \
105 --disable-static \
106 CC=$(tc-getCC) \
107 YACC=$(type -p yacc) \
108 $(use_with cairo) \
109 $(use_enable doctool)
110 }
111
112 src_install() {
113 DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
114 gnome2_src_install
115
116 # Prevent collision with gobject-introspection-common
117 rm -v "${ED}"usr/share/aclocal/introspection.m4 \
118 "${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
119 rmdir "${ED}"usr/share/aclocal || die
120 }