summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-11-09 09:44:04 +0000
committerSam James <sam@gentoo.org>2024-11-09 09:49:03 +0000
commitb673ae2f19d960de7afaaf77349822dfee2f91f5 (patch)
treefc750a4e26a8b023fd135edeccee81332aba544c /gnome-base/librsvg
parentgames-strategy/wesnoth: drop 1.16.10, 1.18.0 (diff)
downloadgentoo-b673ae2f19d960de7afaaf77349822dfee2f91f5.tar.gz
gentoo-b673ae2f19d960de7afaaf77349822dfee2f91f5.tar.bz2
gentoo-b673ae2f19d960de7afaaf77349822dfee2f91f5.zip
gnome-base/librsvg: fix phase definitions
The issue here is the same as with libdovi. If we change the inherit order back to before 01ba4dc61965ef7658a24728841c04c9a1ce4871, then MULTILIB_USEDEP isn't defined so rust.eclass can't use it for generating the multilib dep on Rust itself. Also, add a missing rust_pkg_setup call in 2.57.3. Bug: https://bugs.gentoo.org/943110 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gnome-base/librsvg')
-rw-r--r--gnome-base/librsvg/librsvg-2.57.3-r2.ebuild (renamed from gnome-base/librsvg/librsvg-2.57.3-r1.ebuild)21
-rw-r--r--gnome-base/librsvg/librsvg-2.58.2-r1.ebuild16
2 files changed, 37 insertions, 0 deletions
diff --git a/gnome-base/librsvg/librsvg-2.57.3-r1.ebuild b/gnome-base/librsvg/librsvg-2.57.3-r2.ebuild
index f6643f2a0d2d..c5a49fa7c29d 100644
--- a/gnome-base/librsvg/librsvg-2.57.3-r1.ebuild
+++ b/gnome-base/librsvg/librsvg-2.57.3-r2.ebuild
@@ -332,11 +332,20 @@ QA_FLAGS_IGNORED="
usr/lib.*/librsvg.*
"
+pkg_setup() {
+ rust_pkg_setup
+ python-any-r1_pkg_setup
+}
+
src_prepare() {
use vala && vala_setup
gnome2_src_prepare
}
+src_configure() {
+ multilib-minimal_src_configure
+}
+
multilib_src_configure() {
local myconf=(
--disable-static
@@ -365,10 +374,22 @@ multilib_src_configure() {
fi
}
+src_compile() {
+ multilib-minimal_src_compile
+}
+
multilib_src_compile() {
gnome2_src_compile
}
+src_test() {
+ multilib-minimal_src_test
+}
+
+src_install() {
+ multilib-minimal_src_install
+}
+
multilib_src_install() {
gnome2_src_install
}
diff --git a/gnome-base/librsvg/librsvg-2.58.2-r1.ebuild b/gnome-base/librsvg/librsvg-2.58.2-r1.ebuild
index 68c84dd678aa..d29d3b02aa5c 100644
--- a/gnome-base/librsvg/librsvg-2.58.2-r1.ebuild
+++ b/gnome-base/librsvg/librsvg-2.58.2-r1.ebuild
@@ -354,6 +354,10 @@ src_prepare() {
gnome2_src_prepare
}
+src_configure() {
+ multilib-minimal_src_configure
+}
+
multilib_src_configure() {
local myconf=(
--disable-static
@@ -382,10 +386,22 @@ multilib_src_configure() {
fi
}
+src_compile() {
+ multilib-minimal_src_compile
+}
+
multilib_src_compile() {
gnome2_src_compile
}
+src_test() {
+ multilib-minimal_src_test
+}
+
+src_install() {
+ multilib-minimal_src_install
+}
+
multilib_src_install() {
gnome2_src_install
}