ChangeLog

# ChangeLog for dev-games/crystalspace
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/ChangeLog,v 1.37 2007/11/21 02:08:16 dirtyepic Exp $

21 Nov 2007; Ryan Hill crystalspace-1.0.1.ebuild,
crystalspace-1.2.ebuild:
Allow building with ftjam for bug #188194

21 Nov 2007; Ryan Hill crystalspace-1.0.1.ebuild,
crystalspace-1.2.ebuild:
With the new wxwidgets eclass /usr/bin/wx-config is guaranteed to exist, so
this workaround is no longer needed. In any case the eclass no longer sets
WX_CONFIG_NAME.

13 Nov 2007; Chris Gianelloni
crystalspace-1.0.1.ebuild:
Changing ~amd64 to -amd64 due to bug #187093.

30 Oct 2007; nixnut crystalspace-0.98.4.ebuild,
crystalspace-1.2.ebuild:
removed ~ppc/ppc keywords from all versions

28 Oct 2007; nixnut crystalspace-1.0.1.ebuild:
removed ~ppc wrt bug 168874

14 Oct 2007; Michael Sterrett
crystalspace-1.2.ebuild:
fix env file for bug #195829

*crystalspace-1.2 (07 Oct 2007)

07 Oct 2007; Michael Sterrett
+crystalspace-1.2.ebuild:
version bump

06 Sep 2007; Christian Faulhammer
crystalspace-1.0.1.ebuild:
stable x86, bug 187093

14 May 2007; Ryan Hill crystalspace-1.0.ebuild,
crystalspace-1.0.1.ebuild:
Lock to wxGTK-2.6 and use wxwidgets.eclass.

14 May 2007; Ryan Hill crystalspace-1.0.ebuild,
crystalspace-1.0.1.ebuild:
Lock to wxGTK-2.6 and use wxwidgets.eclass.

26 Mar 2007; Chris Gianelloni
crystalspace-0.98.4.ebuild:
Remove dependency on portage, since it really isn't necessary.

04 Mar 2007; Marius Mauch crystalspace-1.0.ebuild,
crystalspace-1.0.1.ebuild:
Replacing einfo with elog

*crystalspace-1.0.1 (01 Mar 2007)

01 Mar 2007; +crystalspace-1.0.1.ebuild:
Version bumbed to 1.0.1
Fixed a problem building plugin: changed -O3 to -O2

16 Feb 2007; crystalspace-1.0.ebuild:
Fixing hang on lightmap recalculation. Bug #166547 by Emilien KIA

08 Feb 2007; crystalspace-1.0.ebuild:
Depends conditionally on dev-games/cegui

08 Feb 2007; Tristan Heaven crystalspace-1.0.ebuild:
Use java-pkg-opt-2 eclass

02 Feb 2007; crystalspace-1.0.ebuild:
Work around problems raised with bug #155788 comment 18 by Frank Richter

31 Jan 2007; crystalspace-1.0.ebuild:
Adding environment variable definition

31 Jan 2007; crystalspace-1.0.ebuild:
lcms used only by libmng. Removed

*crystalspace-1.0 (31 Jan 2007)

31 Jan 2007; +crystalspace-1.0.ebuild:
Version bump to 1.0 . Bug #155788 by loux thefuture

14 Aug 2006; Stefan Schweizer
crystalspace-0.98.4.ebuild:
remove boost-jam as option because it will no longer provide the jam binary
thanks to dev-zero in #gentoo-games

06 Sep 2005; Chris Gianelloni
crystalspace-0.98.4.ebuild, crystalspace-0.99_pre20050823.ebuild:
oggvorbis -> vorbis for bug #94254.

*crystalspace-0.99_pre20050823 (31 Aug 2005)

31 Aug 2005; Philip Walls -crystalspace-0.98.4.20050224.ebuild,
-crystalspace-0.99_pre20050518.ebuild,
+crystalspace-0.99_pre20050823.ebuild:
Prerelease version bump for planeshift

24 May 2005; David Holm
crystalspace-0.99_pre20050518.ebuild:
Readded to ~ppc. Please don't remove it without filing a proper bug report.

*crystalspace-0.99_pre20050518 (21 May 2005)

21 May 2005; Philip Walls
+crystalspace-0.99_pre20050518.ebuild:
CVS snapshot for Planeshift

