games-emulation/melonds: add wayland USE flag

Signed-off-by: dakrk <dark@darkok.xyz>
Closes: https://github.com/gentoo/gentoo/pull/30481
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
dakrk
2023-04-05 04:40:23 +02:00
committed by Maciej Barć
parent b54767af45
commit bdec9ff759
+4 -3
View File
@@ -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
}