blob: 7ddfccf2d66aa9773cb9887e4fcf8717b41ea676 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001HOMEPAGE = "http://mesonbuild.com"
2SUMMARY = "A high performance build system"
Brad Bishopf3f93bb2019-10-16 14:33:32 -04003DESCRIPTION = "Meson is a build system designed to increase programmer \
4productivity. It does this by providing a fast, simple and easy to use \
5interface for modern software development tools and practices."
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08006
7LICENSE = "Apache-2.0"
8LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57"
9
10SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${PV}.tar.gz \
11 file://0001-gtkdoc-fix-issues-that-arise-when-cross-compiling.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080012 file://0003-native_bindir.patch \
Brad Bishopa5c52ff2018-11-23 10:55:50 +130013 file://0001-python-module-do-not-manipulate-the-environment-when.patch \
14 file://disable-rpath-handling.patch \
Brad Bishopc342db32019-05-15 21:57:59 -040015 file://0001-modules-python.py-do-not-substitute-python-s-install.patch \
Andrew Geissler95ac1b82021-03-31 14:34:31 -050016 file://gi-target-dep.patch \
William A. Kennington IIIac69b482021-06-02 12:28:27 -070017 file://0001-Make-CPU-family-warnings-fatal.patch \
18 file://0002-Support-building-allarch-recipes-again.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019 "
Andrew Geissler09036742021-06-25 14:25:14 -050020SRC_URI[sha256sum] = "3144a3da662fcf79f1e5602fa929f2821cba4eba28c2c923fe0a7d3e3db04d5d"
Andrew Geissler95ac1b82021-03-31 14:34:31 -050021
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080022UPSTREAM_CHECK_URI = "https://github.com/mesonbuild/meson/releases"
Andrew Geisslerc182c622020-05-15 14:13:32 -050023UPSTREAM_CHECK_REGEX = "meson-(?P<pver>\d+(\.\d+)+)\.tar"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024
25inherit setuptools3
26
Brad Bishopf3f93bb2019-10-16 14:33:32 -040027RDEPENDS_${PN} = "ninja python3-modules python3-pkg-resources"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080028
29FILES_${PN} += "${datadir}/polkit-1"
Andrew Geissler95ac1b82021-03-31 14:34:31 -050030
31do_install_append () {
32 # As per the same issue in the python recipe itself:
33 # Unfortunately the following pyc files are non-deterministc due to 'frozenset'
34 # being written without strict ordering, even with PYTHONHASHSEED = 0
35 # Upstream is discussing ways to solve the issue properly, until then let's
36 # just not install the problematic files.
37 # More info: http://benno.id.au/blog/2013/01/15/python-determinism
38 rm ${D}${libdir}/python*/site-packages/mesonbuild/dependencies/__pycache__/mpi.cpython*
39}