commit:     2a70223fc9ae8009b516d802d3867d007d199409
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 19 09:49:16 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Jul 19 09:56:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a70223f

media-plugins/zam-plugins: make USE=-opengl more thorough

It would appear that in order to fully disable UI support in DPF one
must explicitly ignore results of autodetection of ALL libraries
involved.

Closes: https://bugs.gentoo.org/802882
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-plugins/zam-plugins/zam-plugins-3.14.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/media-plugins/zam-plugins/zam-plugins-3.14.ebuild 
b/media-plugins/zam-plugins/zam-plugins-3.14.ebuild
index 90423a2f5c2..f3d77dcc5a7 100644
--- a/media-plugins/zam-plugins/zam-plugins-3.14.ebuild
+++ b/media-plugins/zam-plugins/zam-plugins-3.14.ebuild
@@ -46,7 +46,10 @@ src_compile() {
        emake PREFIX=/usr LIBDIR=$(get_libdir) VERBOSE=true \
                BASE_OPTS="" SKIP_STRIPPING=true \
                HAVE_ZITA_CONVOLVER=true \
+               HAVE_CAIRO=$(usex opengl true false) \
                HAVE_DGL=$(usex opengl true false) \
+               HAVE_OPENGL=$(usex opengl true false) \
+               UI_TYPE=$(usex opengl "opengl" "none") \
                HAVE_JACK=$(usex jack true false)
 }
 
@@ -54,7 +57,10 @@ src_install() {
        emake PREFIX=/usr LIBDIR=$(get_libdir) VERBOSE=true \
                BASE_OPTS="" SKIP_STRIPPING=true \
                HAVE_ZITA_CONVOLVER=true \
+               HAVE_CAIRO=$(usex opengl true false) \
                HAVE_DGL=$(usex opengl true false) \
+               HAVE_OPENGL=$(usex opengl true false) \
+               UI_TYPE=$(usex opengl "opengl" "none") \
                HAVE_JACK=$(usex jack true false) \
                DESTDIR="${ED}" install
 }

Reply via email to