summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-03-27 16:53:34 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-03-27 16:53:34 +0000
commit667fe7e69e82a90f4475ab0dd2714825f7213d5f (patch)
tree127247522fa346e3d55f60bc6a4af524e4701408 /dev-games/cegui
parentdev-games/cegui flags (diff)
downloadgentoo-2-667fe7e69e82a90f4475ab0dd2714825f7213d5f.tar.gz
gentoo-2-667fe7e69e82a90f4475ab0dd2714825f7213d5f.tar.bz2
gentoo-2-667fe7e69e82a90f4475ab0dd2714825f7213d5f.zip
Version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-games/cegui')
-rw-r--r--dev-games/cegui/ChangeLog9
-rw-r--r--dev-games/cegui/cegui-0.6.0.ebuild81
2 files changed, 88 insertions, 2 deletions
diff --git a/dev-games/cegui/ChangeLog b/dev-games/cegui/ChangeLog
index 1269a8a34839..199f0595444d 100644
--- a/dev-games/cegui/ChangeLog
+++ b/dev-games/cegui/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/cegui
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.18 2007/09/06 07:28:52 opfer Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.19 2008/03/27 16:53:34 nyhm Exp $
+
+*cegui-0.6.0 (27 Mar 2008)
+
+ 27 Mar 2008; Tristan Heaven <nyhm@gentoo.org> +cegui-0.6.0.ebuild:
+ Version bump
06 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
cegui-0.5.0b-r3.ebuild:
diff --git a/dev-games/cegui/cegui-0.6.0.ebuild b/dev-games/cegui/cegui-0.6.0.ebuild
new file mode 100644
index 000000000000..b35c78671563
--- /dev/null
+++ b/dev-games/cegui/cegui-0.6.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.6.0.ebuild,v 1.1 2008/03/27 16:53:34 nyhm Exp $
+
+MY_P=CEGUI-${PV}
+DESCRIPTION="Crazy Eddie's GUI System"
+HOMEPAGE="http://www.cegui.org.uk/"
+SRC_URI="mirror://sourceforge/crayzedsgui/${MY_P}.tar.gz
+ doc? ( mirror://sourceforge/crayzedsgui/CEGUI-DOCS-${PV}.tar.gz )"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug devil doc examples expat irrlicht lua opengl xerces-c xml"
+
+RDEPEND="dev-libs/libpcre
+ =media-libs/freetype-2*
+ devil? ( media-libs/devil )
+ expat? ( dev-libs/expat )
+ irrlicht? ( dev-games/irrlicht )
+ lua? ( dev-lang/lua )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ virtual/glut
+ )
+ xerces-c? ( dev-libs/xerces-c )
+ xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if use examples ; then
+ cp -r Samples Samples.clean
+ rm -f $(find Samples.clean -name 'Makefile*')
+ rm -rf Samples.clean/bin
+ fi
+}
+
+src_compile() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable devil) \
+ $(use_enable examples samples) \
+ $(use_enable expat) \
+ $(use_enable irrlicht irrlicht-renderer) \
+ $(use_enable lua lua-module) \
+ $(use_enable lua toluacegui) \
+ $(use_enable opengl opengl-renderer) \
+ $(use_enable xerces-c) \
+ $(use_enable xml libxml) \
+ --enable-static \
+ --enable-tga \
+ --enable-tinyxml \
+ --disable-corona \
+ --disable-dependency-tracking \
+ --disable-freeimage \
+ --disable-samples \
+ --disable-silly \
+ --without-gtk2 \
+ --without-ogre-renderer \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README TODO
+ if use doc ; then
+ dohtml -r documentation/api_reference || die "dohtml failed"
+ dodoc documentation/*.pdf || die "dodoc failed"
+ fi
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/Samples
+ doins -r Samples.clean/* || die "doins failed"
+ fi
+}