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@gentoo.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
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
$(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