mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 09:24:36 +08:00
meson check() requires ton of deps, skipped for now lot of issues building with meson, stay with configure when possible
52 lines
2.1 KiB
Bash
52 lines
2.1 KiB
Bash
pkgname=meson
|
|
pkgver=0.43.0
|
|
pkgrel=1
|
|
pkgdesc='High productivity build system'
|
|
url='http://mesonbuild.com/'
|
|
arch=('any')
|
|
license=('Apache')
|
|
depends=('python3' 'ninja')
|
|
makedepends=('python3-setuptools')
|
|
checkdepends=('gcc-objc' 'vala' 'rust' 'gcc-fortran' 'mono' 'boost' 'qt5-base' 'git'
|
|
'python3-cython' 'gtest' 'gmock' 'protobuf' 'python3-gobject' 'gobject-introspection'
|
|
'itstool' 'valgrind' 'sdl2' 'doxygen' 'llvm' 'clang' 'gnustep-base' 'gtk-doc' 'gtk3' 'vulkan-validation-layers'
|
|
'openmpi' 'openssh' 'mercurial')
|
|
source=(https://github.com/mesonbuild/meson/releases/download/${pkgver}/meson-${pkgver}.tar.gz{,.asc}
|
|
fix-tests.diff
|
|
chakra-meson)
|
|
sha512sums=('e149758fa6ad4b2d3643bcda176577633f2e50e58f38074c1a17f1712d554bac0fbabf26fe7eef15954dc51630b1f923b15cfe9040a025cf61b5666098197d16'
|
|
'SKIP'
|
|
'7ea1f02adf79e4fde5d002956852d9b976b36386be8d78a3845292e8195a36d462db20a9c708e332e0d3b261a7abf9d05f5d034aab96ede58229639f3620ec91'
|
|
'82557891b9424b1597f1200bfacfae2f357e94bf81d53fc3fe9b2b641098566513dce6eeaa8882e9892c7cdec796650e5298ed25af61f35f9d02d9b4b9ca39c8')
|
|
validpgpkeys=('95181F4EED14FDF4E41B518D3BF4693BFEEB9428') # Jussi Pakkanen <jpakkane@gmail.com>
|
|
|
|
prepare() {
|
|
cd ${pkgname}-${pkgver}
|
|
patch -Np1 -i ../fix-tests.diff
|
|
}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
python3 setup.py build
|
|
}
|
|
|
|
#check() {
|
|
# cd ${pkgname}-${pkgver}
|
|
# unset CLASSPATH # GNUstep breaks java tests
|
|
# # export MESON_PRINT_TEST_OUTPUT=1 # set this for debug output
|
|
# # Installing graphviz breaks doxygen tests
|
|
# LC_CTYPE=en_US.UTF-8 DC=ldc ./run_tests.py
|
|
#}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
python3 setup.py install --root="${pkgdir}" -O1
|
|
install -Dm 644 syntax-highlighting/vim/ftdetect/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/ftdetect"
|
|
install -Dm 644 syntax-highlighting/vim/indent/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/indent"
|
|
install -Dm 644 syntax-highlighting/vim/syntax/meson.vim -t "${pkgdir}/usr/share/vim/vimfiles/syntax"
|
|
|
|
# Chakra packaging helper
|
|
install -D ../chakra-meson -t "${pkgdir}/usr/bin"
|
|
}
|
|
|