commit:     87757767aae114d32059400fd72d1a59656f8382
Author:     Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
AuthorDate: Thu Jan 18 01:35:13 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Aug  9 09:53:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87757767

dev-libs/gobject-introspection: Bump to 1.80.1

Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-libs/gobject-introspection/Manifest            |  1 +
 .../gobject-introspection-1.80.1.ebuild            | 80 ++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/dev-libs/gobject-introspection/Manifest 
b/dev-libs/gobject-introspection/Manifest
index dcf0501a11b1..f2b1f664fb16 100644
--- a/dev-libs/gobject-introspection/Manifest
+++ b/dev-libs/gobject-introspection/Manifest
@@ -1,2 +1,3 @@
 DIST gobject-introspection-1.76.1.tar.xz 1055416 BLAKE2B 
2251c34b543c95f95bdec6853c8234db1b2e6271e729eaa5abf28e39c7718b326e0813a1214c62fb4634fd11218c4c856e6651de09081b01c9fcf8f73b8cf316
 SHA512 
84331a30f8854d2259609650c21aadd6363ea1417a75828bd395f8f4346da1c6d6550cff5f2c9f5f6fd6fbf2a9d27b5880c2ee1616fa905c5f362384d481a916
 DIST gobject-introspection-1.78.1.tar.xz 1060296 BLAKE2B 
115cf9ea27cec2d8d3a84081c909b72144fd1568bc316677c26f49652dc93b34fba10701678ad4977dcf97a89f7608545fbd2d73c2503c87635b2102e66ae024
 SHA512 
a3081882995a762645b04faa71082dbd523bee845519007e48b13235aad8a4cd4c74f0d042a6c17710125f945bd970e4b76e95a559274e294d595e04725a4e97
+DIST gobject-introspection-1.80.1.tar.xz 1040228 BLAKE2B 
7a8c1da9bc8aef293deedde1eed97536fa2f42f79a9761ac8ededb0676e46b636545a69e20e63d812844aeb626fa4fb7ce3c7922e51554fdc79560f16443acd9
 SHA512 
f45c2c1b105086488d974c6134db9910746df8edb187772f2ecd249656a1047c8ac88ba51f5bf7393c3d99c3ace143ecd09be256c2f4d0ceee110c9ad51a839a

diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.80.1.ebuild 
b/dev-libs/gobject-introspection/gobject-introspection-1.80.1.ebuild
new file mode 100644
index 000000000000..e0d7a1fb2d84
--- /dev/null
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.80.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="xml(+)"
+inherit gnome.org meson python-single-r1 xdg
+
+DESCRIPTION="Introspection system for GObject-based libraries"
+HOMEPAGE="https://gi.readthedocs.io/";
+
+LICENSE="LGPL-2+ GPL-2+"
+SLOT="0"
+IUSE="doctool gtk-doc test"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
+
+# virtual/pkgconfig needed at runtime, bug #505408
+RDEPEND="
+       >=dev-libs/gobject-introspection-common-${PV}
+       >=dev-libs/glib-2.79.0:2
+       dev-libs/libffi:=
+       doctool? (
+               $(python_gen_cond_dep '
+                       dev-python/mako[${PYTHON_USEDEP}]
+                       dev-python/markdown[${PYTHON_USEDEP}]
+               ')
+       )
+       virtual/pkgconfig
+       ${PYTHON_DEPS}
+"
+# Wants real bison, not app-alternatives/yacc
+DEPEND="${RDEPEND}"
+BDEPEND="
+       gtk-doc? (
+               >=dev-util/gtk-doc-1.19
+               app-text/docbook-xml-dtd:4.3
+               app-text/docbook-xml-dtd:4.5
+       )
+       sys-devel/bison
+       app-alternatives/lex
+       test? (
+               x11-libs/cairo[glib]
+               $(python_gen_cond_dep '
+                       dev-python/mako[${PYTHON_USEDEP}]
+                       dev-python/markdown[${PYTHON_USEDEP}]
+               ')
+       )
+"
+
+pkg_setup() {
+       python-single-r1_pkg_setup
+}
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature test cairo)
+               $(meson_feature doctool)
+               #-Dglib_src_dir
+               $(meson_use gtk-doc gtk_doc)
+               #-Dcairo_libname
+               -Dpython="${EPYTHON}"
+               -Dbuild_introspection_data=true
+               #-Dgir_dir_prefix
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+       python_fix_shebang "${ED}"/usr/bin/
+       python_optimize 
"${ED}"/usr/$(get_libdir)/gobject-introspection/giscanner
+
+       # Prevent collision with gobject-introspection-common
+       rm -v "${ED}"/usr/share/aclocal/introspection.m4 \
+               
"${ED}"/usr/share/gobject-introspection-1.0/Makefile.introspection || die
+       rmdir "${ED}"/usr/share/aclocal || die
+}

Reply via email to