diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2010-06-11 19:57:53 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2010-06-11 19:57:53 +0000 |
commit | 8acc5189a1f98b94b3080fea9e608c5bce4a1361 (patch) | |
tree | c248347dd77df170582987c2d25594ae07afc837 /dev-games/crystalspace | |
parent | Removing myself as maintainer (diff) | |
download | historical-8acc5189a1f98b94b3080fea9e608c5bce4a1361.tar.gz historical-8acc5189a1f98b94b3080fea9e608c5bce4a1361.tar.bz2 historical-8acc5189a1f98b94b3080fea9e608c5bce4a1361.zip |
Version bump to 1.4.0 Bug #311431
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'dev-games/crystalspace')
-rw-r--r-- | dev-games/crystalspace/ChangeLog | 8 | ||||
-rw-r--r-- | dev-games/crystalspace/Manifest | 4 | ||||
-rw-r--r-- | dev-games/crystalspace/crystalspace-1.4.0.ebuild | 126 |
3 files changed, 136 insertions, 2 deletions
diff --git a/dev-games/crystalspace/ChangeLog b/dev-games/crystalspace/ChangeLog index b866fab693ac..aba3670cc3e7 100644 --- a/dev-games/crystalspace/ChangeLog +++ b/dev-games/crystalspace/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-games/crystalspace # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/ChangeLog,v 1.41 2010/03/31 09:18:32 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/ChangeLog,v 1.42 2010/06/11 19:57:53 tupone Exp $ + +*crystalspace-1.4.0 (11 Jun 2010) + + 11 Jun 2010; Tupone Alfredo <tupone@gentoo.org> + +crystalspace-1.4.0.ebuild: + Version bump to 1.4.0 Bug #311431 by Jacek Szafarkiewicz 31 Mar 2010; Pawel Hajdan jr <phajdan.jr@gentoo.org> crystalspace-1.2.1.ebuild: diff --git a/dev-games/crystalspace/Manifest b/dev-games/crystalspace/Manifest index 8922738b5c56..55c39199d6eb 100644 --- a/dev-games/crystalspace/Manifest +++ b/dev-games/crystalspace/Manifest @@ -1,5 +1,7 @@ AUX crystalspace-1.2.1-libpng14.patch 450 RMD160 f9fe8361b5b3f01d03f6b0b15dae2775d1e3a775 SHA1 4e6f0ef4bf93df569ad29bb1b2d83da5f83ec0cc SHA256 7b2178396d6b729955d85e2e7563862cec1af36c8b1ba1e4383b8978d79c5f2e DIST crystalspace-src-1.2.1.tar.bz2 47313388 RMD160 0f6582a9c68694189811a574bc63b5ce1a6a1166 SHA1 0f1b5604b217dfd9f65f54caeef5362d0ab92203 SHA256 23312a5a0330b281f517555207fed151e3d08c1096bb0cc9dd72dcabdced1b10 +DIST crystalspace-src-1.4.0.tar.bz2 45670477 RMD160 af89e74a96bac7f55079a6cdad7fd938a38af602 SHA1 10f4dd50c654ad9292602a91189a0ee78a8fe353 SHA256 a8e1bfc9328470121bfbc6cf98f2c310a34f6998978065aa2f6df7e02a0101ba EBUILD crystalspace-1.2.1.ebuild 3403 RMD160 1269f0e0b83fbb5abad0594854e414f051c66e16 SHA1 1e7d3a10e630ed6858e29cbd26281bb61d9f1a91 SHA256 62a51af9706cd00625406917e73bd0f73a22e0e2855183c1852779f19ace357f -MISC ChangeLog 6447 RMD160 0557d02f2d94ceab4969541f16f66e6f93108f0d SHA1 d7231767c5b2a8d1d80bef6e4b6da10dd6818185 SHA256 abee43c766777bac84821363f4ebd101d9ae9fbca1642654134ccaab09e49e4e +EBUILD crystalspace-1.4.0.ebuild 3269 RMD160 e02c529f20f095ed8136595e257490b10656f491 SHA1 1361f237e57f060e4f6602720364242c4a70d363 SHA256 9ba9bce6f5326f3dbba38a441a291c77f789b31aee5edb45633da916a6bb1e68 +MISC ChangeLog 6618 RMD160 7c68083712d742dc9a78a159584eeba4e150a5b7 SHA1 06ad035ad977a75502fbb7a46f8bfc96f4bd473f SHA256 8ce098b6946e9d837f7625f0b36e30c04dbb1a5ad845bbb96954de6d3afc3d76 MISC metadata.xml 1243 RMD160 1f23863f3940b9349b19a701d80f0888cc7b2242 SHA1 71931e463e50c1ab0af385a3c4d10d6ad5ed960a SHA256 f7125504551e256f5ceb9385b20e945f3717a1cda3dcf6f3ff5e9f88850025b0 diff --git a/dev-games/crystalspace/crystalspace-1.4.0.ebuild b/dev-games/crystalspace/crystalspace-1.4.0.ebuild new file mode 100644 index 000000000000..fe519353442a --- /dev/null +++ b/dev-games/crystalspace/crystalspace-1.4.0.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/crystalspace/crystalspace-1.4.0.ebuild,v 1.1 2010/06/11 19:57:53 tupone Exp $ + +EAPI=2 +inherit eutils flag-o-matic 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 jpeg mng ode png python +sdl speex truetype vorbis wxwidgets" + +RDEPEND="virtual/opengl + media-libs/openal + x11-libs/libXt + x11-libs/libXxf86vm + 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/libvorbis ) + speex? ( media-libs/libogg + media-libs/speex ) + truetype? ( >=media-libs/freetype-2.1 ) + alsa? ( media-libs/alsa-lib ) + mng? ( media-libs/libmng ) + png? ( media-libs/libpng ) + wxwidgets? ( =x11-libs/wxGTK-2.6* ) + cegui? ( >=dev-games/cegui-0.5.0 ) + 3ds? ( media-libs/lib3ds )" + +DEPEND="${RDEPEND} + dev-util/ftjam + dev-lang/swig + dev-util/pkgconfig" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + # Installing doc conflict with dodoc on src_install + # Removing conflicting target + sed -i \ + -e "/^InstallDoc/d" \ + Jamfile.in \ + docs/Jamfile \ + || die "sed failed" +} + +src_configure() { + if useq wxwidgets; 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-jackasyn \ + --without-perl \ + --without-java \ + --disable-make-emulation \ + $(use_with python) \ + $(use_with png) \ + $(use_with jpeg) \ + $(use_with mng) \ + $(use_with vorbis) \ + $(use_with speex) \ + $(use_with 3ds) \ + $(use_with ode) \ + $(use_with truetype freetype2) \ + $(use_with cal3d) \ + $(use_with sdl) \ + $(use_with wxwidgets wx) \ + $(use_with cegui CEGUI) \ + $(use_with cg Cg) \ + $(use_with alsa asound) + #remove unwanted CFLAGS added by ./configure + sed -i -e '/COMPILER\.CFLAGS\.optimize/d' \ + Jamconfig \ + || die "sed failed" +} + +src_compile() { + 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* + + 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 +} |