libmodulemd: update 2.9.2 -> 2.9.4

Replace 0002-meson.build-do-not-install-python-gi-bindings.patch
with an explicitly set meson option.

(From OE-Core rev: 5e87c1e89fa1311c0bbb44c45f419e5f302a1e0d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2020-05-31 17:52:42 +02:00
committed by Richard Purdie
parent 3ff9578ec4
commit 3ec2330acf
2 changed files with 6 additions and 28 deletions

View File

@@ -4,17 +4,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https \
file://0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch \
file://0002-meson.build-do-not-install-python-gi-bindings.patch \
"
PV = "2.9.2"
SRCREV = "780750eab8a0587b20d033f335301f16d00ab9c9"
PV = "2.9.4"
SRCREV = "c7254db07b21495fc9bd247c5b17ee20149c05e3"
S = "${WORKDIR}/git"
inherit meson gobject-introspection
inherit meson gobject-introspection python3-dir
EXTRA_OEMESON = "-Ddeveloper_build=false -Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled"
EXTRA_OEMESON = "-Ddeveloper_build=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"
@@ -23,3 +22,5 @@ BBCLASSEXTEND = "native nativesdk"
GIR_MESON_OPTION = 'skip_introspection'
GIR_MESON_ENABLE_FLAG = 'false'
GIR_MESON_DISABLE_FLAG = 'true'
FILES_${PN} += "${libdir}/${PYTHON_DIR}/*"