mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-i18n/librime-lua: fix CMake 4, update to EAPI 8, re-add Lua 5.1 & LuaJIT
Upstream treats librime-lua as a source-level plugin that is built together with librime, so it never set an explicit minimum CMake version. The ebuild now patches CMakeLists.txt to declare `cmake_minimum_required(VERSION 3.12)`, matching librime. Also re-enable support for lua5.1 and luajit. Closes: https://bugs.gentoo.org/913118 Closes: https://github.com/gentoo/gentoo/pull/42612 Signed-off-by: Yongxiang Liang <tanekliang@gmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
parent
dc1ecd3b42
commit
f93f43d107
@ -1,8 +1,8 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
LUA_COMPAT=( lua5-{3..4} )
|
||||
EAPI="8"
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit cmake lua-single
|
||||
|
||||
@ -36,7 +36,7 @@ fi
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "1icmake_minimum_required(VERSION 3.0)\nproject(${PN})\n" \
|
||||
-e "1icmake_minimum_required(VERSION 3.12)\nproject(${PN})\n" \
|
||||
-e "s/ PARENT_SCOPE//" \
|
||||
-e "\$a\\\n" \
|
||||
-e "\$aadd_library(\${plugin_modules} MODULE \${plugin_objs})" \
|
||||
@ -1,8 +1,8 @@
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
LUA_COMPAT=( lua5-{3..4} )
|
||||
EAPI="8"
|
||||
LUA_COMPAT=( lua5-{1..4} luajit )
|
||||
|
||||
inherit cmake lua-single
|
||||
|
||||
@ -35,7 +35,7 @@ fi
|
||||
|
||||
src_prepare() {
|
||||
sed \
|
||||
-e "1icmake_minimum_required(VERSION 3.0)\nproject(${PN})\n" \
|
||||
-e "1icmake_minimum_required(VERSION 3.12)\nproject(${PN})\n" \
|
||||
-e "s/ PARENT_SCOPE//" \
|
||||
-e "\$a\\\n" \
|
||||
-e "\$aadd_library(\${plugin_modules} MODULE \${plugin_objs})" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user