gentoo-ebuilds/x11-libs/goffice/goffice-0.10.59-r1.ebuild
Alfred Wingate d83e25b6a5
*/*: depend on newer gobject-introspection as a workaround
sed -E '/dev-libs\/gobject-introspection(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-libs\/gobject-introspection(-[0-9.r-]*)?/>=dev-libs\/gobject-introspection-1.82.0-r2/ }' */*/*.ebuild -i

+ manually going over to undo the false positives or if the version
  requirement was higher.

Bug: https://bugs.gentoo.org/947058
See-Also: ae37e3f389
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44336
Closes: https://github.com/gentoo/gentoo/pull/44336
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-26 03:26:28 +00:00

64 lines
1.4 KiB
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org libtool
DESCRIPTION="A library of document-centric objects and utilities"
HOMEPAGE="https://gitlab.gnome.org/GNOME/goffice/"
LICENSE="GPL-2"
SLOT="0.10"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~mips ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
IUSE="+introspection"
# FIXME: add lasem to tree
RDEPEND="
>=app-text/libspectre-0.2.6:=
>=dev-libs/glib-2.40.0:2
>=dev-libs/libxml2-2.4.12:2=
dev-libs/libxslt
>=gnome-base/librsvg-2.22:2
>=gnome-extra/libgsf-1.14.24:=[introspection?]
>=x11-libs/cairo-1.10:=[svg(+)]
>=x11-libs/gdk-pixbuf-2.22:2
>=x11-libs/gtk+-3.20:3
>=x11-libs/pango-1.24:=
x11-libs/libXext:=
x11-libs/libXrender:=
introspection? (
>=dev-libs/gobject-introspection-1.82.0-r2:=
>=gnome-extra/libgsf-1.14.23:=
)"
DEPEND="${RDEPEND}"
BDEPEND="
dev-lang/perl
dev-util/glib-utils
>=dev-build/gtk-doc-am-1.12
>=dev-util/intltool-0.35
virtual/pkgconfig"
PATCHES=( "${FILESDIR}"/${PN}-0.10.59-remove-which.patch )
src_prepare() {
default
elibtoolize
}
src_configure() {
econf \
--disable-gtk-doc \
--disable-maintainer-mode \
--without-lasem \
--with-gtk \
--with-config-backend=gsettings \
$(use_enable introspection)
}
src_install() {
default
dodoc MAINTAINERS
find "${ED}" -name '*.la' -delete || die
}