1 |
commit: 351fa1d9aaf01c90b8250f382e835ce8323117fb |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 1 12:03:05 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 1 16:17:37 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=351fa1d9 |
7 |
|
8 |
dev-libs/gobject-introspection: bump to 1.62.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
dev-libs/gobject-introspection/Manifest | 1 + |
14 |
.../gobject-introspection-1.62.0.ebuild | 71 ++++++++++++++++++++++ |
15 |
2 files changed, 72 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest |
18 |
index 0cc4d4adb46..83ad50553dd 100644 |
19 |
--- a/dev-libs/gobject-introspection/Manifest |
20 |
+++ b/dev-libs/gobject-introspection/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST gobject-introspection-1.60.2.tar.xz 1285000 BLAKE2B 43d96bbac8dd6600726876277f945e7eb01dba2063907c21960cbf5f49d766ac156ed116641b69dfe28f3025c4b482ffd39e8e107aba9ee48010a500111a58e4 SHA512 8e8c1c3a025cb6c18933302ada8cce7c4826f22eef791c80a97abb28379239f8d99312e1237bcea1060f4d5cf65441909b9da434561982209bb4976b1f22529e |
23 |
+DIST gobject-introspection-1.62.0.tar.xz 980732 BLAKE2B 96ecc98bea97b7cb24e2c0a0adb8158cfc8915ee8e3b980adf08ec3256d4d0f87bc92d33cce30f5b23c85c4b144d8da755e5313735091b27ff53fea45a80014e SHA512 b460a95fd7a323e9b0c9a45e680ebe98bbae7632abfa53b3e0b0ec050775cab17dde693314d6d4f8e93614c32b5587f8ce0b4a4c9ee9ba46c029ce029014e638 |
24 |
|
25 |
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.62.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.62.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..36d5872fa61 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.62.0.ebuild |
30 |
@@ -0,0 +1,71 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+PYTHON_REQ_USE="xml" |
38 |
+inherit gnome.org meson python-single-r1 toolchain-funcs xdg |
39 |
+ |
40 |
+DESCRIPTION="Introspection system for GObject-based libraries" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection" |
42 |
+ |
43 |
+LICENSE="LGPL-2+ GPL-2+" |
44 |
+SLOT="0" |
45 |
+IUSE="doctool gtk-doc test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+ |
50 |
+# virtual/pkgconfig needed at runtime, bug #505408 |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/gobject-introspection-common-${PV} |
53 |
+ >=dev-libs/glib-2.58.0:2 |
54 |
+ dev-libs/libffi:= |
55 |
+ doctool? ( |
56 |
+ $(python_gen_cond_dep ' |
57 |
+ dev-python/mako[${PYTHON_MULTI_USEDEP}] |
58 |
+ dev-python/markdown[${PYTHON_MULTI_USEDEP}] |
59 |
+ ') |
60 |
+ ) |
61 |
+ virtual/pkgconfig |
62 |
+ ${PYTHON_DEPS} |
63 |
+" |
64 |
+# Wants real bison, not virtual/yacc |
65 |
+DEPEND="${RDEPEND} |
66 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.19 |
67 |
+ app-text/docbook-xml-dtd:4.3 |
68 |
+ app-text/docbook-xml-dtd:4.5 |
69 |
+ ) |
70 |
+ sys-devel/bison |
71 |
+ sys-devel/flex |
72 |
+ test? ( x11-libs/cairo[glib] ) |
73 |
+" |
74 |
+ |
75 |
+pkg_setup() { |
76 |
+ python-single-r1_pkg_setup |
77 |
+} |
78 |
+ |
79 |
+src_configure() { |
80 |
+ local emesonargs=( |
81 |
+ $(meson_use test cairo) |
82 |
+ $(meson_use doctool) |
83 |
+ #-Dglib_src_dir |
84 |
+ $(meson_use gtk-doc gtk_doc) |
85 |
+ #-Dcairo_libname |
86 |
+ -Dpython="${EPYTHON}" |
87 |
+ #-Dgir_dir_prefix |
88 |
+ ) |
89 |
+ meson_src_configure |
90 |
+} |
91 |
+ |
92 |
+src_install() { |
93 |
+ meson_src_install |
94 |
+ python_fix_shebang "${ED}"/usr/bin/ |
95 |
+ python_optimize "${ED}"/usr/$(get_libdir)/gobject-introspection/giscanner |
96 |
+ |
97 |
+ # Prevent collision with gobject-introspection-common |
98 |
+ rm -v "${ED}"/usr/share/aclocal/introspection.m4 \ |
99 |
+ "${ED}"/usr/share/gobject-introspection-1.0/Makefile.introspection || die |
100 |
+ rmdir "${ED}"/usr/share/aclocal || die |
101 |
+} |