aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-12-02 04:27:17 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-12-02 04:27:17 +0000
commit836af8aa2a27951969fa74893c5adef5bf7df5ff (patch)
treee19a4955b1aff93358cae7572abc8fea3699c712 /community
parent996c30c29dfaac6d130f5c10e849a696986d8d8a (diff)
downloadaports-836af8aa2a27951969fa74893c5adef5bf7df5ff.tar.gz
aports-836af8aa2a27951969fa74893c5adef5bf7df5ff.tar.bz2
aports-836af8aa2a27951969fa74893c5adef5bf7df5ff.tar.xz
community/qt5-x11extras: moved from testing, upgrade to 5.9.3, improved APKBUILD
Diffstat (limited to 'community')
-rw-r--r--community/qt5-x11extras/APKBUILD49
1 files changed, 49 insertions, 0 deletions
diff --git a/community/qt5-x11extras/APKBUILD b/community/qt5-x11extras/APKBUILD
new file mode 100644
index 0000000000..ab0b6aa120
--- /dev/null
+++ b/community/qt5-x11extras/APKBUILD
@@ -0,0 +1,49 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=qt5-x11extras
+_pkgname=qtx11extras-opensource-src
+pkgver=5.9.3
+_ver=${pkgver/_p/-}
+_ver=${_ver/_/-}
+_ver=${_ver/beta0/beta}
+_ver=${_ver/rc0/rc}
+_V=${_ver/rc/RC}
+pkgrel=0
+pkgdesc="Provides platform-specific APIs for X11"
+url="http://qt-project.org/"
+arch="all"
+license="GPL3"
+makedepends="qt5-qtbase-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
+}
+
+check() {
+ cd "$builddir"/build
+ make check
+}
+
+package() {
+ cd "$builddir"/build
+ make INSTALL_ROOT="$pkgdir" install
+}
+
+sha512sums="0d1547e25f5d051daa8b20f54ca146bc5a6ad6fdae2c9b9e90dae574840a350bc3ac82b05ddb93b7a544e689fc06e633e57a40f31475cd118e156fad78e91d6c qtx11extras-opensource-src-5.9.3.tar.xz"