mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 19:01:25 +02:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=qt5-qtquickcontrols2
|
|
_pkgname=${pkgname/qt5-//}-everywhere-src
|
|
pkgver=5.10.1
|
|
_ver=${pkgver/_/-}
|
|
_ver=${_ver/beta0/beta}
|
|
_ver=${_ver/rc0/rc}
|
|
_V=${_ver/rc/RC}
|
|
pkgrel=0
|
|
pkgdesc="Qt5 - module with set of QtQuick controls for embedded"
|
|
url="http://qt-project.org/"
|
|
arch="all"
|
|
license="LGPL-2.0 with exceptions or GPL-3.0 with exceptions"
|
|
options="!check" #upstream does not provide check
|
|
depends="qt5-qtgraphicaleffects"
|
|
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
|
|
subpackages="$pkgname-dev"
|
|
|
|
case $pkgver in
|
|
*_beta*|*_rc*) _rel=development_releases;;
|
|
*) _rel=official_releases;;
|
|
esac
|
|
source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/$_pkgname-$_V.tar.xz"
|
|
|
|
builddir="$srcdir"/$_pkgname-${_V%-*}
|
|
|
|
prepare() {
|
|
default_prepare
|
|
cd "$builddir"
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"/build
|
|
qmake-qt5 ..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
}
|
|
sha512sums="11342f75177e6793475f007e63f1dc1d26ab5b6da8e2241c9f8e25f943bc7ff3b0c7b0ceb71271fbb9c93ef37a9f5a725ea99e390547f10bedfd35f1940e975d qtquickcontrols2-everywhere-src-5.10.1.tar.xz"
|