You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
# Copyright 1999-2022 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
inherit gnome2
|
|
|
|
DESCRIPTION="The GNOME Structured File Library"
|
|
HOMEPAGE="https://gitlab.gnome.org/GNOME/libgsf"
|
|
|
|
LICENSE="GPL-2 LGPL-2.1"
|
|
SLOT="0/114" # libgsf-1.so version
|
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
|
IUSE="bzip2 gtk +introspection test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND="
|
|
>=dev-libs/glib-2.36:2
|
|
>=dev-libs/libxml2-2.4.16:2
|
|
sys-libs/zlib
|
|
bzip2? ( app-arch/bzip2 )
|
|
gtk? (
|
|
x11-libs/gdk-pixbuf:2
|
|
virtual/imagemagick-tools
|
|
)
|
|
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
|
"
|
|
DEPEND="${RDEPEND}
|
|
>=dev-util/gtk-doc-am-1.12
|
|
dev-libs/gobject-introspection-common
|
|
>=sys-devel/gettext-0.19.6
|
|
virtual/pkgconfig
|
|
test? ( dev-perl/XML-Parser )
|
|
"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/1.14.49-skip-valgrind-tests.patch
|
|
)
|
|
|
|
src_configure() {
|
|
gnome2_src_configure \
|
|
--disable-static \
|
|
$(use_with bzip2 bz2) \
|
|
$(use_enable introspection) \
|
|
$(use_with gtk gdk-pixbuf)
|
|
}
|