mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 01:44:36 +02:00
48 lines
1.2 KiB
Text
48 lines
1.2 KiB
Text
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=qt6
|
|
maintainer="Bart Ribbers <bribbers@disroot.org>"
|
|
pkgname=qt6-qttranslations
|
|
pkgver=6.8.3
|
|
pkgrel=0
|
|
pkgdesc="A cross-platform application and UI framework (Translations)"
|
|
url="https://qt.io/"
|
|
arch="noarch"
|
|
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
|
|
makedepends="
|
|
cmake
|
|
perl
|
|
qt6-qtbase-dev
|
|
qt6-qttools-dev
|
|
samurai
|
|
"
|
|
builddir="$srcdir/qttranslations-everywhere-src-${pkgver/_/-}"
|
|
|
|
case $pkgver in
|
|
*_alpha*|*_beta*|*_rc*) _rel=development_releases;;
|
|
*) _rel=official_releases;;
|
|
esac
|
|
|
|
source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qttranslations-everywhere-src-${pkgver/_/-}.tar.xz"
|
|
options="!check" # No tests
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
# -j1 to prevent race conditions and missing translation files
|
|
cmake --build build -j1
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
dev() {
|
|
default_dev
|
|
|
|
amove usr/lib/qt6/sbom
|
|
}
|
|
|
|
sha512sums="
|
|
d5df6136d3f66c93c0dd6d98c7a467c8b939d7bf5c90b5acff69262163c1e7cccc0c4f2f83b5ef06179601578b4a109f2f0c76c3897a31d3fb2567995fc55328 qttranslations-everywhere-src-6.8.3.tar.xz
|
|
"
|