aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/qt5-x11extras/APKBUILD49
-rw-r--r--testing/qt5-x11extras/APKBUILD35
2 files changed, 49 insertions, 35 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"
diff --git a/testing/qt5-x11extras/APKBUILD b/testing/qt5-x11extras/APKBUILD
deleted file mode 100644
index 775043c108..0000000000
--- a/testing/qt5-x11extras/APKBUILD
+++ /dev/null
@@ -1,35 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
-pkgname=qt5-x11extras
-pkgver=5.9.1
-_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"
-depends=""
-depends_dev=""
-makedepends="$depends_dev qt5-qtbase-dev"
-install=""
-subpackages="$pkgname-dev"
-source="http://download.qt.io/official_releases/qt/${pkgver%.*}/$_ver/submodules/qtx11extras-opensource-src-$_ver.tar.xz"
-builddir="$srcdir"/qtx11extras-opensource-src-${_V%-*}
-
-build() {
- cd "$builddir"
- mkdir build && cd build
- qmake-qt5 .. || return 1
- make || return 1
-}
-
-package() {
- cd "$builddir"/build
- make INSTALL_ROOT="$pkgdir" install || return 1
-}
-
-sha512sums="71b49d4c313e69d47b4e8652913005afe178caaee30f123016ed87ef4d798c347fd15135895a3e434ca32a80aee82a1b2d7da8278ceef92bdee9c35b7cdce84e qtx11extras-opensource-src-5.9.1.tar.xz"