1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/qt6-qtquickcontrols2/APKBUILD
2021-07-06 13:03:46 +02:00

41 lines
1.1 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtquickcontrols2
pkgver=6.1.2
pkgrel=0
pkgdesc="User interface controls based on Qt Quick"
url="https://qt.io/"
arch="all"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
depends_dev="
qt6-qtdeclarative-dev
vulkan-headers
"
makedepends="$depends_dev
cmake
perl
"
subpackages="$pkgname-dev"
options="!check" # No tests
builddir="$srcdir/qtquickcontrols2-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/qtquickcontrols2-everywhere-src-${pkgver/_/-}.tar.xz"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
6859050f70d70be237dd4a68ebd0988c7aab39a9586954f09f2752c2adaa129f242839f54d2aceed4d2ebd4cef988b175c2bc78a66878eba0ae10d35e1e6c6bc qtquickcontrols2-everywhere-src-6.1.2.tar.xz
"