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.40.0-r1.ebuild ChangeLog gobject-introspection-1.40.0.ebuild
Date: Sat, 02 Aug 2014 09:37:55
Message-Id: 20140802093747.E7F232004E@flycatcher.gentoo.org
1 pacho 14/08/02 09:37:46
2
3 Modified: ChangeLog
4 Added: gobject-introspection-1.40.0-r1.ebuild
5 Removed: gobject-introspection-1.40.0.ebuild
6 Log:
7 Revbump to force it's rebuilt with proper glib version
8
9 (Portage version: 2.2.10/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key A188FBD4)
10
11 Revision Changes Path
12 1.123 dev-libs/gobject-introspection/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.123&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.123&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?r1=1.122&r2=1.123
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v
21 retrieving revision 1.122
22 retrieving revision 1.123
23 diff -u -r1.122 -r1.123
24 --- ChangeLog 2 Aug 2014 09:17:09 -0000 1.122
25 +++ ChangeLog 2 Aug 2014 09:37:46 -0000 1.123
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-libs/gobject-introspection
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.122 2014/08/02 09:17:09 pacho Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.123 2014/08/02 09:37:46 pacho Exp $
31 +
32 +*gobject-introspection-1.40.0-r1 (02 Aug 2014)
33 +
34 + 02 Aug 2014; Pacho Ramos <pacho@g.o>
35 + +gobject-introspection-1.40.0-r1.ebuild, -gobject-introspection-1.40.0.ebuild:
36 + Revbump to force it's rebuilt with proper glib version
37
38 02 Aug 2014; Pacho Ramos <pacho@g.o>
39 gobject-introspection-1.40.0.ebuild:
40
41
42
43 1.1 dev-libs/gobject-introspection/gobject-introspection-1.40.0-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.40.0-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.40.0-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: gobject-introspection-1.40.0-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 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.40.0-r1.ebuild,v 1.1 2014/08/02 09:37:46 pacho 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 versionator
60
61 DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
62 HOMEPAGE="https://wiki.gnome.org/Projects/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 # virtual/pkgconfig needed at runtime, bug #505408
74 # We force glib and goi to be in sync by this way as explained in bug #518424
75 RDEPEND="
76 >=dev-libs/gobject-introspection-common-${PV}
77 >=dev-libs/glib-2.$(get_version_component_range 2):2
78 doctool? ( dev-python/mako )
79 virtual/libffi:=
80 virtual/pkgconfig
81 !<dev-lang/vala-0.20.0
82 ${PYTHON_DEPS}
83 "
84 # Wants real bison, not virtual/yacc
85 DEPEND="${RDEPEND}
86 >=dev-util/gtk-doc-am-1.19
87 sys-devel/bison
88 sys-devel/flex
89 "
90 # PDEPEND to avoid circular dependencies, bug #391213
91 PDEPEND="cairo? ( x11-libs/cairo[glib] )"
92
93 pkg_setup() {
94 python-single-r1_pkg_setup
95 }
96
97 src_configure() {
98 if ! has_version "x11-libs/cairo[glib]"; then
99 # Bug #391213: enable cairo-gobject support even if it's not installed
100 # We only PDEPEND on cairo to avoid circular dependencies
101 export CAIRO_LIBS="-lcairo -lcairo-gobject"
102 export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
103 fi
104
105 # To prevent crosscompiling problems, bug #414105
106 gnome2_src_configure \
107 --disable-static \
108 CC=$(tc-getCC) \
109 YACC=$(type -p yacc) \
110 $(use_with cairo) \
111 $(use_enable doctool)
112 }
113
114 src_install() {
115 DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
116 gnome2_src_install
117
118 # Prevent collision with gobject-introspection-common
119 rm -v "${ED}"usr/share/aclocal/introspection.m4 \
120 "${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
121 rmdir "${ED}"usr/share/aclocal || die
122 }