diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-12-27 23:55:53 +0000 |
commit | 65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch) | |
tree | fbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/cegui | |
parent | d53c44f055929b18d7d1b25f8367ee5836c435fc (diff) |
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/cegui')
-rw-r--r-- | community/cegui/PKGBUILD | 29 | ||||
-rw-r--r-- | community/cegui/freetype.patch | 14 |
2 files changed, 28 insertions, 15 deletions
diff --git a/community/cegui/PKGBUILD b/community/cegui/PKGBUILD index 0d3941bbd..636e22b38 100644 --- a/community/cegui/PKGBUILD +++ b/community/cegui/PKGBUILD @@ -1,30 +1,32 @@ -# $Id: PKGBUILD 94870 2013-08-01 06:54:43Z bpiotrowski $ +# $Id: PKGBUILD 103093 2013-12-26 11:56:21Z 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=5 +pkgver=0.8.3 +pkgrel=2 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') +makedepends=('cmake' 'python2' 'doxygen' 'ogre' 'gtk2' 'boost' 'graphviz' 'irrlicht' 'glm' 'mesa' 'mercurial' 'tolua++') 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') +source=("hg+ssh://hg@bitbucket.org/cegui/cegui#tag=v0-8-3" + "freetype.patch") +md5sums=('SKIP' + '4c5f81f109f36718045bb4ba5ba25602') build() { - cd "$srcdir/cegui-${pkgver}" + cd "$srcdir/cegui" + patch -Np1 < "$srcdir/freetype.patch" 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 @@ -32,20 +34,17 @@ build() { cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCEGUI_LIB_INSTALL_DIR=lib \ - -DPYTHON_EXECUTABLE=/usr/bin/python2 + -DCEGUI_BUILD_PYTHON_MODULES=OFF # currently broken :( + # -PYTHON_EXECUTABLE=/usr/bin/python2 make make html } package() { - cd "$srcdir/cegui-${pkgver}" + cd "$srcdir/cegui"/build - cd build - make DESTDIR="${pkgdir}" install - cd .. - - install -Dm644 doc/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" + install -Dm644 ../doc/COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" } diff --git a/community/cegui/freetype.patch b/community/cegui/freetype.patch new file mode 100644 index 000000000..6fdb9e30b --- /dev/null +++ b/community/cegui/freetype.patch @@ -0,0 +1,14 @@ +diff -r 319182022f9f cmake/FindFreetype.cmake +--- a/cmake/FindFreetype.cmake Sat Dec 07 09:00:48 2013 +0000 ++++ b/cmake/FindFreetype.cmake Tue Dec 17 05:02:30 2013 +0100 +@@ -3,8 +3,8 @@ + ################################################################################ + include(FindPackageHandleStandardArgs) + +-find_path(FREETYPE_H_PATH_ft2build NAMES ft2build.h) +-find_path(FREETYPE_H_PATH_ftconfig NAMES freetype/config/ftconfig.h PATH_SUFFIXES freetype2) ++find_path(FREETYPE_H_PATH_ft2build NAMES ft2build.h PATH_SUFFIXES freetype2) ++find_path(FREETYPE_H_PATH_ftconfig NAMES config/ftconfig.h PATH_SUFFIXES freetype2) + find_library(FREETYPE_LIB NAMES freetype2 freetype libfreetype PATH_SUFFIXES dynamic) + find_library(FREETYPE_LIB_DBG NAMES freetype_d libfreetype_d PATH_SUFFIXES dynamic) + mark_as_advanced(FREETYPE_H_PATH_ft2build FREETYPE_H_PATH_ftconfig FREETYPE_LIB FREETYPE_LIB_DBG) |