diff options
| author | Sam James <sam@gentoo.org> | 2024-12-02 21:42:02 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-12-02 21:43:19 +0000 |
| commit | 56bdbdc6e35c38ee9100ea5914edd89d7232d1f7 (patch) | |
| tree | b2cf46a61d92483ca5965262cddecf17977bbd6c /dev-libs/gobject-introspection/gobject-introspection-1.80.1-r2.ebuild | |
| parent | 453e85f4bc2a567710f2d7659504fbdc76d0897e (diff) | |
| download | gentoo-56bdbdc6e35c38ee9100ea5914edd89d7232d1f7.tar.gz gentoo-56bdbdc6e35c38ee9100ea5914edd89d7232d1f7.tar.bz2 gentoo-56bdbdc6e35c38ee9100ea5914edd89d7232d1f7.zip | |
dev-libs/gobject-introspection: depend on dev-libs/glib[introspection]
This should be fine to just do given everything assumes gobject-introspection
brings along glib. It's arguably a bit unclean semantically but then so
are circular dependencies.
Discussed with leio a bit.
Bug: https://bugs.gentoo.org/937616
Closes: https://bugs.gentoo.org/945761
Closes: https://bugs.gentoo.org/945748
Closes: https://bugs.gentoo.org/945747
Closes: https://bugs.gentoo.org/945745
Closes: https://bugs.gentoo.org/945742
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/gobject-introspection/gobject-introspection-1.80.1-r2.ebuild')
| -rw-r--r-- | dev-libs/gobject-introspection/gobject-introspection-1.80.1-r2.ebuild | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.80.1-r2.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.80.1-r2.ebuild deleted file mode 100644 index c692b7610bca..000000000000 --- a/dev-libs/gobject-introspection/gobject-introspection-1.80.1-r2.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# 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" - -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -IUSE="doctool gtk-doc test" -RESTRICT="!test? ( test )" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# virtual/pkgconfig needed at runtime, bug #505408 -RDEPEND=" - >=dev-libs/gobject-introspection-common-${PV} - >=dev-libs/glib-2.79.0:2 - dev-libs/libffi:= - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - 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}] - ') - ) -" - -PATCHES=( - # https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/490 - "${FILESDIR}/${PN}-1.80.1-setuptools-74.patch" -) - -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 -} |
