From bdec9ff75969207c31ce201a5dbc709fd1fe7a8a Mon Sep 17 00:00:00 2001 From: dakrk Date: Wed, 5 Apr 2023 02:59:11 +0100 Subject: [PATCH] games-emulation/melonds: add wayland USE flag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dakrk Closes: https://github.com/gentoo/gentoo/pull/30481 Signed-off-by: Maciej Barć --- games-emulation/melonds/melonds-9999.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/games-emulation/melonds/melonds-9999.ebuild b/games-emulation/melonds/melonds-9999.ebuild index d68ba29eb6b83..3bf0d22f5d0e0 100644 --- a/games-emulation/melonds/melonds-9999.ebuild +++ b/games-emulation/melonds/melonds-9999.ebuild @@ -22,13 +22,12 @@ else KEYWORDS="~amd64" fi -IUSE="+jit +opengl" +IUSE="+jit +opengl wayland" LICENSE="BSD-2 GPL-2 GPL-3 Unlicense" SLOT="0" RDEPEND=" app-arch/libarchive - dev-libs/wayland dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtmultimedia:5 @@ -37,9 +36,10 @@ RDEPEND=" media-libs/libsdl2[sound,video] net-libs/libpcap net-libs/libslirp + wayland? ( dev-libs/wayland ) " DEPEND="${RDEPEND}" -BDEPEND="kde-frameworks/extra-cmake-modules:5" +BDEPEND="wayland? ( kde-frameworks/extra-cmake-modules:5 )" # used for JIT recompiler QA_EXECSTACK="usr/bin/melonDS" @@ -65,6 +65,7 @@ src_configure() { -DBUILD_SHARED_LIBS=OFF -DENABLE_JIT=$(usex jit) -DENABLE_OGLRENDERER=$(usex opengl) + -DENABLE_WAYLAND=$(usex wayland) ) cmake_src_configure }