commit: 27ae28965c47b7886639878c8a1f9b9894df8c74
Author: Jory Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 16 19:25:12 2022 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
CommitDate: Sat Jul 16 19:25:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27ae2896
net-misc/spice-gtk: Fix build for musl users
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jory Pratt <anarchy <AT> gentoo.org>
net-misc/spice-gtk/spice-gtk-0.40-r1.ebuild | 6 ++++++
net-misc/spice-gtk/spice-gtk-0.40.ebuild | 6 ++++++
net-misc/spice-gtk/spice-gtk-0.41.ebuild | 6 ++++++
net-misc/spice-gtk/spice-gtk-9999.ebuild | 6 ++++++
4 files changed, 24 insertions(+)
diff --git a/net-misc/spice-gtk/spice-gtk-0.40-r1.ebuild
b/net-misc/spice-gtk/spice-gtk-0.40-r1.ebuild
index 8da12e589470..7c0c5337eb30 100644
--- a/net-misc/spice-gtk/spice-gtk-0.40-r1.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.40-r1.ebuild
@@ -117,6 +117,12 @@ src_configure() {
$(meson_feature wayland wayland-protocols)
)
+ if use elibc_musl; then
+ emesonargs+=(
+ -Dcoroutine=gthread
+ )
+ fi
+
if use usbredir; then
emesonargs+=(
-Dusb-acl-helper-dir=/usr/libexec
diff --git a/net-misc/spice-gtk/spice-gtk-0.40.ebuild
b/net-misc/spice-gtk/spice-gtk-0.40.ebuild
index 357e2deefa6d..650b692b3d89 100644
--- a/net-misc/spice-gtk/spice-gtk-0.40.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.40.ebuild
@@ -112,6 +112,12 @@ src_configure() {
$(meson_feature wayland wayland-protocols)
)
+ if use elibc_musl; then
+ emesonargs+=(
+ -Dcoroutine=gthread
+ )
+ fi
+
if use usbredir; then
emesonargs+=(
-Dusb-acl-helper-dir=/usr/libexec
diff --git a/net-misc/spice-gtk/spice-gtk-0.41.ebuild
b/net-misc/spice-gtk/spice-gtk-0.41.ebuild
index 25cd89438ad6..4f9503f25b0d 100644
--- a/net-misc/spice-gtk/spice-gtk-0.41.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-0.41.ebuild
@@ -112,6 +112,12 @@ src_configure() {
$(meson_feature wayland wayland-protocols)
)
+ if use elibc_musl; then
+ emesonargs+=(
+ -Dcoroutine=gthread
+ )
+ fi
+
if use usbredir; then
emesonargs+=(
-Dusb-acl-helper-dir=/usr/libexec
diff --git a/net-misc/spice-gtk/spice-gtk-9999.ebuild
b/net-misc/spice-gtk/spice-gtk-9999.ebuild
index 25cd89438ad6..4f9503f25b0d 100644
--- a/net-misc/spice-gtk/spice-gtk-9999.ebuild
+++ b/net-misc/spice-gtk/spice-gtk-9999.ebuild
@@ -112,6 +112,12 @@ src_configure() {
$(meson_feature wayland wayland-protocols)
)
+ if use elibc_musl; then
+ emesonargs+=(
+ -Dcoroutine=gthread
+ )
+ fi
+
if use usbredir; then
emesonargs+=(
-Dusb-acl-helper-dir=/usr/libexec