From 4a05bdcecb058b7815897ed6f857947a6c71d5fe Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 16 Aug 2019 10:54:39 +0900 Subject: testing/stellarium: new aport --- testing/stellarium/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 testing/stellarium/APKBUILD (limited to 'testing') diff --git a/testing/stellarium/APKBUILD b/testing/stellarium/APKBUILD new file mode 100644 index 0000000000..8455f187af --- /dev/null +++ b/testing/stellarium/APKBUILD @@ -0,0 +1,36 @@ +# Maintainer: Drew DeVault +pkgname=stellarium +pkgver=0.19.1 +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() { + # Exclude a broken locale test + ctest -E testStelSkyCultureMgr +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="59ab715f7b81e037ed3d23444547dcd00a41b9a1925d58b40a17372e286bbea2c1b762582cd7e1f81d690204840cc23dd9627e2c0bd4abf52367a456849eefe9 stellarium-0.19.1.tar.gz" -- cgit v1.2.3