1 |
commit: 9209b919ea34f5432fe99fec73bc768806f19831 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 18 15:59:23 2021 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 18 16:05:22 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9209b919 |
7 |
|
8 |
dev-libs/gobject-introspection: bump to 1.70.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
dev-libs/gobject-introspection/Manifest | 1 + |
14 |
.../gobject-introspection-1.70.0.ebuild | 77 ++++++++++++++++++++++ |
15 |
profiles/package.mask | 1 + |
16 |
3 files changed, 79 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest |
19 |
index bdfba874bc5..876524d19fb 100644 |
20 |
--- a/dev-libs/gobject-introspection/Manifest |
21 |
+++ b/dev-libs/gobject-introspection/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST gobject-introspection-1.68.0.tar.xz 1019732 BLAKE2B 2f99cc9cec5ea05f1a5fa4473d1ad424cc1f6b097075f798e89cf740519db180417a3f0de37afc8a0cf0771436a9d9f7d6193b69289dfb47ec077d33a7d27c91 SHA512 d2e64c119aa500b624a57baa2cebe9126ab100003d98b771f4fb51cf92748635de352997f702f40656f7c665f3dfedfbfa19912cc7a2d039d254555243bbc381 |
24 |
+DIST gobject-introspection-1.70.0.tar.xz 1029372 BLAKE2B a649ea77b2b7ca392202e21a7f4814aafe57afea7fedb39e78f1df1cd97d0437207c3807a51ece6c9e9bce51fdf961ee7438ccd4efd84b45dbdb57ae19a39272 SHA512 216b376ed423f607e36c723dd6b67975dbfb63c253f2d8bd0b3661e3d69f8c8059cf221db8c5260b0262fad1b7d738f3b2e5fbd51fdbc31e40ccb115c209baf0 |
25 |
|
26 |
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.70.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.70.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..7c203556a91 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.70.0.ebuild |
31 |
@@ -0,0 +1,77 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+PYTHON_REQ_USE="xml" |
39 |
+inherit gnome.org meson python-single-r1 xdg |
40 |
+ |
41 |
+DESCRIPTION="Introspection system for GObject-based libraries" |
42 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection" |
43 |
+ |
44 |
+LICENSE="LGPL-2+ GPL-2+" |
45 |
+SLOT="0" |
46 |
+IUSE="doctool gtk-doc test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
+ |
51 |
+# virtual/pkgconfig needed at runtime, bug #505408 |
52 |
+RDEPEND=" |
53 |
+ >=dev-libs/gobject-introspection-common-${PV} |
54 |
+ >=dev-libs/glib-2.58.0:2 |
55 |
+ dev-libs/libffi:= |
56 |
+ doctool? ( |
57 |
+ $(python_gen_cond_dep ' |
58 |
+ dev-python/mako[${PYTHON_USEDEP}] |
59 |
+ dev-python/markdown[${PYTHON_USEDEP}] |
60 |
+ ') |
61 |
+ ) |
62 |
+ virtual/pkgconfig |
63 |
+ ${PYTHON_DEPS} |
64 |
+" |
65 |
+# Wants real bison, not virtual/yacc |
66 |
+DEPEND="${RDEPEND} |
67 |
+ gtk-doc? ( >=dev-util/gtk-doc-1.19 |
68 |
+ app-text/docbook-xml-dtd:4.3 |
69 |
+ app-text/docbook-xml-dtd:4.5 |
70 |
+ ) |
71 |
+ sys-devel/bison |
72 |
+ sys-devel/flex |
73 |
+ test? ( |
74 |
+ x11-libs/cairo[glib] |
75 |
+ $(python_gen_cond_dep ' |
76 |
+ dev-python/mako[${PYTHON_USEDEP}] |
77 |
+ dev-python/markdown[${PYTHON_USEDEP}] |
78 |
+ ') |
79 |
+ ) |
80 |
+" |
81 |
+ |
82 |
+pkg_setup() { |
83 |
+ python-single-r1_pkg_setup |
84 |
+} |
85 |
+ |
86 |
+src_configure() { |
87 |
+ local emesonargs=( |
88 |
+ $(meson_feature test cairo) |
89 |
+ $(meson_feature doctool) |
90 |
+ #-Dglib_src_dir |
91 |
+ $(meson_use gtk-doc gtk_doc) |
92 |
+ #-Dcairo_libname |
93 |
+ -Dpython="${EPYTHON}" |
94 |
+ #-Dgir_dir_prefix |
95 |
+ ) |
96 |
+ meson_src_configure |
97 |
+} |
98 |
+ |
99 |
+src_install() { |
100 |
+ meson_src_install |
101 |
+ python_fix_shebang "${ED}"/usr/bin/ |
102 |
+ python_optimize "${ED}"/usr/$(get_libdir)/gobject-introspection/giscanner |
103 |
+ |
104 |
+ # Prevent collision with gobject-introspection-common |
105 |
+ rm -v "${ED}"/usr/share/aclocal/introspection.m4 \ |
106 |
+ "${ED}"/usr/share/gobject-introspection-1.0/Makefile.introspection || die |
107 |
+ rmdir "${ED}"/usr/share/aclocal || die |
108 |
+} |
109 |
|
110 |
diff --git a/profiles/package.mask b/profiles/package.mask |
111 |
index 0e791603226..746364dc0d6 100644 |
112 |
--- a/profiles/package.mask |
113 |
+++ b/profiles/package.mask |
114 |
@@ -82,6 +82,7 @@ net-libs/libsoup:3.0 |
115 |
>=dev-libs/glib-2.69 |
116 |
>=net-libs/glib-networking-2.69 |
117 |
>=dev-libs/gobject-introspection-common-1.69 |
118 |
+>=dev-libs/gobject-introspection-1.69 |
119 |
|
120 |
# Ionen Wolkens <ionen@g.o> (2021-09-12) |
121 |
# No reverse dependencies, stuck on EAPI-5. |