This commit is contained in:
Gerben Jan Dijkman 2024-10-06 16:08:26 +02:00
parent e79dca0b15
commit 248b632f49

View File

@ -15,15 +15,13 @@ LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="glade +gtk gtk-doc lua +python vala"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )"
IUSE="+gtk gtk-doc +python vala"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
>=dev-libs/glib-2.44:2
>=dev-libs/gobject-introspection-1.39:=
gtk? ( >=x11-libs/gtk+-3.0.0:3[introspection] )
glade? ( >=dev-util/glade-3.9.1:3.10 )
python? (
${PYTHON_DEPS}
$(python_gen_cond_dep '
@ -56,16 +54,11 @@ src_prepare() {
src_configure() {
local emesonargs=(
-Dlua51=false
-Dluajit=false
-Dpython2=false
$(meson_use python python3)
# introspection was always enabled in autotools; would need readiness by consumers
# to USE flag it, but most need it for python plugins anyways
-Dintrospection=true
$(meson_use vala vapi)
$(meson_use gtk widgetry)
$(meson_use glade glade_catalog)
-Ddemos=false
$(meson_use gtk-doc gtk_doc)
)
meson_src_configure