libmodulemd: update 2.12.1 -> 2.13.0

Delete patch, as the issue is fixed upstream.

Disable python bindings as they're not used anywhere,
and require functional gobject introspection.

(From OE-Core rev: abe4b9be9fc5e6a37be18b6e9d14b863f6fac3c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2021-07-14 14:25:52 +02:00
committed by Richard Purdie
parent 9371ad4858
commit 8508a47580
2 changed files with 6 additions and 38 deletions

View File

@@ -4,25 +4,21 @@ DESCRIPTION = "${SUMMARY}"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main \
file://0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch \
"
SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main"
PV = "2.12.1"
SRCREV = "c0897fa0e9d7d1305fd4813b1010c1d4cca42346"
PV = "2.13.0"
SRCREV = "1a032da198333ee77bdbe4be65e60eb4115ea73f"
S = "${WORKDIR}/git"
inherit meson gobject-introspection python3-dir
inherit meson gobject-introspection
EXTRA_OEMESON = "-Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
EXTRA_OEMESON = "-Dwith_py3=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
DEPENDS += "glib-2.0 libyaml glib-2.0-native python3"
DEPENDS += "glib-2.0 libyaml glib-2.0-native"
BBCLASSEXTEND = "native nativesdk"
GIR_MESON_OPTION = 'skip_introspection'
GIR_MESON_ENABLE_FLAG = 'false'
GIR_MESON_DISABLE_FLAG = 'true'
FILES_${PN} += "${libdir}/${PYTHON_DIR}/*"