summaryrefslogtreecommitdiff
path: root/community-testing/gigi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/gigi/PKGBUILD')
-rw-r--r--community-testing/gigi/PKGBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/community-testing/gigi/PKGBUILD b/community-testing/gigi/PKGBUILD
index 6dffc34e1..4a5bb74b8 100644
--- a/community-testing/gigi/PKGBUILD
+++ b/community-testing/gigi/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 73754 2012-07-15 13:18:27Z ibiru $
+# $Id: PKGBUILD 77537 2012-10-11 22:30:20Z lcarlier $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: fana-m <geminin@gmx.net>
@@ -7,15 +7,14 @@
pkgname=gigi
pkgver=0.8.0
-pkgrel=11
-_fixedrevision=1074
-pkgdesc="Small, efficient and feature rich GUI for C++ and OpenGL"
+pkgrel=13
+_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')
-depends=('boost' 'mesa' 'libpng' 'libjpeg' 'libtiff' 'freetype2' 'ogre' 'sdl' 'ois' 'python')
-makedepends=('subversion' 'cmake' 'setconf' 'doxygen')
-conflicts=('gigi-svn' 'mesa-full')
+depends=('boost' 'libpng' 'libtiff' 'ogre' 'sdl' 'python')
+makedepends=('subversion' 'cmake' 'setconf' 'doxygen' 'mesa')
build() {
cd "$srcdir"
@@ -24,7 +23,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 +32,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