summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-02-08 09:59:16 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-02-08 09:59:27 +0100
commit44275d01ee6eddbe7f0ae824c0998fd8b598839e (patch)
treea086fe6c1c45bab6352c722c744ead820d509e7b
parentuclibc/package.mask: Mask x11-drivers/nvidia-drivers (diff)
downloadgentoo-44275d01ee6eddbe7f0ae824c0998fd8b598839e.tar.gz
gentoo-44275d01ee6eddbe7f0ae824c0998fd8b598839e.tar.bz2
gentoo-44275d01ee6eddbe7f0ae824c0998fd8b598839e.zip
media-sound/jalv: resolved missing include in 1.6.6 when gui disabled
Closes: https://bugs.gentoo.org/764473 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r--media-sound/jalv/files/jalv-1.6.6-suil-always.patch14
-rw-r--r--media-sound/jalv/jalv-1.6.6.ebuild4
2 files changed, 18 insertions, 0 deletions
diff --git a/media-sound/jalv/files/jalv-1.6.6-suil-always.patch b/media-sound/jalv/files/jalv-1.6.6-suil-always.patch
new file mode 100644
index 000000000000..938f34ee0556
--- /dev/null
+++ b/media-sound/jalv/files/jalv-1.6.6-suil-always.patch
@@ -0,0 +1,14 @@
+diff --git a/wscript b/wscript
+index 06f74f2..a269b14 100644
+--- a/wscript
++++ b/wscript
+@@ -170,8 +170,7 @@ def configure(conf):
+ conf.env.HAVE_QT4 or
+ conf.env.HAVE_QT5)
+
+- if have_gui:
+- conf.check_pkg('suil-0 >= 0.10.0', uselib_store='SUIL')
++ conf.check_pkg('suil-0 >= 0.10.0', uselib_store='SUIL')
+
+ if conf.env.HAVE_JACK:
+ conf.check_function(
diff --git a/media-sound/jalv/jalv-1.6.6.ebuild b/media-sound/jalv/jalv-1.6.6.ebuild
index 17bf69398aec..cbef73cf0fa3 100644
--- a/media-sound/jalv/jalv-1.6.6.ebuild
+++ b/media-sound/jalv/jalv-1.6.6.ebuild
@@ -41,6 +41,10 @@ BDEPEND="
"
DOCS=( AUTHORS NEWS README.md )
+PATCHES=(
+ "${FILESDIR}/${P}-suil-always.patch"
+)
+
src_configure() {
use qt5 && export PATH="$(qt5_get_bindir):${PATH}"
waf-utils_src_configure \