From aa4e27bf4f1a27e219b6c6c78a481bd417eac0a7 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 28 Sep 2022 12:49:10 +0100 Subject: Fixed packages for next release --- repo/meson/meson.xibuild | 45 +++++++++++++++++++++++++++++++++------------ 1 file changed, 33 insertions(+), 12 deletions(-) (limited to 'repo/meson') diff --git a/repo/meson/meson.xibuild b/repo/meson/meson.xibuild index a642b07..b3dfcf4 100644 --- a/repo/meson/meson.xibuild +++ b/repo/meson/meson.xibuild @@ -1,21 +1,42 @@ #!/bin/sh -MAKEDEPS="python" -DEPS="python ninja" +NAME="meson" +DESC="Fast and user friendly build system" -PKG_VER=0.59 -SOURCE=https://github.com/mesonbuild/meson.git -BRANCH=$PKG_VER +MAKEDEPS="python-setuptools" -DESC="High productivity build system" +PKG_VER=0.63.2 +SOURCE="https://github.com/mesonbuild/meson/releases/download/$PKG_VER/meson-$PKG_VER.tar.gz" -build () { - python setup.py build +ADDITIONAL=" +fix-ninja-output-test.patch +skip-broken-tests.patch +" + +prepare() { + apply_patches + + # https://github.com/mesonbuild/meson/issues/10104 + rm -r "$BUILD_ROOT/test cases/linuxlike/13 cmake dependency" +} + +build() { + python setup.py build } -package () { - python setup.py install --root=$PKG_DEST +check() { + MESON_CI_JOBNAME=thirdparty \ + NINJA=samu \ + NINJA_1_9_OR_NEWER=1 \ + python3 run_tests.py +} + +package() { + python setup.py install --prefix=/usr --root="$PKG_DEST" + + install -Dm644 data/shell-completions/zsh/* -t "$PKG_DEST"/usr/share/zsh/site-functions + install -Dm644 data/shell-completions/bash/* -t "$PKG_DEST"/usr/share/bash-completion/completions - install -Dm644 data/shell-completions/bash/meson $PKG_DEST/usr/share/bash-completion/completions/meson - install -Dm644 data/shell-completions/zsh/_meson $PKG_DEST/usr/share/zsh/site-functions/_meson + install -Dm0755 "$BUILD_ROOT"/meson --prefix=/usr \ + -t "$PKG_DEST"/usr/bin } -- cgit v1.2.1