Files
poky/meta/recipes-devtools/libmodulemd/libmodulemd_git.bb
Alexander Kanavin 793640e07b libmodulemd: depend on target python at build time
meson build system is importing sysconfig, which requires
having a target confiuguration available.

(From OE-Core rev: 6763c89611f7cc4a1ba9098222069a58148d44d9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-08-22 22:48:27 +01:00

27 lines
881 B
BlitzBasic

SUMMARY = "C Library for manipulating module metadata files"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https \
file://0001-spec_tmpl.sh-use-bin-sh-not-usr-bin-sh.patch \
file://0002-modulemd-v1-meson.build-do-not-generate-gir-or-gtkdo.patch \
file://0001-v1-meson.build-explicitly-specify-the-v1-library-in-.patch \
"
PV = "2.6.0"
SRCREV = "7c7f88258491866cdb86d26cadfce37a78f242ec"
S = "${WORKDIR}/git"
inherit meson gobject-introspection
EXTRA_OEMESON = "-Ddeveloper_build=false -Dbuild_api_v1=true -Dbuild_api_v2=true"
DEPENDS += "glib-2.0 libyaml glib-2.0-native python3"
BBCLASSEXTEND = "native nativesdk"
GIR_MESON_OPTION = 'skip_introspection'
GIR_MESON_ENABLE_FLAG = 'false'
GIR_MESON_DISABLE_FLAG = 'true'