summaryrefslogtreecommitdiff
path: root/user/qt5-qtquickcontrols2/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 03:01:12 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-15 03:01:12 -0500
commite90d8846ad198960ef28a09413854a0e1e3e22b6 (patch)
treee2ccf5e3f195c4892b166606d1902873aef7ac4e /user/qt5-qtquickcontrols2/APKBUILD
parentda95740448671a1b7b9f1d87b36a777826f44e08 (diff)
downloadpackages-e90d8846ad198960ef28a09413854a0e1e3e22b6.tar.gz
packages-e90d8846ad198960ef28a09413854a0e1e3e22b6.tar.bz2
packages-e90d8846ad198960ef28a09413854a0e1e3e22b6.tar.xz
packages-e90d8846ad198960ef28a09413854a0e1e3e22b6.zip
user/qt5-qtquickcontrols2: bump to 5.9.6, overhaul
Diffstat (limited to 'user/qt5-qtquickcontrols2/APKBUILD')
-rw-r--r--user/qt5-qtquickcontrols2/APKBUILD31
1 files changed, 11 insertions, 20 deletions
diff --git a/user/qt5-qtquickcontrols2/APKBUILD b/user/qt5-qtquickcontrols2/APKBUILD
index c4f4579a0..7aa9e065f 100644
--- a/user/qt5-qtquickcontrols2/APKBUILD
+++ b/user/qt5-qtquickcontrols2/APKBUILD
@@ -1,33 +1,24 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtquickcontrols2
-pkgver=5.9.3
+_pkgname=qtquickcontrols2-opensource-src
+pkgver=5.9.6
pkgrel=0
-pkgdesc="Qt5 - QtQuick controls 2.0"
-url="http://qt-project.org/"
+pkgdesc="Qt 5 - Quick Controls 2.0"
+url="https://qt.io/"
arch="all"
-license="LGPLv2 with exceptions or GPLv3 with exceptions"
-options="!check"
+options="!check" # Impossible to test with accelerated X desktop
+license="LGPLv2 with exceptions OR GPLv3 with exceptions"
depends=""
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
-install=""
subpackages="$pkgname-dev"
+source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"
+builddir="$srcdir"/$_pkgname-$pkgver
-_ver=${pkgver/_/-}
-_ver=${_ver/beta0/beta}
-_ver=${_ver/rc0/rc}
-_V=${_ver/rc/RC}
-case $pkgver in
-*_beta*|*_rc*) _rel=development_releases;;
-*) _rel=official_releases;;
-esac
-
-source="http://download.qt-project.org/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtquickcontrols2-opensource-src-$_V.tar.xz"
-
-builddir="$srcdir"/qtquickcontrols2-opensource-src-$_V
build() {
cd "$builddir"
- qmake-qt5 && make
+ qmake
+ make
}
package() {
@@ -35,4 +26,4 @@ package() {
make install INSTALL_ROOT="$pkgdir"
}
-sha512sums="34bec1d3c68eb86ff078fded6d19f463ee78f4929adae54beb2a1c0b1dc3f5b1a7e73210ac05e3a7e3391919c37892dde4aff88cf20e2fb148cb2a03401856ee qtquickcontrols2-opensource-src-5.9.3.tar.xz"
+sha512sums="46817c31a62de3cce4179869c3080e12d2dcb3859af9020fc476baddc184ef7a7b8dfb0ccd2501c72e689c5d64c3d9135eeb1f7dfc821f06aa124addc4dc4d7d qtquickcontrols2-opensource-src-5.9.6.tar.xz"