Removed lua use

This commit is contained in:
Gerben Jan Dijkman 2024-10-06 16:02:19 +02:00
parent a7268cf0cd
commit 42266dd777

View File

@ -13,9 +13,9 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Libpeas https://gitlab.gnome.org/GNOME
LICENSE="LGPL-2.1+" LICENSE="LGPL-2.1+"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" KEYWORDS="~alpha ~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="glade +gtk gtk-doc lua +python vala" IUSE="glade +gtk gtk-doc +python vala"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} ) REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )" python? ( ${PYTHON_REQUIRED_USE} )"
@ -23,12 +23,7 @@ RDEPEND="
>=dev-libs/glib-2.44:2 >=dev-libs/glib-2.44:2
>=dev-libs/gobject-introspection-1.39:= >=dev-libs/gobject-introspection-1.39:=
gtk? ( >=x11-libs/gtk+-3.0.0:3[introspection] ) gtk? ( >=x11-libs/gtk+-3.0.0:3[introspection] )
glade? ( >=dev-util/glade-3.9.1:3.10 ) glade? ( >=dev-util/glade-3.9.1:3.10 )')
lua? (
${LUA_DEPS}
$(lua_gen_cond_dep '
>=dev-lua/lgi-0.9.0[${LUA_USEDEP}]
')
) )
python? ( python? (
${PYTHON_DEPS} ${PYTHON_DEPS}
@ -61,8 +56,8 @@ src_prepare() {
src_configure() { src_configure() {
local emesonargs=( local emesonargs=(
$(meson_feature $(usex lua '!lua_single_target_luajit' 'lua') lua51) -Dlua51=false
$(meson_feature $(usex lua 'lua_single_target_luajit' 'lua') luajit) -Dluajit=false
-Dpython2=false -Dpython2=false
$(meson_use python python3) $(meson_use python python3)
# introspection was always enabled in autotools; would need readiness by consumers # introspection was always enabled in autotools; would need readiness by consumers