aboutsummaryrefslogtreecommitdiffstats
path: root/community/qtposition_gpsd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qtposition_gpsd/APKBUILD')
-rw-r--r--community/qtposition_gpsd/APKBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/qtposition_gpsd/APKBUILD b/community/qtposition_gpsd/APKBUILD
new file mode 100644
index 0000000000..ce55ee3f56
--- /dev/null
+++ b/community/qtposition_gpsd/APKBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Luca Weiss <luca@z3ntu.xyz>
+pkgname=qtposition_gpsd
+pkgver=0_git20170922
+_commit="465a8eafada7f5d788d912ba40b22b3a0065e74b"
+pkgrel=0
+pkgdesc="Qt Position plugin for gpsd"
+url="https://github.com/jmechnich/qtposition_gpsd"
+arch="all !armhf" # Limited due to qt5-location-dev
+license="MIT"
+makedepends="qt5-qtlocation-dev"
+source="https://github.com/jmechnich/qtposition_gpsd/archive/$_commit/qtposition_gpsd-$_commit.tar.gz"
+builddir="$srcdir/qtposition_gpsd-$_commit"
+options="!check" # No tests
+
+build() {
+ qmake-qt5
+ make
+}
+
+package() {
+ install -Dm755 libqtposition_gpsd.so \
+ "$pkgdir"/usr/lib/qt5/plugins/position/libqtposition_gpsd.so
+}
+
+sha512sums="97376405ed5da53812f996d86f39170349610acc9819f1a0b2c49139e8f221adab878a4df1b8c201d8c6db9c1bda06e6c1b6eb7584d5c88f158c5b9609e11992 qtposition_gpsd-465a8eafada7f5d788d912ba40b22b3a0065e74b.tar.gz"