community/qbs: upgrade to 2.4.0

This commit is contained in:
Celeste 2024-05-08 03:32:09 +00:00
parent 6e8aea8842
commit bca06e42d6

View File

@ -1,6 +1,6 @@
# Maintainer:
pkgname=qbs
pkgver=2.3.0
pkgver=2.4.0
pkgrel=0
pkgdesc="Cross platform Qt build tool"
url="https://wiki.qt.io/Qbs"
@ -12,6 +12,14 @@ builddir="$srcdir/qbs-src-$pkgver"
options="!check" # todo
build() {
case "$CARCH" in
arm*|aarch64|riscv64|loongarch64)
# not supported by clang here
export CFLAGS="${CFLAGS/-fstack-clash-protection}"
export CXXFLAGS="${CXXFLAGS/-fstack-clash-protection}"
;;
esac
CC=clang CXX=clang++ \
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
@ -32,5 +40,5 @@ package() {
}
sha512sums="
6611ce02b0dc4f4a0cc68a13a7c684c07061d3fff57d2ca16470fffa253ff23f45349d86ad4ba4c0eab681f74f3c92cddd85daedf1f31fd1a7eae5bddb606cb6 qbs-src-2.3.0.tar.gz
c1698d4d97c79983d0e1c86a32c12b7a1b85f1f031c9dc1f94bc0a2a6f29a840c5aa3fee7ffb7477e6fe7a8cd171f09afac1eca048440de90903be2474cfd18c qbs-src-2.4.0.tar.gz
"