From 00d32b0938eebfa45f0543cae655abf5233eb99c Mon Sep 17 00:00:00 2001 From: root Date: Thu, 12 Jul 2012 00:04:35 +0000 Subject: Thu Jul 12 00:04:34 UTC 2012 --- community-staging/cegui/PKGBUILD | 51 ++++++++++++++++++++++ .../cegui/cegui-0.7.6-python-detection.patch | 11 +++++ 2 files changed, 62 insertions(+) create mode 100644 community-staging/cegui/PKGBUILD create mode 100644 community-staging/cegui/cegui-0.7.6-python-detection.patch (limited to 'community-staging/cegui') diff --git a/community-staging/cegui/PKGBUILD b/community-staging/cegui/PKGBUILD new file mode 100644 index 000000000..b76a4e5e7 --- /dev/null +++ b/community-staging/cegui/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 73583 2012-07-10 18:04:30Z svenstaro $ +# Maintainer: Sven-Hendrik Haase +# Contributor: Juergen Hoetzel +# Contributor: William Rea , +# Contributor: Bjorn Lindeijer + +pkgname=cegui +pkgver=0.7.6 +pkgrel=4 +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' 'ogre' 'irrlicht' 'gtk2' 'boost' 'graphviz') +optdepends=("python2: python bindings" + "ogre: ogre module" + "irrlicht: irrlicht module") +options=(!libtool) +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} + + patch -Np0 < $srcdir/cegui-0.7.6-python-detection.patch + + ./bootstrap + + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-null-renderer \ + --with-gtk2 + + make +} + +package() { + cd $srcdir/CEGUI-${pkgver} + + make DESTDIR=${pkgdir} install + + cd doc/doxygen && doxygen + cd .. && make DESTDIR=${pkgdir} install-html + + install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} + diff --git a/community-staging/cegui/cegui-0.7.6-python-detection.patch b/community-staging/cegui/cegui-0.7.6-python-detection.patch new file mode 100644 index 000000000..e14cd812e --- /dev/null +++ b/community-staging/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 -- cgit v1.2.3-54-g00ecf