aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-03-03 10:53:32 +0100
committerBart Ribbers <bribbers@disroot.org>2021-03-03 11:09:41 +0100
commit413c7be39538f3f18820f31164059ca5d92f1066 (patch)
treef57e0ac1ca9a3b61618ca27f8dcd3df010328dba
parent83fcd54f730bdd7850975176341905dacacf05fe (diff)
downloadaports-413c7be39538f3f18820f31164059ca5d92f1066.tar.gz
aports-413c7be39538f3f18820f31164059ca5d92f1066.tar.bz2
aports-413c7be39538f3f18820f31164059ca5d92f1066.tar.xz
community/qt5-qtfeedback: new aport
-rw-r--r--community/qt5-qtfeedback/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/community/qt5-qtfeedback/APKBUILD b/community/qt5-qtfeedback/APKBUILD
new file mode 100644
index 0000000000..e3d15b5a13
--- /dev/null
+++ b/community/qt5-qtfeedback/APKBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=qt5-qtfeedback
+pkgver=0_git20180903
+pkgrel=0
+_commit="a14bd0bb1373cde86e09e3619fb9dc70f34c71f2"
+arch="all"
+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"
+pkgdesc="Qt Tactile Feedback"
+depends_dev="qt5-qtdeclarative-dev"
+makedepends="$depends_dev
+ git
+ "
+source="https://github.com/qt/qtfeedback/archive/$_commit/qtfeedback-$_commit.tar.gz"
+subpackages="$pkgname-dev $pkgname-doc"
+builddir="$srcdir/qtfeedback-$_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
+}
+
+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="40f58a55bdbeaec91d31a7e7c4ec54e84c002d4b22f607b4b99985b6629bbe90dc98570f36bb736f7b90f078db42481c44b2fd2730f8e6102ebcf8e3e70a847f qtfeedback-a14bd0bb1373cde86e09e3619fb9dc70f34c71f2.tar.gz"