Skip to content

Commit

Permalink
media-plugins/zam-plugins: make USE=-opengl more thorough
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Marek Szuba committed Jul 19, 2021
1 parent 3e98505 commit 2a70223
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions media-plugins/zam-plugins/zam-plugins-3.14.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,21 @@ 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)
}

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
}

0 comments on commit 2a70223

Please sign in to comment.