Date: Tuesday, November 26, 2013 @ 14:01:03 Author: svenstaro Revision: 101486
upgpkg: ogre 1.9.0-1 Updating to 1.9.0 Modified: ogre/trunk/PKGBUILD ----------+ PKGBUILD | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-11-26 11:58:19 UTC (rev 101485) +++ PKGBUILD 2013-11-26 13:01:03 UTC (rev 101486) @@ -2,22 +2,26 @@ # Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> pkgbase=ogre pkgname=('ogre' 'ogre-docs') -pkgver=1.8.1 -pkgrel=5 +pkgver=1.9.0 +pkgrel=1 pkgdesc='Scene-oriented, flexible 3D engine written in C++' arch=('i686' 'x86_64') url='http://www.ogre3d.org' license=('custom:MIT') depends=('boost-libs' 'freeimage' 'freetype2' 'libxaw' 'libxrandr' - 'nvidia-cg-toolkit' 'zziplib' 'ois' 'glu') -makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa') + 'nvidia-cg-toolkit' 'zziplib' 'ois' 'glu' 'gcc-go' 'tinyxml') +makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'mercurial') install=ogre.install -source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}_src_v${pkgver//./-}.tar.bz2") -md5sums=('b85e3dcf370a46b3a8624d4fdd722d39') +source=("hg+ssh://h...@bitbucket.org/sinbad/ogre#tag=v${pkgver//./-}" + freetype.patch) +md5sums=('SKIP' + '73af39f59c302b76bee600fc5127af9a') build() { - cd ${srcdir}/${pkgname}_src_v${pkgver//./-} + cd ogre + patch -Np1 < $srcdir/freetype.patch + # get a clean build dir [[ -d build ]] && rm -rf build mkdir build && cd build @@ -25,10 +29,8 @@ # generate CMake Makefile cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \ -DOGRE_INSTALL_SAMPLES=TRUE \ -DOGRE_INSTALL_DOCS=TRUE \ - -DOGRE_INSTALL_MEDIA=TRUE \ -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \ -DCMAKE_BUILD_TYPE=Release # set =Debug for debugging version @@ -36,19 +38,17 @@ make # generate docs - if [[ $(which dot) && $(which doxygen) ]]; then - make doc - fi + make OgreDoc } package_ogre() { optdepends=('cppunit: unit testing' - 'intel-tbb: better threading support' - 'poco: portability' - 'boost: for developing using ogre' - 'ogre-docs: documentation') + 'intel-tbb: better threading support' + 'poco: portability' + 'boost: for developing using ogre' + 'ogre-docs: documentation') - cd ${srcdir}/${pkgname}_src_v${pkgver//./-}/build + cd ogre/build # install the bugger make DESTDIR=${pkgdir} install @@ -74,7 +74,7 @@ pkgdesc="Documentation for ogre" depends=() - cd ${srcdir}/${pkgbase}_src_v${pkgver//./-}/build + cd ogre/build # move docs into this package install -dm755 ${pkgdir}/usr/share/doc