diff --git a/meson/PKGBUILD b/meson/PKGBUILD index 1cc3b6b7..7b88e98b 100644 --- a/meson/PKGBUILD +++ b/meson/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Christoph Reiter pkgname=meson -pkgver=0.49.2 +pkgver=0.50.1 pkgrel=1 pkgdesc='High-productivity build system' arch=('any') @@ -10,8 +10,8 @@ license=('Apache 2') depends=('python3' 'python3-setuptools' 'ninja') source=("https://github.com/mesonbuild/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz" "cygwin-disguise.patch") -sha256sums=('ef9f14326ec1e30d3ba1a26df0f92826ede5a79255ad723af78a2691c37109fd' - 'a2cdd9f13e5bcce017e6653b9d765e0bd400493671e7a9e7ecc6203f35abe05b') +sha256sums=('f68f56d60c80a77df8fc08fa1016bc5831605d4717b622c96212573271e14ecc' + 'de6ba260edf941a1530f6fcde5d1b7404c1cc38bb9d4175793b5459071ca75d5') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/meson/cygwin-disguise.patch b/meson/cygwin-disguise.patch index 0b616736..d423f6fb 100644 --- a/meson/cygwin-disguise.patch +++ b/meson/cygwin-disguise.patch @@ -16,13 +16,13 @@ index 8648a0dc..128092db 100644 --- a/mesonbuild/mesonlib.py +++ b/mesonbuild/mesonlib.py @@ -281,7 +281,7 @@ def is_windows(): + return platname == 'windows' or 'mingw' in platname - def is_cygwin(): - platname = platform.system().lower() -- return platname.startswith('cygwin') -+ return platname.startswith('cygwin') or platname.startswith('msys') + def is_cygwin() -> bool: +- return platform.system().lower().startswith('cygwin') ++ return platform.system().lower().startswith('cygwin') or platform.system().lower().startswith('msys') - def is_debianlike(): + def is_debianlike() -> bool: return os.path.isfile('/etc/debian_version') diff --git a/mesonbuild/mesonmain.py b/mesonbuild/mesonmain.py index dfad2e78..71ec6f70 100644