From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-games/cegui/
Date: Sat, 16 May 2020 20:44:04 +0000 (UTC) [thread overview]
Message-ID: <1589661810.e33b1a2227adfa1108f335e97f02a08c273f916e.chewi@gentoo> (raw)
commit: e33b1a2227adfa1108f335e97f02a08c273f916e
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat May 16 20:32:03 2020 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat May 16 20:43:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e33b1a22
dev-games/cegui: EAPI 7 and cmake.eclass
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
dev-games/cegui/cegui-0.8.7-r1.ebuild | 56 +++++++++++++++++++----------------
1 file changed, 30 insertions(+), 26 deletions(-)
diff --git a/dev-games/cegui/cegui-0.8.7-r1.ebuild b/dev-games/cegui/cegui-0.8.7-r1.ebuild
index a9349feec0c..50f748ed23b 100644
--- a/dev-games/cegui/cegui-0.8.7-r1.ebuild
+++ b/dev-games/cegui/cegui-0.8.7-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
# TODO: multiple ABI?
PYTHON_COMPAT=( python3_8 )
-inherit eutils flag-o-matic cmake-utils python-single-r1
+inherit flag-o-matic cmake python-single-r1
DESCRIPTION="Crazy Eddie's GUI System"
HOMEPAGE="http://www.cegui.org.uk/"
@@ -52,11 +52,15 @@ RDEPEND="
xerces-c? ( dev-libs/xerces-c )
xml? ( dev-libs/libxml2 )
zip? ( sys-libs/zlib[minizip] )"
+
DEPEND="${RDEPEND}
${PYTHON_DEPS}
+ opengl? ( media-libs/glm )"
+
+BDEPEND="
virtual/pkgconfig
doc? ( app-doc/doxygen )
- opengl? ( media-libs/glm )"
+"
PATCHES=(
"${FILESDIR}"/${P}-icu-59.patch
@@ -74,46 +78,46 @@ src_configure() {
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_DEVIL=$(usex devil)
+ -DCEGUI_BUILD_IMAGECODEC_FREEIMAGE=$(usex 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_LUA_GENERATOR=$(usex lua)
+ -DCEGUI_BUILD_LUA_MODULE=$(usex lua)
+ -DCEGUI_BUILD_PYTHON_MODULES=$(usex python)
-DCEGUI_BUILD_RENDERER_DIRECTFB=OFF
- $(cmake-utils_use irrlicht CEGUI_BUILD_RENDERER_IRRLICHT)
+ -DCEGUI_BUILD_RENDERER_IRRLICHT=$(usex 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_OGRE=$(usex ogre)
+ -DCEGUI_BUILD_RENDERER_OPENGL=$(usex opengl)
+ -DCEGUI_BUILD_RENDERER_OPENGL3=$(usex opengl)
-DCEGUI_BUILD_RENDERER_OPENGLES=OFF
- $(cmake-utils_use static-libs CEGUI_BUILD_STATIC_CONFIGURATION)
+ -DCEGUI_BUILD_STATIC_CONFIGURATION=$(usex static-libs)
-DCEGUI_BUILD_TESTS=OFF
- $(cmake-utils_use expat CEGUI_BUILD_XMLPARSER_EXPAT)
- $(cmake-utils_use xml CEGUI_BUILD_XMLPARSER_LIBXML2)
+ -DCEGUI_BUILD_XMLPARSER_EXPAT=$(usex expat)
+ -DCEGUI_BUILD_XMLPARSER_LIBXML2=$(usex xml)
-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_BUILD_XMLPARSER_TINYXML=$(usex tinyxml)
+ -DCEGUI_BUILD_XMLPARSER_XERCES=$(usex xerces-c)
+ -DCEGUI_HAS_FREETYPE=$(usex truetype)
+ -DCEGUI_HAS_MINIZIP_RESOURCE_PROVIDER=$(usex zip)
+ -DCEGUI_HAS_PCRE_REGEX=$(usex pcre)
-DCEGUI_SAMPLES_ENABLED=OFF
- $(cmake-utils_use bidi CEGUI_USE_FRIBIDI)
+ -DCEGUI_USE_FRIBIDI=$(usex bidi)
-DCEGUI_USE_MINIBIDI=OFF
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
- cmake-utils_src_compile
- use doc && emake -C "${BUILD_DIR}" html
+ cmake_src_compile all $(usex doc html "")
}
src_install() {
- cmake-utils_src_install
- use doc && dohtml "${BUILD_DIR}"/doc/doxygen/html/*
+ cmake_src_install
+ docinto html
+ use doc && dodoc -r "${BUILD_DIR}"/doc/doxygen/html/*
}
next reply other threads:[~2020-05-16 20:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-16 20:44 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-11 23:16 [gentoo-commits] repo/gentoo:master commit in: dev-games/cegui/ Ionen Wolkens
2021-06-01 10:08 Sam James
2021-03-25 23:31 Conrad Kostecki
2020-05-16 20:44 James Le Cuirot
2020-05-16 20:44 James Le Cuirot
2020-05-16 20:44 James Le Cuirot
2020-02-09 16:18 Michał Górny
2017-05-15 13:15 Lars Wendler
2017-01-16 10:30 Lars Wendler
2017-01-16 10:30 Lars Wendler
2016-12-29 17:37 Lars Wendler
2016-06-06 14:31 Agostino Sarubbo
2016-04-28 23:53 Michael Sterrett
2016-04-28 23:53 Michael Sterrett
2016-04-26 5:44 Michael Sterrett
2016-04-26 5:44 Michael Sterrett
2016-04-05 19:57 Michael Sterrett
2015-12-18 0:47 Michael Sterrett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1589661810.e33b1a2227adfa1108f335e97f02a08c273f916e.chewi@gentoo \
--to=chewi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox