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 | |
| 5 | SRC_URI = "git://github.com/fedora-modularity/libmodulemd;protocol=https \ |
| 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 | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 9 | PV = "2.9.4" |
| 10 | SRCREV = "c7254db07b21495fc9bd247c5b17ee20149c05e3" |
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 | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 16 | EXTRA_OEMESON = "-Ddeveloper_build=false -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}/*" |