mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user