Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 248753 Details for
Bug 59212
FreeOrion-0.3 - new package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
freeorion-9999-r2.ebuild - added "cg" and "threads" USE-Flags, ogre_plugins.cfg is now created
freeorion-9999-r2.ebuild (text/plain), 2.64 KB, created by
Sven Eden
on 2010-09-27 06:50:03 UTC
(
hide
)
Description:
freeorion-9999-r2.ebuild - added "cg" and "threads" USE-Flags, ogre_plugins.cfg is now created
Filename:
MIME Type:
Creator:
Sven Eden
Created:
2010-09-27 06:50:03 UTC
Size:
2.64 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="3" > >inherit cmake-utils games subversion > >DESCRIPTION="FreeOrion is a free and open source clone of Master Of Orion" >HOMEPAGE="http://www.freeorion.org" >ESVN_REPO_URI="https://${PN}.svn.sourceforge.net/svnroot/${PN}/trunk" >ESVN_PROJECT="${PN}" > >LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="cg debug threads" > >RDEPEND=" > dev-games/gigi[ogre,threads=] > || ( threads? ( >=dev-games/ogre-1.7.1[boost,cg=,boost-threads] ) > !threads? ( >=dev-games/ogre-1.7.1[boost,cg=,-boost-threads] ) > ) > <dev-lang/python-3 > || ( dev-libs/boost:1.42 > dev-libs/boost:1.43 > ) > media-gfx/graphviz > media-libs/freealut > >=media-libs/libogg-1.1.3 > >=media-libs/libsdl-1.2 > >=media-libs/libvorbis-1.1.2 > media-libs/openal > sci-physics/bullet > sys-devel/libtool > sys-libs/zlib" > >DEPEND="${RDEPEND} > dev-util/pkgconfig" > >CMAKE_USE_DIR="${S}/FreeOrion" > >src_prepare() { > epatch "${FILESDIR}/fix_graphviz.patch" > epatch "${FILESDIR}/freeorion-cmake-zlib.patch" > > # Let's make the autorevision work. > subversion_wc_info > sed -i -e \ > "s:svn_revision_number ???:svn_revision_number ${ESVN_WC_REVISION}:" \ > FreeOrion/CMakeLists.txt || die "sed FreeOrion/CMakeLists.txt failed" >} > >src_configure() { > # Due to the testing nature of gigi and freeorion, > # and all the ogre+boost stuff, flags should be filtered: > strip-flags > > # Type-Pun pointers always break strict aliasing rules, > # and this thing is full of those > append-flags -fno-strict-aliasing > > # Something constantly throws an uncaught exception on gamestart. > # The reason might be --as-needed: > filter-ldflags -Wl,--as-needed > > local mycmakeargs+=( > $(cmake-utils_use_enable debug DEBUG) > $(cmake-utils_use_build debug DEBUG) > ) > > mycmakeargs+=( > "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}/${PN}" > "-DCMAKE_INSTALL_ICONDIR=${GAMES_DATADIR_BASE}/pixmaps/" > "-DCMAKE_INSTALL_DESKTOPDIR=${GAMES_DATADIR_BASE}/applications/" > "-DCMAKE_DOC_DIR=/usr/share/doc/${PF}" > "-DCMAKE_MAN_DIR=/usr/share/man" > "-DCMAKE_DATA_DIR=${GAMES_DATADIR}" > "-DCMAKE_DATA_PATH=${GAMES_DATADIR}" > ) > > cmake-utils_src_configure >} > >src_install() { > cmake-utils_src_install > > ## This is a rather wild thing, but I can't think of a quicker way right now: > # Add ogre_plugins config: > > OGRECFG="${D}/${GAMES_PREFIX}/${PN}/ogre_plugins.cfg" > cat > ${OGRECFG} <<EOF ># Plugin folder >PluginFolder=/usr/lib64/OGRE ># Plugins >Plugin=RenderSystem_GL >Plugin=Plugin_ParticleFX >Plugin=Plugin_OctreeSceneManager >EOF > > ## Extra-Plugin with cg enabled: > use cg && echo "Plugin=Plugin_CgProgramManager" >> ${OGRECFG} > > prepgamesdirs >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 59212
:
126979
|
126980
|
126982
|
126984
|
126985
|
225311
|
225313
|
225457
|
232307
|
248751
| 248753