blob: 2f60ce8e028e5e1099e75555298eb589d6f337f7 [file] [log] [blame]
Andrew Geissler4b740dc2020-05-05 08:54:39 -05001SUMMARY = "C Library for manipulating module metadata files"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002HOMEPAGE = "https://github.com/fedora-modularity/libmodulemd"
3DESCRIPTION = "${SUMMARY}"
Andrew Geissler4b740dc2020-05-05 08:54:39 -05004LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb"
6
Andrew Geisslerd25ed322020-06-27 00:28:28 -05007SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main \
Andrew Geissler4b740dc2020-05-05 08:54:39 -05008 file://0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch \
Andrew Geissler4b740dc2020-05-05 08:54:39 -05009 "
10
Andrew Geisslerd1e89492021-02-12 15:35:20 -060011PV = "2.12.0"
12SRCREV = "aaed38c899a958a88a6a368a70510e350ebe336c"
Andrew Geissler4b740dc2020-05-05 08:54:39 -050013
14S = "${WORKDIR}/git"
15
Andrew Geissler4ed12e12020-06-05 18:00:41 -050016inherit meson gobject-introspection python3-dir
Andrew Geissler4b740dc2020-05-05 08:54:39 -050017
Andrew Geisslerd1e89492021-02-12 15:35:20 -060018EXTRA_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 -050019
20DEPENDS += "glib-2.0 libyaml glib-2.0-native python3"
21
22BBCLASSEXTEND = "native nativesdk"
23
24GIR_MESON_OPTION = 'skip_introspection'
25GIR_MESON_ENABLE_FLAG = 'false'
26GIR_MESON_DISABLE_FLAG = 'true'
Andrew Geissler4ed12e12020-06-05 18:00:41 -050027
28FILES_${PN} += "${libdir}/${PYTHON_DIR}/*"