summaryrefslogtreecommitdiff
path: root/community/gigi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gigi/PKGBUILD')
-rw-r--r--community/gigi/PKGBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/community/gigi/PKGBUILD b/community/gigi/PKGBUILD
index 63fc4188c..5066202b2 100644
--- a/community/gigi/PKGBUILD
+++ b/community/gigi/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73991 2012-07-18 01:06:42Z ibiru $
+# $Id: PKGBUILD 76013 2012-09-08 21:44:20Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: fana-m <geminin@gmx.net>
@@ -7,9 +7,9 @@
pkgname=gigi
pkgver=0.8.0
-pkgrel=11
-_fixedrevision=1074
-pkgdesc="Small, efficient and feature rich GUI for C++ and OpenGL"
+pkgrel=12
+_fixedrevision=5208
+pkgdesc="Small, efficient and feature rich GUI for C++ and OpenGL (freeorion fork)"
url="http://gigi.sourceforge.net/"
arch=('x86_64' 'i686')
license=('LGPL')
@@ -24,7 +24,8 @@ build() {
if [ -d gigi/.svn ]; then
(cd gigi && svn up -r "$_fixedrevision")
else
- svn co https://gigi.svn.sourceforge.net/svnroot/gigi/trunk/GG/ \
+ #svn co https://gigi.svn.sourceforge.net/svnroot/gigi/trunk/GG/ \
+ svn co https://freeorion.svn.sourceforge.net/svnroot/freeorion/trunk/FreeOrion/GG/ \
--config-dir ./ -r "$_fixedrevision" gigi
fi
@@ -32,12 +33,6 @@ build() {
svn export gigi gigi-build
cd gigi-build
- msg2 "Patching..."
- sed -i 's/move_backward(/adobe::move_backward(/g' GG/adobe/vector.hpp
- sed -i 's/__GNUC_MINOR__ <= 6/__GNUC_MINOR__ <= 999/g' GG/adobe/cmath.hpp
- sed -i 's/insert(adobe/this->insert(adobe/g' GG/adobe/closed_hash.hpp
- sed -i 's:TIME_UTC:TIME_UTC_:' src/GUI.cpp
-
msg2 "Configuring..."
setconf cmake/GiGiOgre.pc.in prefix /usr
setconf cmake/GiGi.pc.in prefix /usr