diff options
Diffstat (limited to 'testing/qt5-qtdatavis3d/APKBUILD')
-rw-r--r-- | testing/qt5-qtdatavis3d/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/qt5-qtdatavis3d/APKBUILD b/testing/qt5-qtdatavis3d/APKBUILD new file mode 100644 index 0000000000..fc7e95f3be --- /dev/null +++ b/testing/qt5-qtdatavis3d/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=qt5-qtdatavis3d +pkgver=5.14.1 +pkgrel=0 +arch="all !armhf" # armhf blocked by qt5-qtdeclarative +url="https://www.qt.io/developers/" +license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0" +pkgdesc="Qt Data Visualization module" +makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev" +subpackages="$pkgname-dev $pkgname-doc" +builddir="$srcdir/qtdatavis3d-everywhere-src-$pkgver" + +case $pkgver in + *_beta*|*_rc*) _rel=development_releases;; + *) _rel=official_releases;; +esac + +source="http://download.qt.io/$_rel/qt/${pkgver%.*}/$pkgver/submodules/qtdatavis3d-everywhere-src-$pkgver.tar.xz" + +build() { + qmake-qt5 + make +} + +check() { + make check +} + +package() { + make INSTALL_ROOT="$pkgdir" install + + # Drop QMAKE_PRL_BUILD_DIR because reference the build dir + find "$pkgdir/usr/lib" -type f -name '*.prl' \ + -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \; + + install -d "$pkgdir"/usr/share/licenses + ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname +} +sha512sums="51ca881a89bbe88011d4386edda23d42932e991d57586687dd022febe4cbfce9ff863f198e2d3b106f081c2bd8765f4c9de56b5db0a0a4a3304b464800a379d7 qtdatavis3d-everywhere-src-5.14.1.tar.xz" |