Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame] | 1 | SUMMARY = "C Library for manipulating module metadata files" |
| 2 | LICENSE = "MIT" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=25a3927bff3ee4f5b21bcb0ed3fcd6bb" |
| 4 | |
Andrew Geissler | d25ed32 | 2020-06-27 00:28:28 -0500 | [diff] [blame] | 5 | SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https;branch=main \ |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame] | 6 | file://0001-modulemd-generate-the-manpage-only-if-the-feature-is.patch \ |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame] | 7 | " |
| 8 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 9 | PV = "2.12.0" |
| 10 | SRCREV = "aaed38c899a958a88a6a368a70510e350ebe336c" |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame] | 11 | |
| 12 | S = "${WORKDIR}/git" |
| 13 | |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 14 | inherit meson gobject-introspection python3-dir |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame] | 15 | |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 16 | EXTRA_OEMESON = "-Dwith_docs=false -Drpmio=disabled -Dlibmagic=disabled -Dwith_manpages=disabled -Dgobject_overrides_dir_py3=${PYTHON_SITEPACKAGES_DIR}/gi/overrides" |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame] | 17 | |
| 18 | DEPENDS += "glib-2.0 libyaml glib-2.0-native python3" |
| 19 | |
| 20 | BBCLASSEXTEND = "native nativesdk" |
| 21 | |
| 22 | GIR_MESON_OPTION = 'skip_introspection' |
| 23 | GIR_MESON_ENABLE_FLAG = 'false' |
| 24 | GIR_MESON_DISABLE_FLAG = 'true' |
Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 25 | |
| 26 | FILES_${PN} += "${libdir}/${PYTHON_DIR}/*" |