From: "Bernhard Mallinger" <b.mallinger@gmx.at>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-engines/fife/, games-engines/fife/files/
Date: Thu, 3 Nov 2011 14:53:50 +0000 (UTC) [thread overview]
Message-ID: <09386d1e012e332a969e0e4ec0605a01c31282b8.totycro@gentoo> (raw)
commit: 09386d1e012e332a969e0e4ec0605a01c31282b8
Author: totycro <totycro <AT> unknown-horizons <DOT> org>
AuthorDate: Thu Nov 3 14:53:43 2011 +0000
Commit: Bernhard Mallinger <b.mallinger <AT> gmx <DOT> at>
CommitDate: Thu Nov 3 14:53:43 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=09386d1e
Added games-engines/fife/fife-0.3.3-r2.ebuild
---
.../{fife-0.3.1.ebuild => fife-0.3.3-r2.ebuild} | 9 ++++---
.../fife/files/fife-0.3.3-unbundle-libpng.patch | 24 ++++++++++++++++++++
2 files changed, 29 insertions(+), 4 deletions(-)
diff --git a/games-engines/fife/fife-0.3.1.ebuild b/games-engines/fife/fife-0.3.3-r2.ebuild
similarity index 88%
rename from games-engines/fife/fife-0.3.1.ebuild
rename to games-engines/fife/fife-0.3.3-r2.ebuild
index 5add1a3..97ca694 100644
--- a/games-engines/fife/fife-0.3.1.ebuild
+++ b/games-engines/fife/fife-0.3.3-r2.ebuild
@@ -4,7 +4,7 @@
EAPI="3"
-PYTHON_DEPEND="2"
+PYTHON_DEPEND="2:2.7"
inherit eutils python scons-utils versionator
@@ -31,22 +31,23 @@ RDEPEND="dev-libs/boost
sys-libs/zlib
x11-libs/libXcursor
x11-libs/libXext
- dev-games/guichan
+ dev-games/guichan[sdl]
opengl? ( virtual/opengl virtual/glu )"
DEPEND="${RDEPEND}
dev-lang/swig"
-S=${WORKDIR}/${PN}-${MY_PV}
+S=${WORKDIR}/${PN}_${PV}
src_prepare() {
rm -r ext #delete bundled libs
epatch "${FILESDIR}/${P}-unbundle-libpng.patch"
}
-# Can compiles only with one thread
+# Can compile only with one thread
SCONSOPTS="-j1"
src_compile() {
+ export CXXFLAGS="$CXXFLAGS -DBOOST_FILESYSTEM_VERSION=2"
escons \
--python-prefix="${D}/$(python_get_sitedir)" \
--prefix="${D}/usr" \
diff --git a/games-engines/fife/files/fife-0.3.3-unbundle-libpng.patch b/games-engines/fife/files/fife-0.3.3-unbundle-libpng.patch
new file mode 100644
index 0000000..580edfa
--- /dev/null
+++ b/games-engines/fife/files/fife-0.3.3-unbundle-libpng.patch
@@ -0,0 +1,24 @@
+Index: image.h
+===================================================================
+--- a/engine/core/video/image.h (revision 3239)
++++ b/engine/core/video/image.h (working copy)
+@@ -27,7 +27,6 @@
+
+ // 3rd party library includes
+ #include <SDL.h>
+-#include <png.h>
+
+ // FIFE includes
+ // These includes are split up in two parts, separated by one empty line
+Index: image.cpp
+===================================================================
+--- a/engine/core/video/image.cpp (revision 3239)
++++ b/engine/core/video/image.cpp (working copy)
+@@ -25,6 +25,7 @@
+
+ // 3rd party library includes
+ #include <SDL.h>
++#include <png.h>
+
+ // FIFE includes
+ // These includes are split up in two parts, separated by one empty line
next reply other threads:[~2011-11-03 14:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-03 14:53 Bernhard Mallinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-06-04 10:24 [gentoo-commits] proj/gamerlay:master commit in: games-engines/fife/, games-engines/fife/files/ Mario Kicherer
2013-01-04 8:32 Bernhard Mallinger
2011-06-13 12:01 Azamat H. Hackimov
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=09386d1e012e332a969e0e4ec0605a01c31282b8.totycro@gentoo \
--to=b.mallinger@gmx.at \
--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