mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
62 lines
2.4 KiB
Bash
62 lines
2.4 KiB
Bash
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
# Contributor: Anatol Pomozov <anatol dot pomozov at gmail>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - disable lto in arch-meson
|
|
|
|
pkgname=meson
|
|
pkgver=0.44.0
|
|
pkgrel=1
|
|
pkgdesc='High productivity build system'
|
|
url='http://mesonbuild.com/'
|
|
arch=('any')
|
|
license=('Apache')
|
|
depends=('python' 'ninja')
|
|
makedepends=('python-setuptools')
|
|
checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt4' 'qt5-base' 'git' 'gnustep-base'
|
|
'cython' 'gtkmm3' 'gtest' 'gmock' 'protobuf' 'wxgtk' 'python-gobject' 'gobject-introspection'
|
|
'itstool' 'gtk3' 'java-environment=8' 'gtk-doc' 'llvm' 'clang' 'sdl2'
|
|
'doxygen' 'vulkan-validation-layers' 'openmpi' 'openssh' 'mercurial' 'gtk-sharp-2'
|
|
'qt5-tools' 'libwmf')
|
|
checkdepends_x86_64=('ldc' 'valgrind')
|
|
source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc}
|
|
arch-meson)
|
|
sha512sums=('9aefa52d92d7750528e9a9236f19131c8e58bfc21212595c311f4e2787ad40bb53d6085f52283cad13923ddf12da1a59067d48424c72ace47fc127978d1af2ff'
|
|
'SKIP'
|
|
'db8875aea3b8307305426c19db58481b678fedd2bb1c2c95e41d94fc93493553186a49000f465595f8eedb61b682c92b242a69f41194b08ba915ab7f3bf91f19')
|
|
validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen <jpakkane@gmail.com>
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
python setup.py build
|
|
}
|
|
|
|
check() {
|
|
cd ${pkgname}-${pkgver}
|
|
unset CLASSPATH # GNUstep breaks java tests
|
|
LDFLAGS="${LDFLAGS/,--as-needed/}" # --as-needed breaks openmpi linking
|
|
# export MESON_PRINT_TEST_OUTPUT=1 # set this for debug output
|
|
# graphviz: Installing breaks doxygen tests
|
|
LC_CTYPE=en_US.UTF-8 DC=ldc ./run_tests.py
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
|
|
|
|
for _f in data/syntax-highlighting/vim/*/*; do
|
|
install -Dt "${pkgdir}/usr/share/vim/vimfiles/$(basename "$(dirname "$_f")")" -m644 "$_f"
|
|
done
|
|
install -Dt "${pkgdir}/usr/share/emacs/site-lisp" -m644 data/syntax-highlighting/emacs/*
|
|
install -Dt "${pkgdir}/usr/share/zsh/site-functions" -m644 data/shell-completions/zsh/*
|
|
|
|
# Arch packaging helper
|
|
install -D ../arch-meson -t "${pkgdir}/usr/bin"
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|