libdex: upgrade 1.0.0 -> 1.2.0

1.2.0 installs PyGObject overrides. They need python3-pygobject at
runtime, so put them behind a PACKAGECONFIG that is off by default and
ship them when it is enabled.

AI-Generated: Uses Claude Code (Claude Opus 5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Markus Volk
2026-09-21 08:13:52 -07:00
committed by Khem Raj
parent fd87aabb75
commit 626b63734a
@@ -11,9 +11,13 @@ DEPENDS:append:libc-musl = " libucontext"
LDFLAGS:append:libc-musl = " -lucontext"
SRC_URI[archive.sha256sum] = "7b8f5c5db3796e14e12e10422e2356766ba830b92815fee70bbc867b5b207f5d"
SRC_URI[archive.sha256sum] = "69f5b244c21f6402831c3ab8af85a01772f72fb118677388436f12f32bfb06d9"
PACKAGECONFIG ?= ""
PACKAGECONFIG[pygobject] = "-Dpygobject=true,-Dpygobject=false,,python3-pygobject"
EXTRA_OEMESON += "-Dintrospection=enabled -Dvapi=false"
FILES:${PN} += "${libdir}/python3*/site-packages/gi/overrides"
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"