summaryrefslogtreecommitdiff
path: root/community/cegui
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-10 00:01:15 +0000
committerroot <root@rshg054.dnsready.net>2012-03-10 00:01:15 +0000
commit3792e3874accbc868e7032042f1ecefdef25638e (patch)
tree2ba250e0011924d6172b918515475864187e84db /community/cegui
parent0a7c64736c0b026c3105928d89500a8af1ad5eac (diff)
Sat Mar 10 00:01:15 UTC 2012
Diffstat (limited to 'community/cegui')
-rw-r--r--community/cegui/PKGBUILD27
-rw-r--r--community/cegui/cegui-0.7.6-python-detection.patch11
2 files changed, 28 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
diff --git a/community/cegui/cegui-0.7.6-python-detection.patch b/community/cegui/cegui-0.7.6-python-detection.patch
new file mode 100644
index 000000000..e14cd812e
--- /dev/null
+++ b/community/cegui/cegui-0.7.6-python-detection.patch
@@ -0,0 +1,11 @@
+--- acinclude.m4.original 2012-01-24 10:42:16.066632295 +0100
++++ acinclude.m4 2012-01-24 10:43:15.800274030 +0100
+@@ -1411,7 +1411,7 @@
+ if test x$ax_python_bin != x; then
+ AC_CHECK_LIB($ax_python_bin, main, ax_python_lib=$ax_python_bin, ax_python_lib=no)
+ AC_CHECK_HEADER([$ax_python_bin/Python.h],
+- [[ax_python_header=`locate $ax_python_bin/Python.h | sed -e s,/Python.h,,`]],
++ [[ax_python_header="/usr/include/$ax_python_bin"]],
+ ax_python_header=no)
+ if test x$ax_python_lib != xno; then
+ if test x$ax_python_header != xno; then