Autoconf-based. With the eclass-created wrapper, builds and installs fine
against all Lua implementations currently in the tree.
Closes: https://bugs.gentoo.org/752786
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Compatibility + implementation selections as per the unmigrated ebuilds.
Single-impl because the compiled Lua module this package installs links
against liblua.
Closes: https://bugs.gentoo.org/752762
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Based on the work of Gergely Nagy <ngg@ngg.hu> from
https://github.com/gentoo/gentoo/pull/18156, however browser source support
has been removed (according to the PR comments chiitoo has not decided yet
which of the competing implementations he prefers) and IUSE=luajit has been
renamed to just "lua" (as done elsewhere, in order to avoid confusion between
luajit and lua_single_target_luajit).
Closes: https://bugs.gentoo.org/752768
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Since commit f373b42 there is no need to default to USE=clang anymore
and because package is a reverse dependency for sys-auth/polkit we
should try to avoid pulling in Clang everywhere.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Multi-impl. Uses a custom build system for all language bindings but
fortunately one that has been simple enough to adapt. Builds fine against
all Lua implementations currently in the tree.
Closes: https://bugs.gentoo.org/752753
Signed-off-by: Marek Szuba <marecki@gentoo.org>
The only revdep currently in the tree, app-editors/neovim, actually links
against luv instead of loading it as a module. Between that and upstream
not actually supporting multi-impl installations, why bother.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
1. Lua implementation names are now similar to allowed values of Lua-target
ebuild variables, e.g. "lua5.4" instead of just "5.4". LuaJIT is an
exception because the binary it installs is 'luajit-${PV}' rather than
just 'luajit', that however is something that will likely have to be
addressed in dev-lang/luajit;
2. While removing old man-page symlinks, do not try to account for every
possible documentation-compression scheme. Just use a wildcard;
3. Do not create a dangling luac symlink if the chosen implementation
is LuaJIT;
4. Sync the shell globs used to create and to remove man-page symlinks.
Note that as things stand no lua.1 symlink is created for LuaJIT due
to an inconsistency in existing versions of dev-lang/luajit - the binary
they install is called 'luajit-${PV}' but the man page is simply
'luajit.1';
5. Implement the '--if-unset' option in do_set() so that Lua ebuilds can
use eselect-lua when no default implementation has been selected yet
but leave previously chosen implementation alone;
6. Remove 'update' functionality because it was broken - it would always
"upgrade" to LuaJIT if dev-lang/luajit was present. We might re-add this
functionality in the future, then again given how incompatible different
versions of Lua are perhaps we will not;
7. Fix typo in the name "resolve_target".
Signed-off-by: Marek Szuba <marecki@gentoo.org>