aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-05-01 21:09:13 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-04 10:32:10 +0000
commitcac4eded81ccb70a3a81229dba1132189b2cfad9 (patch)
tree9f70af20baa75d8a755350f9e0feca999929d1d4
parent31d17ed6f80e2d43d72901f4db7ce61f1a6b28c9 (diff)
downloadaports-cac4eded81ccb70a3a81229dba1132189b2cfad9.tar.gz
aports-cac4eded81ccb70a3a81229dba1132189b2cfad9.tar.bz2
aports-cac4eded81ccb70a3a81229dba1132189b2cfad9.tar.xz
testing/qt5-qtsystems: new aport
-rw-r--r--testing/qt5-qtsystems/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/qt5-qtsystems/APKBUILD b/testing/qt5-qtsystems/APKBUILD
new file mode 100644
index 0000000000..132c002795
--- /dev/null
+++ b/testing/qt5-qtsystems/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=qt5-qtsystems
+pkgver=0_git20190103
+pkgrel=0
+_commit="e3332ee38d27a134cef6621fdaf36687af1b6f4a"
+pkgdesc="Qt Systems"
+arch="all !armhf" # Blocked by qt5-qtdeclarative-dev
+url='http://qt-project.org/'
+license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
+depends_dev="qt5-qtdeclarative-dev"
+makedepends="$depends_dev qt5-qtbase-dev git"
+source="https://github.com/qt/qtsystems/archive/$_commit/qtsystem-$_commit.tar.gz"
+subpackages="$pkgname-dev $pkgname-doc"
+options="!check" # No tests
+builddir="$srcdir/qtsystems-$_commit"
+
+prepare() {
+ default_prepare
+ # Something in the build system only runs the syncqt.pl script when it's in a git repo
+ git init
+}
+
+build() {
+ qmake-qt5
+ make
+}
+
+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="48ed8353a021892cb226a5cb99de1919a48638ddf765094f47c204e8699892e33f66a39d717bfd238516b9529d2158227be8c510f4f1a7ddb68901e6e7cb0e85 qtsystem-e3332ee38d27a134cef6621fdaf36687af1b6f4a.tar.gz"