diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-14 18:13:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-14 18:13:29 +0100 |
commit | 85dc262ae9ec9413f8172a2a8442d6d9134d02f4 (patch) | |
tree | 81768a8b154fded73a17e9475cebc90d79fd4720 /games-engines/openmw/openmw-0.48.0.ebuild | |
parent | b6323af2602e6a5cd4920d4af06b5c2f3949b9d0 (diff) |
gentoo auto-resync : 14:08:2023 - 18:13:29
Diffstat (limited to 'games-engines/openmw/openmw-0.48.0.ebuild')
-rw-r--r-- | games-engines/openmw/openmw-0.48.0.ebuild | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/games-engines/openmw/openmw-0.48.0.ebuild b/games-engines/openmw/openmw-0.48.0.ebuild index a7b997f5b8a9..6190481f116b 100644 --- a/games-engines/openmw/openmw-0.48.0.ebuild +++ b/games-engines/openmw/openmw-0.48.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -LUA_COMPAT=( luajit ) +LUA_COMPAT=( lua5-{1,3,4} luajit ) inherit cmake lua-single readme.gentoo-r1 xdg DESCRIPTION="Open source reimplementation of TES III: Morrowind" @@ -34,7 +34,7 @@ RESTRICT="!test? ( test )" RDEPEND="${LUA_DEPS} app-arch/lz4:= - dev-games/mygui + >=dev-games/mygui-3.4.1 dev-cpp/yaml-cpp:= dev-db/sqlite:3 dev-games/recastnavigation:= @@ -105,8 +105,6 @@ src_configure() { -DUSE_LUAJIT=ON ) else - # 5.1 (and other 5.x) are supported in theory, but don't work well (eg. test fails) - # In a future version consider adding it back to LUA_COMPAT or dropping this branch mycmakeargs+=( -DUSE_LUAJIT=OFF -DLua_FIND_VERSION_MAJOR=$(ver_cut 1 $(lua_get_version)) @@ -137,6 +135,12 @@ src_compile() { } src_test() { + # Lua 5.x is supported in theory, but don't work as well, the test fails + # Upstream recommends luajit, but it has less arch coverage + if [[ ${ELUA} != luajit ]]; then + elog "Skipping tests on ${ELUA}" + return + fi pushd "${BUILD_DIR}" > /dev/null || die ./openmw_test_suite || die popd > /dev/null || die |