commit:     84821ebd339ba2cb4998924e31196466c6a18880
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 14 13:27:59 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 19 22:07:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84821ebd

x11-libs/pixman: Reintroduce static-libs USE flag

A couple of packages actually depend on this, even though it looks
static libs have not been installed since the transition to Meson. The
tree hasn't broken because they use [static-libs(+)].

Closes: https://bugs.gentoo.org/698548
Closes: https://github.com/gentoo/gentoo/pull/12925
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-libs/pixman/pixman-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-libs/pixman/pixman-9999.ebuild 
b/x11-libs/pixman/pixman-9999.ebuild
index ee4a7b6b0de..296db0dbcb1 100644
--- a/x11-libs/pixman/pixman-9999.ebuild
+++ b/x11-libs/pixman/pixman-9999.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="cpu_flags_ppc_altivec cpu_flags_arm_iwmmxt cpu_flags_arm_iwmmxt2 
cpu_flags_arm_neon loongson2f cpu_flags_x86_mmxext cpu_flags_x86_sse2 
cpu_flags_x86_ssse3"
+IUSE="cpu_flags_ppc_altivec cpu_flags_arm_iwmmxt cpu_flags_arm_iwmmxt2 
cpu_flags_arm_neon loongson2f cpu_flags_x86_mmxext cpu_flags_x86_sse2 
cpu_flags_x86_ssse3 static-libs"
 
 multilib_src_configure() {
        local openmp=disabled
@@ -37,6 +37,7 @@ multilib_src_configure() {
                $(meson_feature cpu_flags_ppc_altivec vmx)
                $(meson_feature cpu_flags_arm_neon neon)
                $(meson_feature loongson2f loongson-mmi)
+               -Ddefault_library=$(usex static-libs both shared)
                -Dgtk=disabled
                -Dlibpng=disabled
                -Dopenmp=$openmp # only used in unit tests

Reply via email to