2012-09-23 23:45:23 +08:00
|
|
|
#
|
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# Maintainer: Martín González <koteccr at gmail dot com>
|
|
|
|
|
|
|
|
pkgname=stellarium
|
2014-01-03 01:24:26 +08:00
|
|
|
pkgver=0.12.4
|
2012-09-23 23:45:23 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A stellarium with great graphics and a nice database of sky-objects"
|
2013-05-28 01:59:29 +08:00
|
|
|
arch=('x86_64')
|
2012-09-23 23:45:23 +08:00
|
|
|
url="http://www.stellarium.org/"
|
2012-09-23 23:57:04 +08:00
|
|
|
screenshot=('http://www.stellarium.org/img/screenshots/0.10-from-mars.jpg')
|
2012-09-23 23:45:23 +08:00
|
|
|
license=('GPL2')
|
2013-08-12 04:05:26 +08:00
|
|
|
depends=('libpng' 'libgl' 'qt' 'openssl' 'zlib' 'gettext' 'phonon')
|
2013-05-28 01:59:29 +08:00
|
|
|
makedepends=('cmake' 'boost' 'mesa')
|
2012-09-23 23:45:23 +08:00
|
|
|
categories=('education')
|
2013-05-28 01:59:29 +08:00
|
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
|
2014-01-03 01:24:26 +08:00
|
|
|
md5sums=('4d2ec96b9b4d9c8fc722f864409cf4fa')
|
2013-05-28 01:59:29 +08:00
|
|
|
|
2012-09-23 23:45:23 +08:00
|
|
|
build() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
2013-08-12 04:05:26 +08:00
|
|
|
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE -DENABLE_SOUND=1
|
2012-09-23 23:45:23 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
|
2013-05-28 01:59:29 +08:00
|
|
|
# install desktop file
|
|
|
|
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/data/stellarium.desktop \
|
2012-09-23 23:45:23 +08:00
|
|
|
${pkgdir}/usr/share/applications/stellarium.desktop
|
2013-05-28 01:59:29 +08:00
|
|
|
|
|
|
|
# install desktop icons
|
|
|
|
for i in 16 32 48 64 128 256 512; do
|
|
|
|
install -Dm644 ${srcdir}/${pkgname}-${pkgver}/data/icons/${i}x${i}/stellarium.png \
|
|
|
|
${pkgdir}/usr/share/icons/hicolor/apps/${i}x${i}/stellarium.png
|
|
|
|
done
|
2012-09-23 23:45:23 +08:00
|
|
|
}
|