summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2021-04-18 11:22:57 -0400
committerMatt Turner <mattst88@gentoo.org>2021-04-18 11:27:19 -0400
commitf12a2409995a84ec4503772588d6643fdeae6055 (patch)
treec18aedec5a02c38704f28393bfff873af7c2a60b /gnome-base/librsvg
parentprofiles/package.mask: dev-java/commons-configuration last-rite (diff)
downloadgentoo-f12a2409995a84ec4503772588d6643fdeae6055.tar.gz
gentoo-f12a2409995a84ec4503772588d6643fdeae6055.tar.bz2
gentoo-f12a2409995a84ec4503772588d6643fdeae6055.zip
gnome-base/librsvg: Port to EAPI=7
* Remove *.la files (bug #776343) * BDEPEND on x11-libs/gdk-pixbuf (bug #759172) Closes: https://bugs.gentoo.org/753764 Closes: https://bugs.gentoo.org/759172 Closes: https://bugs.gentoo.org/776343 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gnome-base/librsvg')
-rw-r--r--gnome-base/librsvg/librsvg-2.50.4.ebuild13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnome-base/librsvg/librsvg-2.50.4.ebuild b/gnome-base/librsvg/librsvg-2.50.4.ebuild
index 04ae4816f37a..938cee0ad545 100644
--- a/gnome-base/librsvg/librsvg-2.50.4.ebuild
+++ b/gnome-base/librsvg/librsvg-2.50.4.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
VALA_USE_DEPEND="vapigen"
inherit gnome2 multilib-minimal rust-toolchain vala
@@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
IUSE="+introspection +vala"
REQUIRED_USE="vala? ( introspection )"
-RDEPEND="
+DEPEND="
>=x11-libs/cairo-1.16.0[glib,${MULTILIB_USEDEP}]
>=media-libs/freetype-2.9:2[${MULTILIB_USEDEP}]
>=x11-libs/gdk-pixbuf-2.20:2[introspection?,${MULTILIB_USEDEP}]
@@ -27,9 +27,12 @@ RDEPEND="
introspection? ( >=dev-libs/gobject-introspection-0.10.8:= )
"
-DEPEND="${RDEPEND}
+RDEPEND="${DEPEND}
>=virtual/rust-1.40[${MULTILIB_USEDEP}]
+"
+BDEPEND="
dev-util/glib-utils
+ x11-libs/gdk-pixbuf
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
vala? ( $(vala_depend) )
@@ -81,6 +84,10 @@ multilib_src_install() {
gnome2_src_install
}
+multilib_src_install_all() {
+ find "${ED}" -name '*.la' -delete || die
+}
+
pkg_postinst() {
# causes segfault if set, see bug 375615
unset __GL_NO_DSO_FINALIZER