summaryrefslogtreecommitdiff
path: root/community/cegui/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cegui/PKGBUILD')
-rw-r--r--community/cegui/PKGBUILD27
1 files changed, 17 insertions, 10 deletions
diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD
index 1f43ed396..a531fff0b 100644
--- a/community/cegui/PKGBUILD
+++ b/community/cegui/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 64313 2012-02-11 23:19:28Z allan $
+# $Id: PKGBUILD 67327 2012-03-08 18:15:45Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>,
@@ -6,26 +6,34 @@
pkgname=cegui
pkgver=0.7.6
-pkgrel=2
+pkgrel=3
pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
arch=('i686' 'x86_64')
url="http://crayzedsgui.sourceforge.net"
#options=('!libtool')
license=("MIT")
depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly')
-makedepends=('python2' 'doxygen')
-source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
+makedepends=('python2' 'doxygen' 'ogre' 'irrlicht' 'gtk2' 'boost' 'graphviz')
+optdepends=("python2: python bindings"
+ "ogre: ogre module"
+ "irrlicht: irrlicht module")
options=(!libtool)
-md5sums=('7ddb5145dc94fb7daf9aea1d30a6ffa3')
+source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz
+ cegui-0.7.6-python-detection.patch)
+md5sums=('7ddb5145dc94fb7daf9aea1d30a6ffa3'
+ '4600775f78b7349621a8a314ade8c902')
build() {
cd $srcdir/CEGUI-${pkgver}
- sed -i '1i#include <cstddef>' cegui/include/CEGUIString.h
+ patch -Np0 < $srcdir/cegui-0.7.6-python-detection.patch
+
+ ./bootstrap
+
./configure --prefix=/usr \
--sysconfdir=/etc \
- --disable-xerces-c \
- --enable-null-renderer
+ --enable-null-renderer \
+ --with-gtk2
make
}
@@ -35,8 +43,7 @@ package() {
make DESTDIR=${pkgdir} install
- #build docs
- cd doc/doxygen && doxygen
+ cd doc/doxygen && doxygen
cd .. && make DESTDIR=${pkgdir} install-html
install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE