diff options
author | 2024-12-24 10:43:36 -0500 | |
---|---|---|
committer | 2024-12-24 10:45:50 -0500 | |
commit | f5eb679d5cf045fca91bb3552d3647fd0f30f17e (patch) | |
tree | 36136a662262c679f6de5e49b9f6418f49d2b50c /games-strategy | |
parent | app-arch/p7zip: localization patch backport (diff) | |
download | gentoo-f5eb679d5cf045fca91bb3552d3647fd0f30f17e.tar.gz gentoo-f5eb679d5cf045fca91bb3552d3647fd0f30f17e.tar.bz2 gentoo-f5eb679d5cf045fca91bb3552d3647fd0f30f17e.zip |
games-strategy/naev: force luajit for >=0.12
Also lets us drop the selection workaround.
Closes: https://bugs.gentoo.org/946881
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/naev/naev-0.12.0.ebuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/games-strategy/naev/naev-0.12.0.ebuild b/games-strategy/naev/naev-0.12.0.ebuild index d1d0dfb99967..31298e490603 100644 --- a/games-strategy/naev/naev-0.12.0.ebuild +++ b/games-strategy/naev/naev-0.12.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -LUA_COMPAT=( lua5-1 luajit ) +LUA_COMPAT=( luajit ) PYTHON_COMPAT=( python3_{10..13} ) inherit lua-single meson python-any-r1 virtualx xdg @@ -87,18 +87,16 @@ pkg_setup() { src_prepare() { default - # use eclass' generated lua.pc first rather than as fallback - sed -i "s/'lua51'/'lua'/" meson.build || die - # don't probe OpenGL for tests (avoids sandbox violations, bug #829369) sed -i "/subdir('glcheck')/d" test/meson.build || die } src_configure() { local emesonargs=( + # *can* do lua5-1 but upstream uses+test luajit most (bug #946881) + -Dluajit=enabled $(meson_feature doc docs_c) $(meson_feature doc docs_lua) - $(meson_feature lua_single_target_luajit luajit) ) meson_src_configure |