summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2014-09-07 07:15:31 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2014-09-07 07:15:31 +0000
commit8615656a01b39c036d2baaef04826b3474871dbf (patch)
treefaaa20e32a0e19f6d30bba4d0e79e26eff483724 /dev-games
parentRemove old. (diff)
downloadgentoo-2-8615656a01b39c036d2baaef04826b3474871dbf.tar.gz
gentoo-2-8615656a01b39c036d2baaef04826b3474871dbf.tar.bz2
gentoo-2-8615656a01b39c036d2baaef04826b3474871dbf.zip
version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/cegui/ChangeLog7
-rw-r--r--dev-games/cegui/cegui-0.8.4.ebuild107
2 files changed, 113 insertions, 1 deletions
diff --git a/dev-games/cegui/ChangeLog b/dev-games/cegui/ChangeLog
index 4a561e23effb..69691bd18da4 100644
--- a/dev-games/cegui/ChangeLog
+++ b/dev-games/cegui/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-games/cegui
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.65 2014/08/25 20:46:05 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.66 2014/09/07 07:15:31 mr_bones_ Exp $
+
+*cegui-0.8.4 (07 Sep 2014)
+
+ 07 Sep 2014; Michael Sterrett <mr_bones_@gentoo.org> +cegui-0.8.4.ebuild:
+ version bump
25 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org> -cegui-0.8.2.ebuild:
old
diff --git a/dev-games/cegui/cegui-0.8.4.ebuild b/dev-games/cegui/cegui-0.8.4.ebuild
new file mode 100644
index 000000000000..3100e1dc9d14
--- /dev/null
+++ b/dev-games/cegui/cegui-0.8.4.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.8.4.ebuild,v 1.1 2014/09/07 07:15:31 mr_bones_ Exp $
+
+EAPI=5
+
+# TODO: multiple ABI?
+PYTHON_COMPAT=( python2_6 python2_7 )
+inherit eutils flag-o-matic cmake-utils python-single-r1
+
+DESCRIPTION="Crazy Eddie's GUI System"
+HOMEPAGE="http://www.cegui.org.uk/"
+SRC_URI="mirror://sourceforge/crayzedsgui/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 -ppc ~x86"
+IUSE="bidi debug devil doc freeimage expat irrlicht lua ogre opengl pcre python static-libs tinyxml truetype xerces-c +xml zip"
+REQUIRED_USE="|| ( expat tinyxml xerces-c xml )
+ ${PYTHON_REQUIRED_USE}" # bug 362223
+
+# gles broken
+# gles? ( media-libs/mesa[gles1] )
+# directfb broken
+# directfb? ( dev-libs/DirectFB )
+RDEPEND="
+ virtual/libiconv
+ bidi? ( dev-libs/fribidi )
+ devil? ( media-libs/devil )
+ expat? ( dev-libs/expat )
+ freeimage? ( media-libs/freeimage )
+ irrlicht? ( dev-games/irrlicht )
+ lua? (
+ dev-lang/lua
+ dev-lua/toluapp
+ )
+ ogre? ( >=dev-games/ogre-1.7 )
+ opengl? (
+ virtual/opengl
+ virtual/glu
+ media-libs/glew
+ )
+ pcre? ( dev-libs/libpcre )
+ python? (
+ ${PYTHON_DEPS}
+ dev-libs/boost:=[python,${PYTHON_USEDEP}]
+ )
+ tinyxml? ( dev-libs/tinyxml )
+ truetype? ( media-libs/freetype:2 )
+ xerces-c? ( dev-libs/xerces-c )
+ xml? ( dev-libs/libxml2 )
+ zip? ( sys-libs/zlib[minizip] )"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )
+ opengl? ( media-libs/glm )"
+
+src_configure() {
+ # http://www.cegui.org.uk/mantis/view.php?id=991
+ append-ldflags $(no-as-needed)
+
+ local mycmakeargs=(
+ -DCEGUI_BUILD_IMAGECODEC_CORONA=OFF
+ $(cmake-utils_use devil CEGUI_BUILD_IMAGECODEC_DEVIL)
+ $(cmake-utils_use freeimage CEGUI_BUILD_IMAGECODEC_FREEIMAGE)
+ -DCEGUI_BUILD_IMAGECODEC_PVR=OFF
+ -DCEGUI_BUILD_IMAGECODEC_SILLY=OFF
+ -DCEGUI_BUILD_IMAGECODEC_STB=ON
+ -DCEGUI_BUILD_IMAGECODEC_TGA=ON
+ $(cmake-utils_use lua CEGUI_BUILD_LUA_GENERATOR)
+ $(cmake-utils_use lua CEGUI_BUILD_LUA_MODULE)
+ $(cmake-utils_use python CEGUI_BUILD_PYTHON_MODULES)
+ -DCEGUI_BUILD_RENDERER_DIRECTFB=OFF
+ $(cmake-utils_use irrlicht CEGUI_BUILD_RENDERER_IRRLICHT)
+ -DCEGUI_BUILD_RENDERER_NULL=ON
+ $(cmake-utils_use ogre CEGUI_BUILD_RENDERER_OGRE)
+ $(cmake-utils_use opengl CEGUI_BUILD_RENDERER_OPENGL)
+ $(cmake-utils_use opengl CEGUI_BUILD_RENDERER_OPENGL3)
+ -DCEGUI_BUILD_RENDERER_OPENGLES=OFF
+ $(cmake-utils_use static-libs CEGUI_BUILD_STATIC_CONFIGURATION)
+ -DCEGUI_BUILD_TESTS=OFF
+ $(cmake-utils_use expat CEGUI_BUILD_XMLPARSER_EXPAT)
+ $(cmake-utils_use xml CEGUI_BUILD_XMLPARSER_LIBXML2)
+ -DCEGUI_BUILD_XMLPARSER_RAPIDXML=OFF
+ $(cmake-utils_use tinyxml CEGUI_BUILD_XMLPARSER_TINYXML)
+ $(cmake-utils_use xerces-c CEGUI_BUILD_XMLPARSER_XERCES)
+ $(cmake-utils_use truetype CEGUI_HAS_FREETYPE)
+ $(cmake-utils_use zip CEGUI_HAS_MINIZIP_RESOURCE_PROVIDER)
+ $(cmake-utils_use pcre CEGUI_HAS_PCRE_REGEX)
+ -DCEGUI_SAMPLES_ENABLED=OFF
+ $(cmake-utils_use bidi CEGUI_USE_FRIBIDI)
+ -DCEGUI_USE_MINIBIDI=OFF
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ use doc && emake -C "${BUILD_DIR}" html
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dohtml "${BUILD_DIR}"/doc/doxygen/html/*
+}