meson: Update to 0.50.1

This commit is contained in:
Alexey Pavlov
2019-04-27 22:40:45 +03:00
parent d1ccc2bc91
commit d6170257dd
2 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
# Maintainer: Christoph Reiter <reiter.christoph@gmail.com>
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}"

View File

@@ -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