2014-04-30 21:35:27 +02:00
|
|
|
# Template file for 'celestia-gtk'
|
|
|
|
pkgname=celestia-gtk
|
|
|
|
version=1.6.1
|
2014-11-23 11:39:51 +01:00
|
|
|
revision=3
|
2014-04-30 21:35:27 +02:00
|
|
|
short_desc="free space simulation using GTK"
|
|
|
|
maintainer="Martin Riese <grauehaare@gmx.de>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.shatters.net/celestia/"
|
2014-11-01 19:44:30 +01:00
|
|
|
update_pkgname="celestia"
|
|
|
|
update_ignore="103 104 107"
|
2014-04-30 21:35:27 +02:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/celestia/celestia-${version}.tar.gz"
|
|
|
|
checksum="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-gtk --with-lua --enable-theora --disable-static"
|
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="gtkglext-devel zlib-devel lua51-devel glu-devel gtk+-devel libjpeg-turbo-devel
|
|
|
|
libpng-devel libtheora-devel pangox-compat-devel"
|
|
|
|
wrksrc=celestia-${version}
|
|
|
|
|
2014-05-01 08:16:29 +02:00
|
|
|
provides="celestia-${version}_${revision}"
|
|
|
|
replaces="celestia>=0"
|
|
|
|
|
2014-04-30 21:35:27 +02:00
|
|
|
do_build() {
|
|
|
|
make CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="-lpng -ljpeg -llua5.1 -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -logg -ltheora -lz -ldl -pthread"
|
|
|
|
}
|