2015-04-07 23:09:41 +08:00
|
|
|
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/kdeedu-kstars/
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2015-04-07 23:09:41 +08:00
|
|
|
pkgname=kstars
|
2018-07-26 19:54:46 +08:00
|
|
|
pkgver=2.9.7
|
2018-02-27 16:52:55 +08:00
|
|
|
pkgrel=1
|
2018-01-12 08:29:29 +08:00
|
|
|
epoch=1
|
2014-01-13 05:14:23 +08:00
|
|
|
pkgdesc="Desktop planetarium"
|
2018-01-12 08:29:29 +08:00
|
|
|
url="https://kde.org/applications/education/kstars/"
|
2012-11-19 00:52:05 +08:00
|
|
|
arch=('x86_64')
|
2015-04-07 23:09:41 +08:00
|
|
|
screenshot='https://www.kde.org/images/screenshots/kstars.png'
|
|
|
|
license=('GPL' 'LGPL' 'FDL')
|
2018-07-28 10:50:58 +08:00
|
|
|
depends=('wcslib' 'libraw' 'kplotting' 'knewstuff' 'knotifyconfig' 'qt5-datavis3d' 'libindi' 'qt5-quickcontrols2'
|
2018-07-26 19:54:46 +08:00
|
|
|
'qt5-websockets' 'qtkeychain' 'hicolor-icon-theme')
|
2015-08-11 05:26:57 +08:00
|
|
|
makedepends=('extra-cmake-modules' 'python3' 'kdoctools' 'eigen3' 'xplanet')
|
2018-07-26 19:54:46 +08:00
|
|
|
optdepends=('xplanet: XPlanet support')
|
2015-08-11 05:26:57 +08:00
|
|
|
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdeedu')
|
2015-04-07 23:09:41 +08:00
|
|
|
replaces=('kdeedu-kstars')
|
|
|
|
conflicts=('kdeedu-kstars')
|
2018-07-26 19:54:46 +08:00
|
|
|
options=('debug')
|
2018-01-12 08:29:29 +08:00
|
|
|
source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
|
2018-07-26 19:54:46 +08:00
|
|
|
sha256sums=('4d80f5b5b5f38500f259c0272ba7f85bb4d1e877060bb3a1a0469a32573d0f53'
|
2018-01-12 08:29:29 +08:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=(259D9FCEE9175351965633696D9CE2AEE028C4F3) # Jasem Mutlaq <mutlaqja@ikarustech.com>
|
2011-07-23 02:02:15 +08:00
|
|
|
|
2014-03-26 20:37:59 +08:00
|
|
|
prepare() {
|
2015-04-07 23:09:41 +08:00
|
|
|
mkdir -p build
|
2014-03-26 20:37:59 +08:00
|
|
|
}
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
build() {
|
2015-04-07 23:09:41 +08:00
|
|
|
cd build
|
2018-07-27 03:17:35 +08:00
|
|
|
cmake ../$pkgname-$pkgver \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DOpenGL_GL_PREFERENCE=GLVND
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|
|
|
|
|
2012-02-06 04:46:15 +08:00
|
|
|
package() {
|
2015-08-11 05:26:57 +08:00
|
|
|
cd build
|
|
|
|
make DESTDIR=${pkgdir} install
|
2011-07-23 02:02:15 +08:00
|
|
|
}
|