Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gobject-introspection/
Date: Tue, 14 Mar 2023 01:19:09
Message-Id: 1678756531.15eff33f646f4d0b8ea878c51c1c492d530bb547.mattst88@gentoo
1 commit: 15eff33f646f4d0b8ea878c51c1c492d530bb547
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 14 01:15:31 2023 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 14 01:15:31 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15eff33f
7
8 dev-libs/gobject-introspection: Version bump to 1.76.0
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-libs/gobject-introspection/Manifest | 1 +
13 .../gobject-introspection-1.76.0.ebuild | 79 ++++++++++++++++++++++
14 2 files changed, 80 insertions(+)
15
16 diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest
17 index 883ececc6deb..4a7f9abc5e4b 100644
18 --- a/dev-libs/gobject-introspection/Manifest
19 +++ b/dev-libs/gobject-introspection/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gobject-introspection-1.74.0.tar.xz 1044008 BLAKE2B 223bb9b8b452f03945f941086e47fb3b14f03f8353f4f903b21e3f494af728652a44de986752374057e90dd8111f21f5b0cd3e00bb0a8c3aa25c8261bb0b9247 SHA512 decff5dda0ec5ec0afda4d6bcd3bdadcbf34289002c0d9c0c77ecf8c5d3f15d196b24d8035041545031006acbdfe76af47c42da061c40e200c87f2c74cd301f0
22 DIST gobject-introspection-1.75.6.tar.xz 1054100 BLAKE2B 3fb76550fc4f0ede1f0af93ef15d9923d25408ffc7d4f10fa4e10830ce1c7055760ec0fb11985f977eee9e81066e0712b4b6271398febd3e7592919db0335998 SHA512 6fb7b82c46eb79336ec654d34c94213bafd5ea6b293050698714c26afc929c73b6abbe75e09e992f0cccb7168f638a40219d6708e2758f620551a7b39306e0fb
23 +DIST gobject-introspection-1.76.0.tar.xz 1054488 BLAKE2B b5cc25977cf0a61b93fb98919f2c0e30e770431fdd4cfe85a564c50f9bd5e6ea9fec2b61c0b58f98c326c3007c361e1de0aee961538bcfd3b41fdb2a7e48a40b SHA512 76f3d2a74afbc3c819dee9350c39024b8665e704e01f63f877b431d59db42ee52ff636cb314c6be6e30b06bb21286ef37255467cc28ba434dc4dd72edc0cf8e9
24
25 diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.76.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.76.0.ebuild
26 new file mode 100644
27 index 000000000000..7362abb83315
28 --- /dev/null
29 +++ b/dev-libs/gobject-introspection/gobject-introspection-1.76.0.ebuild
30 @@ -0,0 +1,79 @@
31 +# Copyright 1999-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{9..11} )
37 +PYTHON_REQ_USE="xml(+)"
38 +inherit gnome.org meson python-single-r1 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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-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.75.0:2
54 + dev-libs/libffi:=
55 + doctool? (
56 + $(python_gen_cond_dep '
57 + dev-python/mako[${PYTHON_USEDEP}]
58 + dev-python/markdown[${PYTHON_USEDEP}]
59 + ')
60 + )
61 + virtual/pkgconfig
62 + ${PYTHON_DEPS}
63 +"
64 +# Wants real bison, not app-alternatives/yacc
65 +DEPEND="${RDEPEND}"
66 +BDEPEND="
67 + gtk-doc? (
68 + >=dev-util/gtk-doc-1.19
69 + app-text/docbook-xml-dtd:4.3
70 + app-text/docbook-xml-dtd:4.5
71 + )
72 + sys-devel/bison
73 + sys-devel/flex
74 + test? (
75 + x11-libs/cairo[glib]
76 + $(python_gen_cond_dep '
77 + dev-python/mako[${PYTHON_USEDEP}]
78 + dev-python/markdown[${PYTHON_USEDEP}]
79 + ')
80 + )
81 +"
82 +
83 +pkg_setup() {
84 + python-single-r1_pkg_setup
85 +}
86 +
87 +src_configure() {
88 + local emesonargs=(
89 + $(meson_feature test cairo)
90 + $(meson_feature doctool)
91 + #-Dglib_src_dir
92 + $(meson_use gtk-doc gtk_doc)
93 + #-Dcairo_libname
94 + -Dpython="${EPYTHON}"
95 + #-Dgir_dir_prefix
96 + )
97 + meson_src_configure
98 +}
99 +
100 +src_install() {
101 + meson_src_install
102 + python_fix_shebang "${ED}"/usr/bin/
103 + python_optimize "${ED}"/usr/$(get_libdir)/gobject-introspection/giscanner
104 +
105 + # Prevent collision with gobject-introspection-common
106 + rm -v "${ED}"/usr/share/aclocal/introspection.m4 \
107 + "${ED}"/usr/share/gobject-introspection-1.0/Makefile.introspection || die
108 + rmdir "${ED}"/usr/share/aclocal || die
109 +}