Celestia: partially-working recipe.

We don't have X11 (which the Qt port requires) and we don't have GTK,
which leaves only the GLUT port, which we don't have a recipe for. So this
is un-compileable as it is...
This commit is contained in:
Augustin Cavalier
2014-12-02 12:46:24 -05:00
parent b21a1e0384
commit dd6a87b977
2 changed files with 76 additions and 26 deletions

View File

@@ -1,26 +0,0 @@
DESCRIPTION="Celestia - The free space simulation"
HOMEPAGE="http://www.shatters.net/celestia/"
SRC_URI="http://sourceforge.net/projects/celestia/files/Celestia-source/1.6.0/celestia-1.6.0.tar.gz/download"
CHECKSUM_MD5="9b96a8e7666ab5a26f032b9d605e023d"
REVISION="1"
STATUS_HAIKU="unstable"
DEPEND="dev-lang/lua >= 5.1.4
sys-devel/gettext >= 0.17"
BUILD()
{
cd celestia-1.6.0
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=/boot/apps/celestia --with-glut
make
}
INSTALL()
{
cd celestia-1.6.0
make install
}
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2008 Celestia Development Team"

View File

@@ -0,0 +1,76 @@
SUMMARY="The free space simulation that lets you explore our universe in three dimensions"
DESCRIPTION="Unlike most planetarium software, Celestia doesn't confine you to \
the surface of the Earth. You can travel throughout the solar system, to any of \
over 100,000 stars, or even beyond the galaxy.
All movement in Celestia is seamless; the exponential zoom feature lets you \
explore space across a huge range of scales, from galaxy clusters down to \
spacecraft only a few meters across. A 'point-and-goto' interface makes it \
simple to navigate through the universe to the object you want to visit.
Celestia is expandable. Celestia comes with a large catalog of stars, galaxies, \
planets, moons, asteroids, comets, and spacecraft. If that's not enough, you \
can download dozens of easy to install add-ons with more objects."
HOMEPAGE="http://celestia.sourceforge.net"
SRC_URI="http://fossies.org/linux/misc/celestia-1.6.1.tar.gz"
CHECKSUM_SHA256="d35570ccb9440fc0bd3e73eb9b4c3e8a4c25f3ae444a13d1175053fa16dc34c4"
SOURCE_DIR="celestia-$portVersion"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2011 Celestia Development Team"
ARCHITECTURES="x86 ?x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
else
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
fi
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
celestia$secondaryArchSuffix = $portVersion
app:celestia$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lua$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
lib:libglut$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
lua${secondaryArchSuffix}_devel
devel:libintl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libgl$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libglut$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:libtoolize
cmd:gettext
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
libtoolize -fci
runConfigure ./configure --with-glut
make $jobArgs
}
INSTALL()
{
make install
}