Date: Wednesday, October 10, 2018 @ 18:24:42 Author: svenstaro Revision: 392115
archrelease: copy trunk to community-x86_64 Added: ogre/repos/community-x86_64/PKGBUILD (from rev 392114, ogre/trunk/PKGBUILD) ogre/repos/community-x86_64/ogre.install (from rev 392114, ogre/trunk/ogre.install) Deleted: ogre/repos/community-x86_64/PKGBUILD ogre/repos/community-x86_64/ogre.install --------------+ PKGBUILD | 139 ++++++++++++++++++++++++++++----------------------------- ogre.install | 6 +- 2 files changed, 72 insertions(+), 73 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-10 18:24:33 UTC (rev 392114) +++ PKGBUILD 2018-10-10 18:24:42 UTC (rev 392115) @@ -1,70 +0,0 @@ -# $Id$ -# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> -pkgbase=ogre -pkgname=('ogre' 'ogre-docs') -pkgver=1.11.1 -pkgrel=3 -pkgdesc='Scene-oriented, flexible 3D engine written in C++' -arch=('x86_64') -url='http://www.ogre3d.org' -license=('custom:MIT') -depends=('freeimage' 'freetype2' 'libxaw' 'libxrandr' 'openexr' - 'nvidia-cg-toolkit' 'zziplib' 'sdl2' 'glu' 'tinyxml') -makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'python' 'swig' 'systemd' 'java-environment') -install=ogre.install -source=("https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz") -sha512sums=('10b70913a67ea7ee22ce6743b7d03abbf3eb271414b75b35eed50ad2affa85def33dfc4ba11d66e417d451674ee220efda9ef0c1fd19ad63390b4c2d762850c8') - -build() { - cd ogre-${pkgver} - - [[ -d build ]] && rm -rf build - mkdir build && cd build - - export JAVA_HOME=/usr/lib/jvm/default - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DOGRE_BUILD_DEPENDENCIES=FALSE \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \ - -DOGRE_BUILD_PLUGIN_EXRCODEC=TRUE - - make - make OgreDoc -} - -package_ogre() { - optdepends=('cppunit: unit testing' - 'python: python bindings' - 'java-environment: jni bindings' - 'ogre-docs: documentation') - - cd ogre-${pkgver}/build - - make DESTDIR=${pkgdir} install - - mv ${pkgdir}/usr/bin/SampleBrowser ${pkgdir}/usr/bin/OgreSampleBrowser - install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE - - # move docs out of this package - mv ${pkgdir}/usr/share/OGRE/docs ${srcdir}/docs -} - -package_ogre-docs() { - pkgdesc="Documentation for ogre" - depends=() - - cd ogre-${pkgver}/build - - # move docs into this package - install -dm755 ${pkgdir}/usr/share/doc - mv ${srcdir}/docs ${pkgdir}/usr/share/doc/OGRE/ - - # symlink for docs - install -dm755 ${pkgdir}/usr/share/OGRE/ - cd ${pkgdir}/usr/share - ln -s /usr/share/doc/OGRE/ OGRE/docs -} - -# vim:set ts=2 sw=2 et: Copied: ogre/repos/community-x86_64/PKGBUILD (from rev 392114, ogre/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-10 18:24:42 UTC (rev 392115) @@ -0,0 +1,69 @@ +# Maintainer: Sven-Hendrik Haase <s...@lutzhaase.com> +pkgbase=ogre +pkgname=('ogre' 'ogre-docs') +pkgver=1.11.2 +pkgrel=1 +pkgdesc='Scene-oriented, flexible 3D engine written in C++' +arch=('x86_64') +url='http://www.ogre3d.org' +license=('custom:MIT') +depends=('freeimage' 'freetype2' 'libxaw' 'libxrandr' 'openexr' + 'nvidia-cg-toolkit' 'zziplib' 'sdl2' 'glu' 'tinyxml') +makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'python' 'swig' 'systemd' 'java-environment') +install=ogre.install +source=("https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz") +sha512sums=('81f40b4bd25ac91db3dca205f1b9c12e9120706626d81dff70b2b8836d8dbffe49e7d102528630d4c6b730834c50745de9c03fab354826f813d3479c2f7097fc') + +build() { + cd ogre-${pkgver} + + [[ -d build ]] && rm -rf build + mkdir build && cd build + + export JAVA_HOME=/usr/lib/jvm/default + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DOGRE_BUILD_DEPENDENCIES=FALSE \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE \ + -DOGRE_BUILD_PLUGIN_EXRCODEC=TRUE + + make + make OgreDoc +} + +package_ogre() { + optdepends=('cppunit: unit testing' + 'python: python bindings' + 'java-environment: jni bindings' + 'ogre-docs: documentation') + + cd ogre-${pkgver}/build + + make DESTDIR=${pkgdir} install + + mv ${pkgdir}/usr/bin/SampleBrowser ${pkgdir}/usr/bin/OgreSampleBrowser + install -Dm644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + + # move docs out of this package + mv ${pkgdir}/usr/share/OGRE/docs ${srcdir}/docs +} + +package_ogre-docs() { + pkgdesc="Documentation for ogre" + depends=() + + cd ogre-${pkgver}/build + + # move docs into this package + install -dm755 ${pkgdir}/usr/share/doc + mv ${srcdir}/docs ${pkgdir}/usr/share/doc/OGRE/ + + # symlink for docs + install -dm755 ${pkgdir}/usr/share/OGRE/ + cd ${pkgdir}/usr/share + ln -s /usr/share/doc/OGRE/ OGRE/docs +} + +# vim:set ts=2 sw=2 et: Deleted: ogre.install =================================================================== --- ogre.install 2018-10-10 18:24:33 UTC (rev 392114) +++ ogre.install 2018-10-10 18:24:42 UTC (rev 392115) @@ -1,3 +0,0 @@ -post_install() { - echo "To view the OGRE samples just run OgreSampleBrowser" -} Copied: ogre/repos/community-x86_64/ogre.install (from rev 392114, ogre/trunk/ogre.install) =================================================================== --- ogre.install (rev 0) +++ ogre.install 2018-10-10 18:24:42 UTC (rev 392115) @@ -0,0 +1,3 @@ +post_install() { + echo "To view the OGRE samples just run OgreSampleBrowser" +}