diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/cegui | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/cegui')
-rw-r--r-- | community/cegui/PKGBUILD | 51 | ||||
-rw-r--r-- | community/cegui/cegui-0.7.6-python-detection.patch | 11 |
2 files changed, 62 insertions, 0 deletions
diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD new file mode 100644 index 000000000..26e5b4105 --- /dev/null +++ b/community/cegui/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 94016 2013-07-13 12:31:10Z svenstaro $ +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> +# Contributor: Juergen Hoetzel <juergen@archlinux.org> +# Contributor: William Rea <sillywilly@gmail.com>, +# Contributor: Bjorn Lindeijer <bjorn@lindeijer.nl> + +pkgname=cegui +pkgver=0.8.2 +pkgrel=4 +pkgdesc="A free library providing windowing and widgets for graphics APIs/engines" +arch=('i686' 'x86_64') +url="http://crayzedsgui.sourceforge.net" +license=("MIT") +depends=('pcre' 'glew' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua51' 'silly' 'glfw') +makedepends=('cmake' 'python2' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht' 'glm' 'mesa') +optdepends=("python2: python bindings" + "ogre: ogre module" + "gtk2: gtk2 module" + "irrlicht: irrlicht module") +source=(http://downloads.sourceforge.net/crayzedsgui/cegui-$pkgver.tar.gz) +md5sums=('f72951f0cc0374bb2294035cb639bb83') + +build() { + cd "$srcdir/cegui-${pkgver}" + + sed -i "s/lib64/lib/g" CMakeLists.txt + sed -i "s/lib32/lib/g" CMakeLists.txt + + [[ -d build ]] && rm -r build + mkdir build && cd build + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCEGUI_LIB_INSTALL_DIR=lib \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 + + make + make html +} + +package() { + cd "$srcdir/cegui-${pkgver}" + + cd build + + make DESTDIR="${pkgdir}" install + + cd .. + + install -Dm644 doc/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 |