28 Feb 2005; Michael Sterrett
crystalspace-0.98.4.20050224.ebuild, crystalspace-0.98.4.ebuild:
fix HOMEPAGE (bug #83100)

24 Feb 2005; Thomas Raschbacher : crystalspace-0.98.4.20050224.ebuild
cvs snapshot for planeshift

27 Dec 2004; Mike Frysinger +files/0.98.4-gl.patch,
crystalspace-0.98.4.ebuild:
Add patch to make GL happy #75702 by Tom Wesley.

*crystalspace-0.98.4 (25 Dec 2004)

25 Dec 2004; Mike Frysinger
+crystalspace-0.98.4.ebuild, -crystalspace-20030413-r1.ebuild,
-crystalspace-20040604.ebuild:
Version bumpage.

16 Jun 2004; Michael Sterrett
crystalspace-20040604.ebuild:
depend on dev-util/jam (bug #54101)

*crystalspace-20040604 (05 Jun 2004)

05 Jun 2004; Thomas Raschbacher
+crystalspace-20040604.ebuild:
new version (cvs snapshot)

03 Jun 2004; Thomas Raschbacher
crystalspace-20030413-r1.ebuild:
changed dep for ode to match version 0.039 because it doesn't work with 0.5

13 Apr 2004; Michael Sterrett
crystalspace-20030413-r1.ebuild:
sync IUSE with use flags

30 Mar 2004; Michael Sterrett
crystalspace-20030413-r1.ebuild:
don't rdepend on nasm

*crystalspace-20030413-r1 (17 Apr 2003)

17 Apr 2003; Philip Walls
crystalspace-20030413-r1.ebuild :
Fixed problem with env.d/15crystalspace (vars now on seperate lines)

*crystalspace-20030413 (13 Apr 2003)

13 Apr 2003; Philip Walls
crystalspace-20030413.ebuild :
CrystalSpace snapshot that works with Planeshift

*crystalspace-0.96_p002 (02 Apr 2003)

02 Apr 2003; Philip Walls
crystalspace-0.96_p002.ebuild :
Initial import. Thanks to lu_zero for testing and original ebuild.

Manifest

DIST crystalspace-src-1.0.1.tar.bz2 36581454 RMD160 e9cca632623fbc487bb39a8c088fa93aa78e23d4 SHA1 457958e4cc7d96272157e1c8be7a816620051714 SHA256 3042b1fdc5b4ac23c7a4799df232a8e2134fd215448e0785180759ebba7f9ab2
DIST crystalspace-src-1.2.tar.bz2 44289716 RMD160 65b7ce13e8771ddf1e0f531102d18922ddb5404b SHA1 5a12fd0617f4d8d017016111e7b64ee3be423690 SHA256 d5249ae17dda1a492375c21a9a9769432552936d4996b0582f038adcd4497699
EBUILD crystalspace-1.0.1.ebuild 3466 RMD160 bd8fd7d7450f43a43af6673b634e42f6486e9544 SHA1 30f1d741c4dc5d08161632dba9e44e3fc492e68e SHA256 3f8f781ac2d81402c53974984ed0809cba40339844f4263ad4b19b055037590c
EBUILD crystalspace-1.2.ebuild 3449 RMD160 7fa99135a580eadeb7d7184d7091fc076523742b SHA1 2030be4a2b5efd4fec17e9166acecb9f2f42c675 SHA256 b984313d01f30e3eb8d19779b47646e772c35653d86cf6e4635ec2a46fe42101
MISC ChangeLog 5792 RMD160 47130c72b32c4c64524ccdc7d759efd55c9bda2b SHA1 2f40688133f180abde8ca875f6c340b98a694de9 SHA256 e7b75071b4c2e11819c0b2a1cec823abe3875cfa4c2f5c8e480940b25f652e34
MISC metadata.xml 894 RMD160 6a8d44a2485691e6703d1fac4e82cc1e6014fd78 SHA1 8604581846e66f1693692e1f26c900966520c40c SHA256 c2610acafed8ca197c29e0b8816aa494830897181cd1e9b9f5d41ba4e7261fce

crystalspace-1.0.1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/crystalspace-1.0.1.ebuild,v 1.9 2008/07/08 16:30:49 mr_bones_ Exp $

inherit flag-o-matic java-pkg-opt-2 multilib wxwidgets

MY_P=${PN}-src-${PV}
DESCRIPTION="Portable 3D Game Development Kit written in C++"
HOMEPAGE="http://crystal.sourceforge.net/"
SRC_URI="mirror://sourceforge/crystal/${MY_P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="-amd64 x86"
IUSE="3ds alsa cal3d cegui cg doc java javascript jpeg mng ode perl png python
sdl truetype vorbis wxwindows"

RDEPEND="virtual/opengl
virtual/glu
java? ( >=virtual/jre-1.5 )
cg? ( media-gfx/nvidia-cg-toolkit )
ode? ( dev-games/ode )
cal3d? ( >=media-libs/cal3d-0.11 )
jpeg? ( media-libs/jpeg )
sdl? ( media-libs/libsdl )
vorbis? ( media-libs/libogg
media-libs/libvorbis )
truetype? ( >=media-libs/freetype-2.1 )
alsa? ( media-libs/alsa-lib )
mng? ( media-libs/libmng )
png? ( media-libs/libpng )
wxwindows? ( x11-libs/pango
=x11-libs/wxGTK-2.6* )
javascript? ( dev-lang/spidermonkey )
cegui? ( >=dev-games/cegui-0.5.0 )
x11-libs/libXaw
x11-libs/libXxf86vm"
DEPEND="${RDEPEND}
3ds? ( media-libs/lib3ds )
java? ( dev-java/ant-core
>=virtual/jdk-1.5 )
dev-util/ftjam
dev-lang/swig
dev-util/pkgconfig"

S=${WORKDIR}/${MY_P}

src_unpack() {
unpack ${A}
cd "${S}"
# Installing doc conflict with dodoc on src_install
# Removing conflicting target
sed -i -e "/^InstallDoc/d" \
Jamfile.in \
docs/Jamfile \
|| die "sed failed"
}

src_compile() {
if useq wxwindows; then
WX_GTK_VER=2.6
need-wxwidgets gtk2
fi

# -O3 is hanging compilation of python script plugin
# trying -O2 just in case
replace-flags -O3 -O2
econf --enable-cpu-specific-optimizations=no \
--disable-separate-debug-info \
--without-lcms \
--without-caca \
--without-bullet \
--without-openal \
--without-jackasyn \
--without-mikmod \
--disable-make-emulation \
$(use_with perl) \
$(use_with python) \
$(use_with java) \
$(use_with png) \
$(use_with jpeg) \
$(use_with mng) \
$(use_with vorbis) \
$(use_with 3ds) \
$(use_with ode) \
$(use_with truetype freetype2) \
$(use_with cal3d) \
$(use_with sdl) \
$(use_with wxwindows wx) \
$(use_with cegui CEGUI) \
$(use_with cg Cg) \
$(use_with javascript js) \
$(use_with alsa asound)
#remove unwanted CFLAGS added by ./configure
sed -i -e '/COMPILER\.CFLAGS\.optimize/d' \
Jamconfig \
|| die "sed failed"
jam -q || die "compile failed"
}

src_install() {
for installTarget in install_bin install_plugin install_lib \
install_include install_data install_config
do
jam -q -s DESTDIR="${D}" ${installTarget} \
|| die "jam ${installTarget} failed"
done
if use doc; then
jam -q -s DESTDIR="${D}" install_doc || die "jam install_doc failed"
fi
dodoc README docs/history* docs/todo_*

echo "CRYSTAL_PLUGIN=/usr/$(get_libdir)/crystalspace" > 90crystalspace
echo "CRYSTAL_CONFIG=/etc/crystalspace" >> 90crystalspace
doenvd 90crystalspace
}

pkg_postinst() {
elog "Examples coming with this package, need correct light calculation"
elog "Do the following commands, with the root account, to fix that:"
# Fill cache directory for the examples
local dir
for dir in castle flarge isomap parallaxtest partsys r3dtest stenciltest \
terrain terrainf;
do
elog "cslight -video=null /usr/share/${PN}/data/maps/${dir}"
done
}

crystalspace-1.2.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/crystalspace-1.2.ebuild,v 1.6 2008/07/08 16:30:49 mr_bones_ Exp $

inherit flag-o-matic java-pkg-opt-2 multilib wxwidgets

MY_P=${PN}-src-${PV}
DESCRIPTION="Portable 3D Game Development Kit written in C++"
HOMEPAGE="http://crystal.sourceforge.net/"
SRC_URI="mirror://sourceforge/crystal/${MY_P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="3ds alsa cal3d cegui cg doc java javascript jpeg mng ode perl png python
sdl truetype vorbis wxwindows"

RDEPEND="virtual/opengl
virtual/glu
java? ( >=virtual/jre-1.5 )
cg? ( media-gfx/nvidia-cg-toolkit )
ode? ( dev-games/ode )
cal3d? ( >=media-libs/cal3d-0.11 )
jpeg? ( media-libs/jpeg )
sdl? ( media-libs/libsdl )
vorbis? ( media-libs/libogg
media-libs/libvorbis )
truetype? ( >=media-libs/freetype-2.1 )
alsa? ( media-libs/alsa-lib )
mng? ( media-libs/libmng )
png? ( media-libs/libpng )
wxwindows? ( x11-libs/pango
=x11-libs/wxGTK-2.6* )
javascript? ( dev-lang/spidermonkey )
cegui? ( >=dev-games/cegui-0.5.0 )
x11-libs/libXaw
x11-libs/libXxf86vm"
DEPEND="${RDEPEND}
3ds? ( media-libs/lib3ds )
java? ( dev-java/ant-core
>=virtual/jdk-1.5 )
dev-util/ftjam
dev-lang/swig
dev-util/pkgconfig"

S=${WORKDIR}/${MY_P}

src_unpack() {
unpack ${A}
cd "${S}"
# Installing doc conflict with dodoc on src_install
# Removing conflicting target
sed -i -e "/^InstallDoc/d" \
Jamfile.in \
docs/Jamfile \
|| die "sed failed"
}

src_compile() {
if useq wxwindows; then
WX_GTK_VER=2.6
need-wxwidgets gtk2
fi

# -O3 is hanging compilation of python script plugin
# trying -O2 just in case
replace-flags -O3 -O2
econf --enable-cpu-specific-optimizations=no \
--disable-separate-debug-info \
--without-lcms \
--without-caca \
--without-bullet \
--without-openal \
--without-jackasyn \
--without-mikmod \
--disable-make-emulation \
$(use_with perl) \
$(use_with python) \
$(use_with java) \
$(use_with png) \
$(use_with jpeg) \
$(use_with mng) \
$(use_with vorbis) \
$(use_with 3ds) \
$(use_with ode) \
$(use_with truetype freetype2) \
$(use_with cal3d) \
$(use_with sdl) \
$(use_with wxwindows wx) \
$(use_with cegui CEGUI) \
$(use_with cg Cg) \
$(use_with javascript js) \
$(use_with alsa asound)
#remove unwanted CFLAGS added by ./configure
sed -i -e '/COMPILER\.CFLAGS\.optimize/d' \
Jamconfig \
|| die "sed failed"
jam -q || die "compile failed"
}

src_install() {
for installTarget in install_bin install_plugin install_lib \
install_include install_data install_config
do
jam -q -s DESTDIR="${D}" ${installTarget} \
|| die "jam ${installTarget} failed"
done
if use doc; then
jam -q -s DESTDIR="${D}" install_doc || die "jam install_doc failed"
fi
dodoc README docs/history* docs/todo_*

echo "CRYSTAL_PLUGIN=/usr/$(get_libdir)/${P}" > 90crystalspace
echo "CRYSTAL_CONFIG=/etc/${P}" >> 90crystalspace
doenvd 90crystalspace
}

pkg_postinst() {
elog "Examples coming with this package, need correct light calculation"
elog "Do the following commands, with the root account, to fix that:"
# Fill cache directory for the examples
local dir
for dir in castle flarge isomap parallaxtest partsys r3dtest stenciltest \
terrain terrainf;
do
elog "cslight -video=null /usr/share/${PN}/data/maps/${dir}"
done
}

metadata.xml




games

Crystal Space is a free (LGPL) and portable 3D Game
Development Kit written in C++. It supports: true six degrees
of freedom, colored lighting, lightmapped and stencil based
lighting, shader support, mipmapping, portals, mirrors, alpha
transparency, reflective surfaces, 3D sprites (frame based or
with skeletal animation, also using cal3d animation library),
procedural textures, particle systems, halos, volumetric fog,
scripting (using Python, Perl, Java, or potentially other
languages), 16-bit and 32-bit display support, OpenGL, and
software renderer, font support, hierarchical
transformations, physics plugin based on ODE, ... See the
extensive list of features for more details.