diff options
-rw-r--r-- | dev-games/guichan/Manifest | 3 | ||||
-rw-r--r-- | dev-games/guichan/files/guichan-0.8.1-as-needed.patch | 19 | ||||
-rw-r--r-- | dev-games/guichan/guichan-0.8.1.ebuild | 41 | ||||
-rw-r--r-- | dev-games/irrlicht/Manifest | 4 | ||||
-rw-r--r-- | dev-games/irrlicht/files/irrlicht-1.5.1-config.patch | 26 | ||||
-rw-r--r-- | dev-games/irrlicht/files/irrlicht-1.5.1-demoMake.patch | 20 | ||||
-rw-r--r-- | dev-games/irrlicht/irrlicht-1.5.1.ebuild | 58 | ||||
-rw-r--r-- | dev-games/ogre/Manifest | 14 | ||||
-rw-r--r-- | dev-games/ogre/files/ogre-1.4.9-as-needed.patch | 11 | ||||
-rw-r--r-- | dev-games/ogre/files/ogre-1.4.9-cegui.patch | 19 | ||||
-rw-r--r-- | dev-games/ogre/ogre-1.4.9.ebuild | 93 |
11 files changed, 0 insertions, 308 deletions
diff --git a/dev-games/guichan/Manifest b/dev-games/guichan/Manifest index a91c5acd0767..d29720a419be 100644 --- a/dev-games/guichan/Manifest +++ b/dev-games/guichan/Manifest @@ -1,8 +1,5 @@ -AUX guichan-0.8.1-as-needed.patch 701 RMD160 0bcc074d4c9eb7c257c3c9966d4649d463cc85da SHA1 5555be3185e755a4ad33b9cee66c80655ff6eccb SHA256 53c62d9e7ce7782154675d57170d4630bc83bfa6d5f66a4fe073b597b61ad2e4 AUX guichan-0.8.2-as-needed.patch 545 RMD160 3e94ae99bacac1a3aff49c1758eeeda683f639d0 SHA1 3eb7e38c69970fbdeb0eff679ac091a6006cdb09 SHA256 d47b984eb6289ebe9ad945372dc861884c956de4e518912d26d6cf32721f5785 -DIST guichan-0.8.1.tar.gz 556670 RMD160 4a8238e0cf38057a1b8cedb2e7da62a5e8849d18 SHA1 7ab44c3b1b0f0577bc5e8a44b918f61cb66164c3 SHA256 6a48754f16ecb6f4da7c40bfff469f75b62127acc108b7f513d9bd85192b77d4 DIST guichan-0.8.2.tar.gz 574662 RMD160 42962ecbb9efd00448cdb7249e2f3d1cbe94f79f SHA1 50cac146154740d604c752c87dbba00a2793892b SHA256 eedf206eae5201eaae027b133226d0793ab9a287bfd74c5f82c7681e3684eeab -EBUILD guichan-0.8.1.ebuild 1009 RMD160 7fa264e5a99aea041369de364205d74cffd9db20 SHA1 cfd9bc94b6db0f673d7f4cf85b2dbde77f6a5143 SHA256 c293d36ace9569a2f577e0cd72197e7beb0bbfc70e10b26a813a3bd502e93b31 EBUILD guichan-0.8.2.ebuild 1009 RMD160 d2038c245685c0f0e401c1f7a91eb4e375cf3fc8 SHA1 99c5a79d066e6ecbf4cbcaed2882e173bd4b711c SHA256 40cc05bd02777b7db9842ff7a73ae2d4b85069ed55f97dc29e0e9d1adf7e0235 MISC ChangeLog 3213 RMD160 7cb6586427ffd84157eb5fe5a1c1df8eb9025518 SHA1 e6af52d9e22b00a5778cdcb4b1ea0aa2eb10ad5f SHA256 94834e622bc67d8d37e250337334233f4175724db5506eacfc548204ab16a9a3 MISC metadata.xml 236 RMD160 883c6c7498e3248887a2ab25ade7db50544de6fe SHA1 0c5fe13fc5a85e0be007822fb1518a2eb0168887 SHA256 1b237224dc164d33a8ad46d480edcc72673b11274313cf167cb5acb50749a1f8 diff --git a/dev-games/guichan/files/guichan-0.8.1-as-needed.patch b/dev-games/guichan/files/guichan-0.8.1-as-needed.patch deleted file mode 100644 index a61d4b1bc7de..000000000000 --- a/dev-games/guichan/files/guichan-0.8.1-as-needed.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- src/sdl/Makefile.am.old 2008-04-12 07:57:57.000000000 -0400 -+++ src/sdl/Makefile.am 2009-01-28 08:53:53.000000000 -0500 -@@ -6,6 +6,8 @@ - - libguichan_sdl_la_LDFLAGS = -no-undefined -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) - -+libguichan_sdl_la_LIBADD = -lSDL_image -L$(top_srcdir)/src -lguichan -+ - libguichan_sdl_la_SOURCES = \ - sdl.cpp \ - sdlgraphics.cpp \ ---- src/Makefile.am.old 2009-02-03 16:41:09.000000000 +0100 -+++ src/Makefile.am 2009-02-03 16:41:20.000000000 +0100 -@@ -1,4 +1,4 @@ --SUBDIRS = widgets @GUICHAN_EXTRADIRS@ hge openlayer contrib -+SUBDIRS = widgets . @GUICHAN_EXTRADIRS@ hge openlayer contrib - - INCLUDES = -I$(top_srcdir)/include - diff --git a/dev-games/guichan/guichan-0.8.1.ebuild b/dev-games/guichan/guichan-0.8.1.ebuild deleted file mode 100644 index b061fd41ab91..000000000000 --- a/dev-games/guichan/guichan-0.8.1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/guichan/guichan-0.8.1.ebuild,v 1.7 2010/02/10 16:03:13 josejx Exp $ - -EAPI=2 -inherit eutils autotools - -DESCRIPTION="a portable C++ GUI library designed for games using Allegro, SDL and/or OpenGL" -HOMEPAGE="http://guichan.sourceforge.net/" -SRC_URI="http://guichan.googlecode.com/files/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="allegro opengl sdl" - -DEPEND="allegro? ( media-libs/allegro ) - opengl? ( virtual/opengl ) - sdl? ( - media-libs/libsdl - media-libs/sdl-image - )" - -src_prepare() { - epatch "${FILESDIR}"/${P}-as-needed.patch - eautoreconf -} - -src_configure() { - econf \ - --disable-dependency-tracking \ - $(use_enable allegro) \ - $(use_enable opengl) \ - $(use_enable sdl) \ - $(use_enable sdl sdlimage) -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS README TODO -} diff --git a/dev-games/irrlicht/Manifest b/dev-games/irrlicht/Manifest index 9989751be2a8..b952467279b5 100644 --- a/dev-games/irrlicht/Manifest +++ b/dev-games/irrlicht/Manifest @@ -1,11 +1,7 @@ -AUX irrlicht-1.5.1-config.patch 1308 RMD160 936792e3c36018ab0c77dad5056b420e5a57e50e SHA1 e7e0ad99523576c4667c0fb438d12c8b7d2454b9 SHA256 3e455791e5be5a21ea9e61380389d4b8d18de6d2c1e3e0c1fd2a106206ad3fa9 -AUX irrlicht-1.5.1-demoMake.patch 676 RMD160 103f82bf2249b4dc21b170bdaed5289cdb1d7429 SHA1 5c13fff5f8063eb1b666cffc8a7fa390cdcaf1a6 SHA256 7e462b5d561a7ba791d6f39f17b1441763846ec3b8dc0fe59dc246920369f9c8 AUX irrlicht-1.7.1-config.patch 1524 RMD160 605b3e87e1a979614cd47e1d9939d75556e744a4 SHA1 70a01ddfe947f8abf4a8b23f195eba7a1928158b SHA256 57da1c0af56b5a2145e3befa16c227f2222aeccd2fe050bd93d484a22643ab1d AUX irrlicht-1.7.1-demoMake.patch 19873 RMD160 61ad654a0824a1bde18a26ff642de412082166dd SHA1 582b60ef94fe93d458322429b4622da6e122ada2 SHA256 f4686dceb39913fb26035f970e999dff7b8dd82e87de6b999f3dfb5aacf846d0 AUX irrlicht-1.7.1-gentoo.patch 4295 RMD160 e67dc327a73d628200335faebe32b4742d7f4b97 SHA1 39d0711fdcc04a9ec2d26daa42c39a31bb6ca990 SHA256 f1a2aadb5be6e8239a782623ed685ecf4b380664cb7d673a98d5a1b701d629d8 -DIST irrlicht-1.5.1.zip 22514017 RMD160 2296568336dc9d506b59c1204c137526391fe3e5 SHA1 6110f398f4ed3850e0c5237629aa48050fb95fec SHA256 b5518bdb3fa8098ca92795a4bb03d19596b81103797fbaca199fc546d3c07070 DIST irrlicht-1.7.1.zip 19542368 RMD160 7125d2ed59627c84181a22172c6f270e41758e2e SHA1 077603b157b35637d2496ac5bb97a97b5109b384 SHA256 489fe899e900944b8d898da6fda537ed2f8fcf590eb35b93d8ad9d1151ebe79f -EBUILD irrlicht-1.5.1.ebuild 1362 RMD160 f38f55091216d08cb178fd616351836b07049c7e SHA1 d9644d444a4fe470b527cc38034d740a5dd5ce24 SHA256 25ba4b81603cf6c018cc38d2bff5e0928a7a3bda98077efa4f4a8ba0b98b24eb EBUILD irrlicht-1.7.1.ebuild 1375 RMD160 217302d56613a4daef1adf27e38c0bf7a70e8401 SHA1 0e091ac11bf8d53309dbe4f65b281312697147c3 SHA256 4accb0871f707a7d91d22d62e8dac3b82865c41c7462cb07ab6762b1d6b43ca4 MISC ChangeLog 7158 RMD160 4aad79d832f212c5865aad5951b53a080ba4333e SHA1 19c94ac8ad306bf17d998be3f7e8916db2bbba38 SHA256 3a2785b210a07da3c34b532b34f6698ca3daf67b8b58dbeb8957c0abd6a782df MISC metadata.xml 790 RMD160 86dd226d08a73ae77a31e174094cb4bdfeb5426a SHA1 ff4789ffad6e5473e3c2bbd8b0d64a4edc34b651 SHA256 f98d87925d064aebca00d2da850d027f1e2a66586c6715e12151e34a9167fffc diff --git a/dev-games/irrlicht/files/irrlicht-1.5.1-config.patch b/dev-games/irrlicht/files/irrlicht-1.5.1-config.patch deleted file mode 100644 index fbb1cab1ac7b..000000000000 --- a/dev-games/irrlicht/files/irrlicht-1.5.1-config.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- include/IrrCompileConfig.h -+++ include/IrrCompileConfig.h -@@ -113,7 +113,6 @@ - //! Define _IRR_USE_NON_SYSTEM_ZLIB_ to let irrlicht use the zlib which comes with irrlicht.
- /** If this is commented out, Irrlicht will try to compile using the zlib installed in the system.
- This is only used when _IRR_COMPILE_WITH_ZLIB_ is defined. */
--#define _IRR_USE_NON_SYSTEM_ZLIB_
-
-
- //! Define _IRR_COMPILE_WITH_JPEGLIB_ to enable compiling the engine using libjpeg.
-@@ -124,7 +123,6 @@ - //! Define _IRR_USE_NON_SYSTEM_JPEG_LIB_ to let irrlicht use the jpeglib which comes with irrlicht.
- /** If this is commented out, Irrlicht will try to compile using the jpeg lib installed in the system.
- This is only used when _IRR_COMPILE_WITH_LIBJPEG_ is defined. */
--#define _IRR_USE_NON_SYSTEM_JPEG_LIB_
-
-
- //! Define _IRR_COMPILE_WITH_LIBPNG_ to enable compiling the engine using libpng.
-@@ -135,7 +133,6 @@ - //! Define _IRR_USE_NON_SYSTEM_LIBPNG_ to let irrlicht use the libpng which comes with irrlicht.
- /** If this is commented out, Irrlicht will try to compile using the libpng installed in the system.
- This is only used when _IRR_COMPILE_WITH_LIBPNG_ is defined. */
--#define _IRR_USE_NON_SYSTEM_LIB_PNG_
-
-
- //! Define _IRR_D3D_NO_SHADER_DEBUGGING to disable shader debugging in D3D9
diff --git a/dev-games/irrlicht/files/irrlicht-1.5.1-demoMake.patch b/dev-games/irrlicht/files/irrlicht-1.5.1-demoMake.patch deleted file mode 100644 index ba8a3e2495fb..000000000000 --- a/dev-games/irrlicht/files/irrlicht-1.5.1-demoMake.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- examples/Demo/Makefile -+++ examples/Demo/Makefile -@@ -2,7 +2,7 @@ - Target = Demo
- Sources = CDemo.cpp CMainMenu.cpp main.cpp
-
--CPPFLAGS = -I../../include -I/usr/X11R6/include
-+CPPFLAGS = -I/usr/include/irrlicht
- CXXFLAGS = -Wall -O3 -ffast-math
-
- ifeq ($(HOSTTYPE), x86_64)
-@@ -13,7 +13,7 @@ -
- # target specific settings
- all_linux: SYSTEM=Linux
--all_linux: LDFLAGS = -L/usr/X11R6/lib$(LIBSELECT) -L../../lib/$(SYSTEM) -lIrrlicht -lGL -lXxf86vm -lXext -lX11
-+all_linux: LDFLAGS = -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lpng -ljpeg
-
- all_win32 clean_win32: SYSTEM=Win32-gcc
- all_win32: LDFLAGS = -L../../lib/$(SYSTEM) -lIrrlicht -lopengl32 -lglu32 -lm
diff --git a/dev-games/irrlicht/irrlicht-1.5.1.ebuild b/dev-games/irrlicht/irrlicht-1.5.1.ebuild deleted file mode 100644 index f26748d4fc78..000000000000 --- a/dev-games/irrlicht/irrlicht-1.5.1.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/irrlicht/irrlicht-1.5.1.ebuild,v 1.4 2010/09/17 11:00:00 scarabeus Exp $ - -EAPI=2 -inherit eutils toolchain-funcs - -DESCRIPTION="open source high performance realtime 3D engine written in C++" -HOMEPAGE="http://irrlicht.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.zip" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="doc" - -RDEPEND="media-libs/jpeg - media-libs/libpng - virtual/opengl - x11-libs/libX11" -DEPEND="${RDEPEND} - app-arch/unzip - x11-proto/xproto - x11-proto/xf86vidmodeproto" - -S=${WORKDIR}/${P}/source/Irrlicht - -src_prepare() { - cd "${WORKDIR}"/${P} - epatch \ - "${FILESDIR}"/${P}-config.patch \ - "${FILESDIR}"/${P}-demoMake.patch - - cd "${S}" - sed -i \ - -e '/^CXXFLAGS/s:=:+=:' \ - -e '/^CXXINCS/s:-Izlib -Ijpeglib -Ilibpng::' \ - -e '/^ZLIBOBJ/d' \ - -e '/^JPEGLIBOBJ/d' \ - -e '/^LIBPNGOBJ/d' \ - Makefile || die "sed failed" -} - -src_compile() { - emake CXX="$(tc-getCXX)" || die "emake failed" -} - -src_install() { - cd ../.. - dolib.a lib/Linux/libIrrlicht.a || die "dolib.a failed" - insinto /usr/include/${PN} - doins include/* || die "doins failed" - dodoc changes.txt readme.txt - if use doc ; then - insinto /usr/share/doc/${PF} - doins -r examples media || die "doins failed" - fi -} diff --git a/dev-games/ogre/Manifest b/dev-games/ogre/Manifest index 9c26f779c15d..0970aec8c6e7 100644 --- a/dev-games/ogre/Manifest +++ b/dev-games/ogre/Manifest @@ -1,21 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX ogre-1.4.9-as-needed.patch 437 RMD160 d5af96318bcb5161189babad19d65df7e72a8a55 SHA1 413bdf7b2a51eac1fc89077f058086549b0d1847 SHA256 729a6d677367b078fc68300baacb94f6de0338241e065c12821acc8413c1294a -AUX ogre-1.4.9-cegui.patch 542 RMD160 e187f9e824c7853f3cad8f2ab682b06d08ecdc56 SHA1 3abb6ebfdca868efffca1eb882955eef1af15efe SHA256 a8cc5d0779902231a027fa5e39c3ac2eb4c17f594e8b259d830940c53cb4eb96 AUX ogre-1.6.5-automake.patch 534 RMD160 f576d6a5fbf63fdcd2a7d2d69107968cb995f670 SHA1 6995c8f2283eb5e0a3a2b5666c34046928e1c2eb SHA256 ddbc4250bdce1323f14494cc4baad205a7e184b106f390d811dbbcfad353c45f AUX ogre-1.6.5-boost.patch 374 RMD160 019a214687e450edf269d3d604fb592f34ee294a SHA1 dfa607c916fb16a6071dd965c23bec4ca72166e2 SHA256 cc989efa68d9421a2d965f7998a5f5bb04cc518bf91e5f0e42ba4300fb7d93fc AUX ogre-1.6.5-cegui.patch 885 RMD160 0b2252ced3f1f7d3e1f3d429ff75a494d59f1793 SHA1 f94eaf64966efad0592cbb6aa90c1700deadbfc7 SHA256 364739dbc04d99eb4a1fd1faad37079dd9acc60b8181f96a399861d700940d6b -DIST ogre-v1-4-9.tar.bz2 29555312 RMD160 c95536520d222b410e30f7bbee15c55360ee9c8d SHA1 3b8fb296a16cac77cdba6370bd9c752bfcccf18a SHA256 38b17826b6b34e70bf1bab17d4791ab1d485409c938cf71e1e5f866f3391c35b DIST ogre-v1-6-5.tar.bz2 41785065 RMD160 4d40f9c2b36ec7d587a47114c7951f43f4a5bdbe SHA1 7068578be47f9207882b01790213f7ae8ad6304c SHA256 7fc0e948679c1c1f10751756d267a41d0e3395a6520a23f7853a0ae39a1281f5 -EBUILD ogre-1.4.9.ebuild 2461 RMD160 4c9ee18f505b6fabe202cf01c0bd34d9966c33b5 SHA1 7d8c17af5ed10007d5a2b31c85466bfa3593d38f SHA256 f3d46a12519a287098dede5996451a59565fb3bac273bac7d51f48bdb12b2825 EBUILD ogre-1.6.5.ebuild 2475 RMD160 1d07d2d295a3ddc1e7d6d4b8611cf0425470a6dc SHA1 3ead6d937fdff70d6fb8ce1f130ba944b4a6a584 SHA256 6a7c55bdf8553dd6cf344f93425e115e389cf274a812209b57be6f7f675fb268 MISC ChangeLog 10023 RMD160 bb4e515c5741b8fb80233ea1800d8a72b55b2ba2 SHA1 cc5d36883e87953f3050a4a1a6a20548b3b0b9f0 SHA256 d29e8ebc23262df726e2573bde0c7480d5adae21925bf3b6eacd9e4554a80e53 MISC metadata.xml 4514 RMD160 bd36a83acfbf75cac218d035281a0bd6d317837f SHA1 3b1ee9230a5a7781fc76606c6f7ff82c493d80af SHA256 b79edd7807e9b9b13b4d42bd4c37684c106357de9f73b868f871f3c2a8dd0304 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAky4k4EACgkQNQqtfCuFnePLRgCeKJHjfs6AjvmYxNyHqtCu5GBy -31YAoIeLhxRLbS7q/DUg7Ekj4PzklNEq -=sp5d ------END PGP SIGNATURE----- diff --git a/dev-games/ogre/files/ogre-1.4.9-as-needed.patch b/dev-games/ogre/files/ogre-1.4.9-as-needed.patch deleted file mode 100644 index 11ccb571776a..000000000000 --- a/dev-games/ogre/files/ogre-1.4.9-as-needed.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- acinclude.m4.orig 2008-04-09 17:49:30.848987000 +0100 -+++ acinclude.m4 2008-04-09 17:53:25.652068359 +0100 -@@ -340,7 +340,7 @@ - * --disable-cg to this configure script but this is highly * - * discouraged as this breaks many of the examples. * - ****************************************************************]) -- ) -+ ,-Xlinker --no-as-needed -lstdc++) - fi - - AM_CONDITIONAL(BUILD_CGPLUGIN, test x$build_cg = xyes) diff --git a/dev-games/ogre/files/ogre-1.4.9-cegui.patch b/dev-games/ogre/files/ogre-1.4.9-cegui.patch deleted file mode 100644 index c089164af219..000000000000 --- a/dev-games/ogre/files/ogre-1.4.9-cegui.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- acinclude.m4 -+++ acinclude.m4 -@@ -411,6 +411,8 @@ - ]) - - AC_DEFUN([OGRE_CHECK_CEGUI], [ -+ AC_ARG_ENABLE(cegui) -+ if test x$enable_cegui != xno; then - PKG_CHECK_MODULES(CEGUI, CEGUI >= 0.5.0, - [build_cegui_sample=true], [build_cegui_sample=false]) - if test x$build_cegui_sample = xtrue; then -@@ -426,6 +428,7 @@ - else - AC_MSG_RESULT([CEGUI not available, Gui and FacialAnimation samples will not be built]) - fi -+ fi - AM_CONDITIONAL([HAVE_CEGUI], [test x$build_cegui_sample = xtrue]) - ]) - diff --git a/dev-games/ogre/ogre-1.4.9.ebuild b/dev-games/ogre/ogre-1.4.9.ebuild deleted file mode 100644 index 703d256a0e60..000000000000 --- a/dev-games/ogre/ogre-1.4.9.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-games/ogre/ogre-1.4.9.ebuild,v 1.7 2010/09/17 11:06:05 scarabeus Exp $ - -inherit multilib eutils autotools flag-o-matic - -DESCRIPTION="Object-oriented Graphics Rendering Engine" -HOMEPAGE="http://www.ogre3d.org/" -SRC_URI="mirror://sourceforge/ogre/ogre-v${PV//./-}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="doc cegui cg devil double-precision examples gtk openexr threads" -RESTRICT="test" #139905 - -RDEPEND="dev-libs/zziplib - >=media-libs/freetype-2 - virtual/opengl - x11-libs/libXt - x11-libs/libXaw - x11-libs/libXrandr - x11-libs/libX11 - cegui? ( >=dev-games/cegui-0.5 ) - cg? ( media-gfx/nvidia-cg-toolkit ) - devil? ( media-libs/devil ) - gtk? ( >=x11-libs/gtk+-2 ) - openexr? ( media-libs/openexr ) - threads? ( dev-libs/boost )" -DEPEND="${RDEPEND} - x11-proto/xf86vidmodeproto - dev-util/pkgconfig" - -S=${WORKDIR}/${PN} - -pkg_setup() { - if use threads && ! built_with_use --missing true dev-libs/boost threads - then - die "Please emerge dev-libs/boost with USE=threads" - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - ecvs_clean - if use examples ; then - cp -r Samples install-examples || die - find install-examples \ - '(' -name .keepme -o -name '*.cbp' -o -name '*.vcproj*' ')' \ - -print0 | xargs -0 rm -rf - find install-examples -type d -print0 | xargs -0 rmdir 2> /dev/null - sed -i \ - -e "s:/usr/local/lib/OGRE:/usr/$(get_libdir)/OGRE:" \ - $(grep -rl /usr/local/lib/OGRE install-examples) \ - || die "sed failed" - fi - sed -i -e '/CPPUNIT/d' configure.in || die "sed failed" - epatch "${FILESDIR}"/${P}*.patch - eautoreconf -} - -src_compile() { - strip-flags - econf \ - --disable-dependency-tracking \ - --disable-freeimage \ - --disable-ogre-demos \ - --enable-static \ - --with-platform=GLX \ - --with-gui=$(usev gtk || echo Xt) \ - $(use_enable cegui) \ - $(use_enable cg) \ - $(use_enable devil) \ - $(use_enable double-precision double) \ - $(use_enable openexr) \ - $(use_enable threads threading) \ - || die - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - if use doc ; then - insinto /usr/share/doc/${PF}/html - doins -r Docs/* || die "doins Docs failed" - fi - if use examples ; then - insinto /usr/share/doc/${PF}/Samples - doins -r install-examples/* || die "doins Samples failed" - fi - dodoc AUTHORS BUGS LINUX.DEV README -} |