Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gobject-introspection/
Date: Wed, 02 Nov 2016 08:34:05
Message-Id: 1478075620.740520b8f7146edfa3b62421ef6a4893c74cf960.eva@gentoo
1 commit: 740520b8f7146edfa3b62421ef6a4893c74cf960
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 2 08:08:38 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 2 08:33:40 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=740520b8
7
8 dev-libs/gobject-introspection: version bump 1.48.0 → 1.50.0
9
10 Package-Manager: portage-2.3.2
11
12 dev-libs/gobject-introspection/Manifest | 1 +
13 .../gobject-introspection-1.50.0.ebuild | 71 ++++++++++++++++++++++
14 2 files changed, 72 insertions(+)
15
16 diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest
17 index b82167e..e47bc65 100644
18 --- a/dev-libs/gobject-introspection/Manifest
19 +++ b/dev-libs/gobject-introspection/Manifest
20 @@ -1,3 +1,4 @@
21 DIST gobject-introspection-1.44.0.tar.xz 1319168 SHA256 6f0c2c28aeaa37b5037acbf21558098c4f95029b666db755d3a12c2f1e1627ad SHA512 294bee6c935991620e6bfe4bd63d7b5c586079cdc9ac349dd5228f5822f86983a5a4518838c808c3fdd1152cb37f79db5ad8674245939ecad97459ce178f03e7 WHIRLPOOL fb032ae524bdbb011963c58e9d5d4a488fe89d95f2a353d0871176c26f1cb2f276743ec4bb97149f76135565965c173f149f163b78de47b994a5b4b32f3aa6aa
22 DIST gobject-introspection-1.46.0.tar.xz 1359436 SHA256 6658bd3c2b8813eb3e2511ee153238d09ace9d309e4574af27443d87423e4233 SHA512 2bdf988caadd6c4286ed90e35d26e1478d8ca627c8fb34f23d44473d0520f16b6082f0ee4f0acf44769bb5de2354119f2e28595ad8919668bebe5aec4c1ac210 WHIRLPOOL fb6c8570c41ebb06808e994811da2794ce3fe70ea1e5d50dcf2a4e72646efe8d49ce0ca176cecfc0bb6c9a3d7f47c13edd1c238b0e0e9649552793ff62145164
23 DIST gobject-introspection-1.48.0.tar.xz 1371308 SHA256 fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877 SHA512 62b23fd94e19fd7f1557c8bdd045b4ec19b9a39c55ec4b4a75b817fc97f936c6fdbf89fa3ad09ffa707afb542b1c644b718ccaaefe194f681ad40c08d5c53975 WHIRLPOOL c284623cf5b0f6edc4d543fbbbc6b31b2e5ceb119b2fb4da1dbb052673ba79eeadba997f34fcd191f42e320cbd697733986d96ef3c4d8655765d7e586f7dbd54
24 +DIST gobject-introspection-1.50.0.tar.xz 1415700 SHA256 1c6597c666f543c70ef3d7c893ab052968afae620efdc080c36657f4226337c5 SHA512 cb108cf3d49743e1686fe4ae99f2360799bc8825ad97bf0b97e097b3f89e2771079593de0f497a9e5b9cff892f6fbf870834a6c4d13f11bcde99162e9388ecfa WHIRLPOOL 6147c2608c911020800471c30e6c754385efd61fe9f875bb7fad7d161e73cb857fa37c810e66bf0cf16a43aca1ecf6d2e46a6cde90800970f303c7721fdc5edb
25
26 diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild
27 new file mode 100644
28 index 00000000..223b2f9
29 --- /dev/null
30 +++ b/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild
31 @@ -0,0 +1,71 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=6
37 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
38 +PYTHON_REQ_USE="xml"
39 +
40 +inherit gnome2 python-single-r1 toolchain-funcs versionator
41 +
42 +DESCRIPTION="Introspection system for GObject-based libraries"
43 +HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
44 +
45 +LICENSE="LGPL-2+ GPL-2+"
46 +SLOT="0"
47 +IUSE="cairo doctool test"
48 +REQUIRED_USE="
49 + ${PYTHON_REQUIRED_USE}
50 + test? ( cairo )
51 +"
52 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
53 +
54 +# virtual/pkgconfig needed at runtime, bug #505408
55 +# We force glib and g-i to be in sync by this way as explained in bug #518424
56 +RDEPEND="
57 + >=dev-libs/gobject-introspection-common-${PV}
58 + >=dev-libs/glib-2.$(get_version_component_range 2):2
59 + doctool? ( dev-python/mako )
60 + virtual/libffi:=
61 + virtual/pkgconfig
62 + !<dev-lang/vala-0.20.0
63 + ${PYTHON_DEPS}
64 +"
65 +# Wants real bison, not virtual/yacc
66 +DEPEND="${RDEPEND}
67 + >=dev-util/gtk-doc-am-1.19
68 + sys-devel/bison
69 + sys-devel/flex
70 +"
71 +# PDEPEND to avoid circular dependencies, bug #391213
72 +PDEPEND="cairo? ( x11-libs/cairo[glib] )"
73 +
74 +pkg_setup() {
75 + python-single-r1_pkg_setup
76 +}
77 +
78 +src_configure() {
79 + if ! has_version "x11-libs/cairo[glib]"; then
80 + # Bug #391213: enable cairo-gobject support even if it's not installed
81 + # We only PDEPEND on cairo to avoid circular dependencies
82 + export CAIRO_LIBS="-lcairo -lcairo-gobject"
83 + export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
84 + fi
85 +
86 + # To prevent crosscompiling problems, bug #414105
87 + gnome2_src_configure \
88 + --disable-static \
89 + CC="$(tc-getCC)" \
90 + YACC="$(type -p yacc)" \
91 + $(use_with cairo) \
92 + $(use_enable doctool)
93 +}
94 +
95 +src_install() {
96 + gnome2_src_install
97 +
98 + # Prevent collision with gobject-introspection-common
99 + rm -v "${ED}"usr/share/aclocal/introspection.m4 \
100 + "${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
101 + rmdir "${ED}"usr/share/aclocal || die
102 +}