Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/gobject-introspection: gobject-introspection-1.36.0.ebuild ChangeLog
Date: Thu, 28 Mar 2013 16:43:17
Message-Id: 20130328164312.701852171C@flycatcher.gentoo.org
1 pacho 13/03/28 16:43:12
2
3 Modified: ChangeLog
4 Added: gobject-introspection-1.36.0.ebuild
5 Log:
6 Version bump for Gnome 3.8
7
8 (Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.89 dev-libs/gobject-introspection/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.89&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.89&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?r1=1.88&r2=1.89
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v
20 retrieving revision 1.88
21 retrieving revision 1.89
22 diff -u -r1.88 -r1.89
23 --- ChangeLog 5 Mar 2013 23:13:55 -0000 1.88
24 +++ ChangeLog 28 Mar 2013 16:43:12 -0000 1.89
25 @@ -1,6 +1,12 @@
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.88 2013/03/05 23:13:55 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.89 2013/03/28 16:43:12 pacho Exp $
30 +
31 +*gobject-introspection-1.36.0 (28 Mar 2013)
32 +
33 + 28 Mar 2013; Pacho Ramos <pacho@g.o>
34 + +gobject-introspection-1.36.0.ebuild:
35 + Version bump for Gnome 3.8
36
37 05 Mar 2013; Gilles Dartiguelongue <eva@g.o>
38 -gobject-introspection-1.30.0-r2.ebuild,
39
40
41
42 1.1 dev-libs/gobject-introspection/gobject-introspection-1.36.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.36.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.36.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gobject-introspection-1.36.0.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.36.0.ebuild,v 1.1 2013/03/28 16:43:12 pacho Exp $
52
53 EAPI="5"
54 GCONF_DEBUG="no"
55 PYTHON_COMPAT=( python2_7 )
56 PYTHON_REQ_USE="xml"
57
58 inherit eutils gnome2 python-single-r1 toolchain-funcs
59
60 DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
61 HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
62
63 LICENSE="LGPL-2+ GPL-2+"
64 SLOT="0"
65 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"
66
67 IUSE="cairo doctool test"
68
69 RDEPEND="
70 >=dev-libs/gobject-introspection-common-${PV}
71 >=dev-libs/glib-2.36:2
72 doctool? ( dev-python/mako )
73 virtual/libffi:=
74 "
75 # Wants real bison, not virtual/yacc
76 DEPEND="${RDEPEND}
77 >=dev-util/gtk-doc-am-1.15
78 sys-devel/bison
79 sys-devel/flex
80 virtual/pkgconfig
81 "
82 # PDEPEND to avoid circular dependencies, bug #391213
83 PDEPEND="cairo? ( x11-libs/cairo[glib] )"
84
85 pkg_setup() {
86 python-single-r1_pkg_setup
87 }
88
89 src_prepare() {
90 # To prevent crosscompiling problems, bug #414105
91 CC=$(tc-getCC)
92
93 DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
94 gnome2_src_prepare
95
96 # avoid GNU-isms
97 sed -i -e 's/\(if test .* \)==/\1=/' configure || die
98
99 gi_skip_tests=
100 if ! has_version "x11-libs/cairo[glib]"; then
101 # Bug #391213: enable cairo-gobject support even if it's not installed
102 # We only PDEPEND on cairo to avoid circular dependencies
103 export CAIRO_LIBS="-lcairo -lcairo-gobject"
104 export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
105 if use test; then
106 G2CONF="${G2CONF} --disable-tests"
107 gi_skip_tests=yes
108 ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
109 ewarn "on your system. Consider installing it to get tests to run."
110 fi
111 fi
112 }
113 src_configure(){
114 gnome2_src_configure \
115 --disable-static \
116 YACC=$(type -p yacc) \
117 $(use_with cairo) \
118 $(use_enable doctool) \
119 $(use_enable test tests)
120 }
121 src_test() {
122 [[ -z ${gi_skip_tests} ]] && default
123 }
124
125 src_install() {
126 gnome2_src_install
127
128 # Prevent collision with gobject-introspection-common
129 rm -v "${ED}"usr/share/aclocal/introspection.m4 \
130 "${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
131 rmdir "${ED}"usr/share/aclocal || die
132 }