mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
games-emulation/yuzu: new flag for test, disable test in snapshot
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
@@ -50,7 +50,6 @@ DEPEND="${RDEPEND}
|
|||||||
>=dev-util/vulkan-headers-1.3.216
|
>=dev-util/vulkan-headers-1.3.216
|
||||||
"
|
"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
>=dev-cpp/catch-2.13:0
|
|
||||||
>=dev-cpp/nlohmann_json-3.8.0
|
>=dev-cpp/nlohmann_json-3.8.0
|
||||||
dev-cpp/robin-map
|
dev-cpp/robin-map
|
||||||
dev-util/glslang
|
dev-util/glslang
|
||||||
@@ -104,6 +103,7 @@ src_configure() {
|
|||||||
-DENABLE_SDL2=$(usex sdl)
|
-DENABLE_SDL2=$(usex sdl)
|
||||||
-DENABLE_WEB_SERVICE=$(usex webservice)
|
-DENABLE_WEB_SERVICE=$(usex webservice)
|
||||||
-DUSE_DISCORD_PRESENCE=$(usex discord)
|
-DUSE_DISCORD_PRESENCE=$(usex discord)
|
||||||
|
-DYUZU_TESTS=OFF
|
||||||
-DYUZU_USE_BUNDLED_OPUS=OFF
|
-DYUZU_USE_BUNDLED_OPUS=OFF
|
||||||
-DYUZU_USE_EXTERNAL_SDL2=OFF
|
-DYUZU_USE_EXTERNAL_SDL2=OFF
|
||||||
-DYUZU_USE_QT_WEB_ENGINE=$(usex webengine)
|
-DYUZU_USE_QT_WEB_ENGINE=$(usex webengine)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ LICENSE="|| ( Apache-2.0 GPL-2+ ) 0BSD BSD GPL-2+ ISC MIT
|
|||||||
!system-vulkan? ( Apache-2.0 )"
|
!system-vulkan? ( Apache-2.0 )"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS=""
|
KEYWORDS=""
|
||||||
IUSE="+compatibility-list +cubeb discord +qt5 sdl system-vulkan webengine +webservice"
|
IUSE="+compatibility-list +cubeb discord +qt5 sdl +system-vulkan test webengine +webservice"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
<net-libs/mbedtls-3.1[cmac]
|
<net-libs/mbedtls-3.1[cmac]
|
||||||
@@ -48,13 +48,14 @@ DEPEND="${RDEPEND}
|
|||||||
system-vulkan? ( >=dev-util/vulkan-headers-1.3.216 )
|
system-vulkan? ( >=dev-util/vulkan-headers-1.3.216 )
|
||||||
"
|
"
|
||||||
BDEPEND="
|
BDEPEND="
|
||||||
>=dev-cpp/catch-2.13:0
|
test? ( <dev-cpp/catch-3:0 )
|
||||||
>=dev-cpp/nlohmann_json-3.8.0
|
>=dev-cpp/nlohmann_json-3.8.0
|
||||||
dev-cpp/robin-map
|
dev-cpp/robin-map
|
||||||
dev-util/glslang
|
dev-util/glslang
|
||||||
discord? ( >=dev-libs/rapidjson-1.1.0 )
|
discord? ( >=dev-libs/rapidjson-1.1.0 )
|
||||||
"
|
"
|
||||||
REQUIRED_USE="|| ( qt5 sdl )"
|
REQUIRED_USE="|| ( qt5 sdl )"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
pkg_setup() {
|
pkg_setup() {
|
||||||
if tc-is-gcc; then
|
if tc-is-gcc; then
|
||||||
@@ -131,7 +132,7 @@ src_prepare() {
|
|||||||
sed -i '/sirit/d' externals/CMakeLists.txt || die
|
sed -i '/sirit/d' externals/CMakeLists.txt || die
|
||||||
|
|
||||||
# Unbundle cpp-httplib
|
# Unbundle cpp-httplib
|
||||||
sed -i -e '/^ # cpp-httplib/,/^ endif()/d' externals/CMakeLists.txt || die
|
sed -i -e '/^ # httplib/,/^ endif()/d' externals/CMakeLists.txt || die
|
||||||
|
|
||||||
# Unbundle enet
|
# Unbundle enet
|
||||||
sed -i -e '/enet/d' externals/CMakeLists.txt || die
|
sed -i -e '/enet/d' externals/CMakeLists.txt || die
|
||||||
@@ -152,6 +153,7 @@ src_configure() {
|
|||||||
-DENABLE_SDL2=$(usex sdl)
|
-DENABLE_SDL2=$(usex sdl)
|
||||||
-DENABLE_WEB_SERVICE=$(usex webservice)
|
-DENABLE_WEB_SERVICE=$(usex webservice)
|
||||||
-DUSE_DISCORD_PRESENCE=$(usex discord)
|
-DUSE_DISCORD_PRESENCE=$(usex discord)
|
||||||
|
-DYUZU_TESTS=$(usex test)
|
||||||
-DYUZU_USE_BUNDLED_OPUS=OFF
|
-DYUZU_USE_BUNDLED_OPUS=OFF
|
||||||
-DYUZU_USE_EXTERNAL_SDL2=OFF
|
-DYUZU_USE_EXTERNAL_SDL2=OFF
|
||||||
-DYUZU_USE_QT_WEB_ENGINE=$(usex webengine)
|
-DYUZU_USE_QT_WEB_ENGINE=$(usex webengine)
|
||||||
|
|||||||
Reference in New Issue
Block a user