diff options
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/cegui/Manifest | 1 | ||||
-rw-r--r-- | dev-games/cegui/cegui-0.8.6.ebuild | 107 |
2 files changed, 108 insertions, 0 deletions
diff --git a/dev-games/cegui/Manifest b/dev-games/cegui/Manifest index 9b47ae5daf16..0eced5e71b32 100644 --- a/dev-games/cegui/Manifest +++ b/dev-games/cegui/Manifest @@ -2,3 +2,4 @@ DIST CEGUI-0.6.2-DOCS.tar.gz 18396638 SHA256 f1ea46bd583c486a6c588118573ebde55b0 DIST CEGUI-0.6.2b.tar.gz 2628081 SHA256 eb77741cd9fcc927a876e8116b98691212e973d2264e2071406423f6ca3e305f SHA512 52ed7e7a97024138af957815a396dda74b650e7c53542d2d48c5eb95335bec270abca3685c49b05078f4338079334df6bfbcec75e9b7eb21ee40bdbff5f57b20 WHIRLPOOL 3fde683a82fb0be33565adb28fbcb4b7001be99f1b3bdb2d3af9abecc5dc7681d633f141cc19f9eb1dc264d0fb0b2084ea604202a22a3e2cc415bdb6b9686161 DIST cegui-0.8.4.tar.bz2 17894771 SHA256 b5fcbd548b83045e92c4da413928113be77ebee0117368925e1904b3b957a388 SHA512 493c949426ff2d9b760712b5fe7ed6a427404cd13934c36c7bdf207c0458686bcc74b675e9aeb5d16cd04f0874515503b8d3135ceb71b4d74738f047e4da39c7 WHIRLPOOL 1550a7fe2688c8247c8036e7302b0990b3abf3b16d794cd1d7f38a4af1feb4d373db476d911428e1380b79ff0feba1dedc1abefba17255b46eb6fa4956c39bc4 DIST cegui-0.8.5.tar.bz2 18112881 SHA256 a82b0d970c6ceccb8db419a1dc81b5fc3e0e4afb5888fe8d58c63561c82884ce SHA512 b2d9b378f1ddbfc5612d05d2d86cdd98887b4a6e6286a796c338410dd527b05c84db712621ffc474a2690646e23b43b5207fd5f4709c69c9879639ad7292a7c4 WHIRLPOOL b3b562b56229a0fc73187899f36844225a70aaa92113a05498fa4cb88b14c1bc3b58221305782f54974d05147b279f3859eeb0eeede956411633f720a8aa8307 +DIST cegui-0.8.6.tar.bz2 18114333 SHA256 5a5dd820aea4b7c8d300e9f7ca6892348bc8b77ec5157d6a3ed1e78236628686 SHA512 3aa901d493c3767d3e5ecd2d72e20a85158289c13e1765c654ed2bd052a3e5a2b86fb2ba5c3e80aa41d118c884df04108f681f523057f24626465999b1faa9ba WHIRLPOOL 888c246ecab77189a8abbc64254f50d51d01ee503c406da2b461d51b01abaf6abb56acc2adf0ad63a7cdd59cd1b8e19a8872e1690264d7b695545f25f41281e9 diff --git a/dev-games/cegui/cegui-0.8.6.ebuild b/dev-games/cegui/cegui-0.8.6.ebuild new file mode 100644 index 000000000000..646901b3cab3 --- /dev/null +++ b/dev-games/cegui/cegui-0.8.6.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# TODO: multiple ABI? +PYTHON_COMPAT=( 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:0 + 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/* +} |