forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.26
- Loading branch information
Michael Sterrett
committed
Apr 5, 2016
1 parent
247dddd
commit 28086e6
Showing
2 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST CEGUI-0.6.2-DOCS.tar.gz 18396638 SHA256 f1ea46bd583c486a6c588118573ebde55b06e90b190083e95525820e950ce2c8 SHA512 56ded923f21f18d837d71425e06fe8675a2efa979edde461a9e4e558c213cbb79ff8eeb576211da6ade56526ccdd9644a7a45b3619058615388e3882f96b9fb4 WHIRLPOOL f67c9dba4558c43ec9d14c160f228e974de4364bfe36ebfa9f3fe6bfc290fd5c4f024e954525845cd83645a06d53e6d63776137cbe58c459bcdd0e350d12e9c7 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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/* | ||
} |