summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2007-10-07 21:51:07 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2007-10-07 21:51:07 +0000
commit12dca1d8aa10fd4edde86e2a12c0288e1019d6cd (patch)
tree4a83245bca75260d86d8037df884f240ab02c011 /dev-games/crystalspace
parentbump to 1.0.22 (bug #194936) (diff)
downloadhistorical-12dca1d8aa10fd4edde86e2a12c0288e1019d6cd.tar.gz
historical-12dca1d8aa10fd4edde86e2a12c0288e1019d6cd.tar.bz2
historical-12dca1d8aa10fd4edde86e2a12c0288e1019d6cd.zip
version bump
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-games/crystalspace')
-rw-r--r--dev-games/crystalspace/ChangeLog8
-rw-r--r--dev-games/crystalspace/Manifest26
-rw-r--r--dev-games/crystalspace/crystalspace-1.2.ebuild131
-rw-r--r--dev-games/crystalspace/files/digest-crystalspace-1.23
4 files changed, 153 insertions, 15 deletions
diff --git a/dev-games/crystalspace/ChangeLog b/dev-games/crystalspace/ChangeLog
index 76c20abc6390..bf75e821c472 100644
--- a/dev-games/crystalspace/ChangeLog
+++ b/dev-games/crystalspace/ChangeLog
@@ -1,6 +1,12 @@
# 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.30 2007/09/06 07:29:38 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/ChangeLog,v 1.31 2007/10/07 21:51:06 mr_bones_ Exp $
+
+*crystalspace-1.2 (07 Oct 2007)
+
+ 07 Oct 2007; Michael Sterrett <mr_bones_@gentoo.org>
+ +crystalspace-1.2.ebuild:
+ version bump
06 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
crystalspace-1.0.1.ebuild:
diff --git a/dev-games/crystalspace/Manifest b/dev-games/crystalspace/Manifest
index acc97cdf5153..57f521fd66ef 100644
--- a/dev-games/crystalspace/Manifest
+++ b/dev-games/crystalspace/Manifest
@@ -1,11 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX crystalspace-0.98.4-gl.patch 10653 RMD160 e0c5081631f755c914475093a0cd851045abffdc SHA1 f6ee2da908b6d67a152ded44589f6760041d19aa SHA256 f2286634415f4b0cddc0b202b692dc49df90897da730f2693c6a99be71f9bb36
MD5 bb4bd5565667c14a0d7377fda90db568 files/crystalspace-0.98.4-gl.patch 10653
RMD160 e0c5081631f755c914475093a0cd851045abffdc files/crystalspace-0.98.4-gl.patch 10653
SHA256 f2286634415f4b0cddc0b202b692dc49df90897da730f2693c6a99be71f9bb36 files/crystalspace-0.98.4-gl.patch 10653
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
DIST cs98_004.tar.bz2 20709835 RMD160 5f23c49c6054f3c94ef15b542ef3b30d7f86c0dd SHA1 447887c41a39c2cb174e6907443878c1ef29fffd SHA256 f95fda79d33627e1a8ecbdba8ca823018490d57d9f1a1c19682d9c00c0effc01
EBUILD crystalspace-0.98.4.ebuild 1834 RMD160 e8f5a25e742e699d4b2396a4dc007819e0575008 SHA1 722c87e264b1761b78507739bc3a13be06ccaa71 SHA256 4889b94455ea5a23ea1be8aa3f7433b2546040361d8ffa2040ec86230ca135ae
MD5 0e08102cee91ebb524d50344c56fc108 crystalspace-0.98.4.ebuild 1834
@@ -15,10 +13,14 @@ EBUILD crystalspace-1.0.1.ebuild 3568 RMD160 51336f2153f6b36dc0c1680477dc71ede14
MD5 d49e4b20c989b714d413a8f9361a9468 crystalspace-1.0.1.ebuild 3568
RMD160 51336f2153f6b36dc0c1680477dc71ede147b9e0 crystalspace-1.0.1.ebuild 3568
SHA256 1296f2a3351829d0d757e3d53b52769c2b8ea09b98927e1574263375401f54d0 crystalspace-1.0.1.ebuild 3568
-MISC ChangeLog 4743 RMD160 98dc7cf1d958b6fa3e099861e15603c1e5211e7f SHA1 98b874753f1ddc4c5f765ca4f3b07a32f0d25b7f SHA256 610380349343d2a8c9246638380381ec58967b96620f3ef918ce6fd712598045
-MD5 992857cca658114dd5204e4f874f853e ChangeLog 4743
-RMD160 98dc7cf1d958b6fa3e099861e15603c1e5211e7f ChangeLog 4743
-SHA256 610380349343d2a8c9246638380381ec58967b96620f3ef918ce6fd712598045 ChangeLog 4743
+EBUILD crystalspace-1.2.ebuild 3571 RMD160 812ce6eaf7ab67b0b46c52d8d9fd0ef1c263e7c6 SHA1 e2f4952f6b957b7038243595f4dae0272e50c964 SHA256 6334d3dad654c90aa016969ad49d0313ab927f196640789da0dca756744c6fb9
+MD5 41d63d6b0b8a2e63d52df966138ce50e crystalspace-1.2.ebuild 3571
+RMD160 812ce6eaf7ab67b0b46c52d8d9fd0ef1c263e7c6 crystalspace-1.2.ebuild 3571
+SHA256 6334d3dad654c90aa016969ad49d0313ab927f196640789da0dca756744c6fb9 crystalspace-1.2.ebuild 3571
+MISC ChangeLog 4879 RMD160 96de8db72b26aef9dec9c7f517cc8b0903a79d41 SHA1 97382190b735349095f6d658866589c8e921c3f2 SHA256 ad4503581797b6de287fa2c8ead0f3c7689dd0023dfa36b9a26bccb14480dbd2
+MD5 bdbb80f740792ff9b9a2e0bdfd37af3c ChangeLog 4879
+RMD160 96de8db72b26aef9dec9c7f517cc8b0903a79d41 ChangeLog 4879
+SHA256 ad4503581797b6de287fa2c8ead0f3c7689dd0023dfa36b9a26bccb14480dbd2 ChangeLog 4879
MISC metadata.xml 894 RMD160 6a8d44a2485691e6703d1fac4e82cc1e6014fd78 SHA1 8604581846e66f1693692e1f26c900966520c40c SHA256 c2610acafed8ca197c29e0b8816aa494830897181cd1e9b9f5d41ba4e7261fce
MD5 99cd50e1c6a19868f504e0103d6bbd83 metadata.xml 894
RMD160 6a8d44a2485691e6703d1fac4e82cc1e6014fd78 metadata.xml 894
@@ -29,10 +31,6 @@ SHA256 6a2d7d1565c39c596440e0a57bb8d2f2cbdc0420b31af802b65da10ec1c40fd8 files/di
MD5 4fa6ce3a0bf3b9a3d5700f7d3a9d029e files/digest-crystalspace-1.0.1 277
RMD160 35931fb48ca3a968a074b791ab73f79952bce013 files/digest-crystalspace-1.0.1 277
SHA256 c2f369fc539c4f31777ef769273745183a7c671e9da414bfcc16dce328711916 files/digest-crystalspace-1.0.1 277
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.7 (GNU/Linux)
-
-iD8DBQFG36xtNQqtfCuFneMRAuXcAJ9xG+txpW4JWg66LNjM2Nd0MmjzugCfZ88b
-BhuSGFr51QwsYeDLC7C/fIo=
-=e2pP
------END PGP SIGNATURE-----
+MD5 0593cdb5949e3c601315ce6650b0ebb6 files/digest-crystalspace-1.2 271
+RMD160 085c453c9f41ee49f82148191459177cb090a729 files/digest-crystalspace-1.2 271
+SHA256 0c1464213c66495d218bacec7e7fa4529b2c8bece77df20a8d0c5fec82f72c13 files/digest-crystalspace-1.2 271
diff --git a/dev-games/crystalspace/crystalspace-1.2.ebuild b/dev-games/crystalspace/crystalspace-1.2.ebuild
new file mode 100644
index 000000000000..c4dc74fffcd0
--- /dev/null
+++ b/dev-games/crystalspace/crystalspace-1.2.ebuild
@@ -0,0 +1,131 @@
+# 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.1 2007/10/07 21:51:06 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 ~ppc ~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/jam
+ 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
+ if [[ ! -e /usr/bin/wx-config ]]; then
+ sed -i -e "s:wx-config:${WX_CONFIG_NAME}:g" configure
+ fi
+ 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
+}
diff --git a/dev-games/crystalspace/files/digest-crystalspace-1.2 b/dev-games/crystalspace/files/digest-crystalspace-1.2
new file mode 100644
index 000000000000..44559250fca9
--- /dev/null
+++ b/dev-games/crystalspace/files/digest-crystalspace-1.2
@@ -0,0 +1,3 @@
+MD5 73505e51b7ac3062ecd75bb71cd74880 crystalspace-src-1.2.tar.bz2 44289716
+RMD160 65b7ce13e8771ddf1e0f531102d18922ddb5404b crystalspace-src-1.2.tar.bz2 44289716
+SHA256 d5249ae17dda1a492375c21a9a9769432552936d4996b0582f038adcd4497699 crystalspace-src-1.2.tar.bz2 44289716