blob: 771b2c094f069b276f12daaa1b6fc04610e95bac [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
William A. Kennington IIIac69b482021-06-02 12:28:27 -070011PV = "2.12.1"
12SRCREV = "c0897fa0e9d7d1305fd4813b1010c1d4cca42346"
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}/*"