blob: fd49399cb8396f755dc95c34fb87f8be3aad8cfd [file] [log] [blame]
Andrew Geissler4b740dc2020-05-05 08:54:39 -05001SUMMARY = "C Library for manipulating module metadata files"
2LICENSE = "MIT"
3LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
4
Andrew Geisslerd25ed322020-06-27 00:28:28 -05005SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main \
Andrew Geissler4b740dc2020-05-05 08:54:39 -05006 file://0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch \
Andrew Geissler4b740dc2020-05-05 08:54:39 -05007 "
8
Andrew Geisslerd1e89492021-02-12 15:35:20 -06009PV = "2.12.0"
10SRCREV = "aaed38c899a958a88a6a368a70510e350ebe336c"
Andrew Geissler4b740dc2020-05-05 08:54:39 -050011
12S = "${WORKDIR}/git"
13
Andrew Geissler4ed12e12020-06-05 18:00:41 -050014inherit meson gobject-introspection python3-dir
Andrew Geissler4b740dc2020-05-05 08:54:39 -050015
Andrew Geisslerd1e89492021-02-12 15:35:20 -060016EXTRA_OEMESON = "-Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides"
Andrew Geissler4b740dc2020-05-05 08:54:39 -050017
18DEPENDS += "glib-2.0 libyaml glib-2.0-native python3"
19
20BBCLASSEXTEND = "native nativesdk"
21
22GIR_MESON_OPTION = 'skip_introspection'
23GIR_MESON_ENABLE_FLAG = 'false'
24GIR_MESON_DISABLE_FLAG = 'true'
Andrew Geissler4ed12e12020-06-05 18:00:41 -050025
26FILES_${PN} += "${libdir}/${PYTHON_DIR}/*"