aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/stellarium/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/stellarium/APKBUILD b/community/stellarium/APKBUILD
new file mode 100644
index 0000000000..59fa8d7ede
--- /dev/null
+++ b/community/stellarium/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=stellarium
+pkgver=0.19.2
+pkgrel=0
+pkgdesc="A stellarium with great graphics and a nice database of sky-objects"
+url="http://stellarium.org/"
+arch="all"
+license="GPL-2.0-or-later"
+makedepends="
+ cmake boost-dev mesa-dev qt5-qttools-dev libpng-dev freetype-dev
+ openssl-dev qt5-qtscript-dev qt5-qtserialport-dev qt5-qtmultimedia-dev
+ qt5-qtlocation-dev gpsd-dev
+"
+subpackages="$pkgname-doc"
+source="
+ $pkgname-$pkgver.tar.gz::https://github.com/Stellarium/stellarium/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
+"
+
+build() {
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_TESTING=1 \
+ .
+ make
+}
+
+check() {
+ [ "$CARCH" = "x86" ] && return 0
+ # Exclude a broken locale test
+ ctest -E 'test(INDIConnection|TelescopeControl_INDI|TelescopeClientINDI|StelSkyCultureMgr)'
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a0002dc8a1e43aa264cdf013b57362880d4809207a1f867285d3e1187c4c88c67d166652afe0edeec5a98eff1167e6c3693594d467605ba78ee29d6eb7878d4b stellarium-0.19.2.tar.gz"