diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-07-13 19:02:55 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-07-13 19:02:55 +0000 |
commit | 288a7cb1d420fc21e8c99effca0d84b2e995326d (patch) | |
tree | 53262d8254db28dc8f2436a7c64832a9712a2dad /dev-games/cegui | |
parent | Minor adaptions to build script (diff) | |
download | gentoo-2-288a7cb1d420fc21e8c99effca0d84b2e995326d.tar.gz gentoo-2-288a7cb1d420fc21e8c99effca0d84b2e995326d.tar.bz2 gentoo-2-288a7cb1d420fc21e8c99effca0d84b2e995326d.zip |
version bump
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-games/cegui')
-rw-r--r-- | dev-games/cegui/ChangeLog | 7 | ||||
-rw-r--r-- | dev-games/cegui/cegui-0.8.2.ebuild | 107 | ||||
-rw-r--r-- | dev-games/cegui/metadata.xml | 3 |
3 files changed, 115 insertions, 2 deletions
diff --git a/dev-games/cegui/ChangeLog b/dev-games/cegui/ChangeLog index eb28ac3fd149..23656af9e5d5 100644 --- a/dev-games/cegui/ChangeLog +++ b/dev-games/cegui/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-games/cegui # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.60 2013/01/30 20:09:04 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/ChangeLog,v 1.61 2013/07/13 19:02:55 hasufell Exp $ + +*cegui-0.8.2 (13 Jul 2013) + + 13 Jul 2013; Julian Ospald <hasufell@gentoo.org> +cegui-0.8.2.ebuild: + version bump 30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> -cegui-0.7.6-r1.ebuild: old diff --git a/dev-games/cegui/cegui-0.8.2.ebuild b/dev-games/cegui/cegui-0.8.2.ebuild new file mode 100644 index 000000000000..8b9f2888959c --- /dev/null +++ b/dev-games/cegui/cegui-0.8.2.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-games/cegui/cegui-0.8.2.ebuild,v 1.1 2013/07/13 19:02:55 hasufell 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.gz" + +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/* +} diff --git a/dev-games/cegui/metadata.xml b/dev-games/cegui/metadata.xml index 192bc9f39542..a2eacdb7485f 100644 --- a/dev-games/cegui/metadata.xml +++ b/dev-games/cegui/metadata.xml @@ -3,7 +3,8 @@ <pkgmetadata> <herd>games</herd> <use> - <flag name="devil">Enable image loading via DevIL</flag> + <flag name="devil">Build the DevIL based ImageCodec module</flag> + <flag name="freeimage">Build the FreeImage based ImageCodec module</flag> <flag name="irrlicht">Enable the Irrlicht renderer</flag> <flag name="ogre">Enable the OGRE renderer</flag> <flag name="tinyxml">Enable the Tiny XML parser module</flag> |