~alpine/aports

testing/stellarium: new aport v1 PROPOSED

Drew DeVault: 1
 testing/stellarium: new aport

 1 files changed, 37 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2919/mbox | git am -3
Learn more about email & git

[PATCH] testing/stellarium: new aport Export this patch

---
 testing/stellarium/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/stellarium/APKBUILD

diff --git a/testing/stellarium/APKBUILD b/testing/stellarium/APKBUILD
new file mode 100644
index 0000000000..6d5d54e7c6
--- /dev/null
+++ b/testing/stellarium/APKBUILD
@@ -0,0 +1,37 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
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"
depends=""
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"
-- 
2.22.1