blob: 10204acf23eb119ea6fe1ab8d78f9c44e49c8b30 [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 Geissler706d5aa2021-02-12 15:55:30 -06009PV = "2.9.4"
10SRCREV = "c7254db07b21495fc9bd247c5b17ee20149c05e3"
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 Geissler4ed12e12020-06-05 18:00:41 -050016EXTRA_OEMESON = "-Ddeveloper_build=false -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}/*"