Date: Thursday, October 7, 2021 @ 14:06:12 Author: svenstaro Revision: 1027927
archrelease: copy trunk to community-x86_64 Added: ogre/repos/community-x86_64/PKGBUILD (from rev 1027926, ogre/trunk/PKGBUILD) ogre/repos/community-x86_64/ogre.install (from rev 1027926, ogre/trunk/ogre.install) Deleted: ogre/repos/community-x86_64/PKGBUILD ogre/repos/community-x86_64/ogre.install --------------+ PKGBUILD | 114 +++++++++++++++++++++++++++------------------------------ ogre.install | 6 +-- 2 files changed, 58 insertions(+), 62 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-10-07 14:05:57 UTC (rev 1027926) +++ PKGBUILD 2021-10-07 14:06:12 UTC (rev 1027927) @@ -1,59 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> -pkgname=ogre -pkgver=13.0.1 -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' 'rapidjson' - 'zziplib' 'sdl2' 'glu' 'tinyxml' 'zlib') -makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'python' 'ninja' 'cppunit') -install=ogre.install -source=("$pkgname-$pkgver.tar.gz::https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz") -optdepends=('python: python bindings') -sha512sums=('72d8621ab9a9f9ae8561237fdeb23c9887984f2aed1ee72e62199fa7f26c259c75bca88c7f0f3472c0715b6e8295b7d76a96d434100413f7ece6f2db218f6278') - -build() { - cd ogre-${pkgver} - - cmake \ - -Bbuild \ - -GNinja \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DOGRE_CONFIG_ENABLE_JSON=ON \ - -DOGRE_CONFIG_THREADS=1 \ - -DOGRE_CONFIG_THREAD_PROVIDER="std" \ - -DOGRE_BUILD_COMPONENT_PLANAR_REFLECTIONS=ON \ - -DOGRE_BUILD_COMPONENT_TERRAIN=ON \ - -DOGRE_BUILD_COMPONENT_VOLUME=ON \ - -DOGRE_BUILD_COMPONENT_PAGING=ON \ - -DOGRE_BUILD_COMPONENT_PROPERTY=ON \ - -DOGRE_BUILD_COMPONENT_RTSHADERSYSTEM=ON \ - -DOGRE_BUILD_COMPONENT_SCENE_FORMAT=ON \ - -DOGRE_USE_BOOST=ON \ - -DOGRE_BUILD_TESTS=ON \ - -DOGRE_INSTALL_SAMPLES_SOURCE=ON - - ninja -C build - ninja -C build OgreDoc -} - -check() { - cd ogre-${pkgver} - - ninja -C build test -} - -package() { - cd ogre-${pkgver} - - DESTDIR="${pkgdir}" ninja -C build install - - mkdir -p "${pkgdir}"/opt/ogre/samples - mv "${pkgdir}"/usr/bin/SampleBrowser "${pkgdir}"/opt/ogre/samples - mv "${pkgdir}"/usr/bin/Test_* "${pkgdir}"/opt/ogre/samples - install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: ogre/repos/community-x86_64/PKGBUILD (from rev 1027926, ogre/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-10-07 14:06:12 UTC (rev 1027927) @@ -0,0 +1,55 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +pkgname=ogre +pkgver=13.0.1 +pkgrel=2 +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' 'sdl2' 'glu' 'pugixml' 'zlib') +makedepends=('cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'python' 'ninja' 'cppunit') +install=ogre.install +source=("$pkgname-$pkgver.tar.gz::https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz" + https://patch-diff.githubusercontent.com/raw/OGRECave/ogre/pull/2221.patch) +optdepends=('python: python bindings') +sha512sums=('72d8621ab9a9f9ae8561237fdeb23c9887984f2aed1ee72e62199fa7f26c259c75bca88c7f0f3472c0715b6e8295b7d76a96d434100413f7ece6f2db218f6278' + '0f1251e43b21cf70339cf636bdc3928ad0f47080e05a532fbe6d431213515c8bb24ab48151955455f1820076eca452ccf90bf5ae9720e92ff678133dd97d976d') + +prepare() { + cd ogre-${pkgver} + + patch -Np1 -i "$srcdir"/2221.patch +} + +build() { + cd ogre-${pkgver} + + cmake \ + -Bbuild \ + -GNinja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DOGRE_BUILD_TESTS=ON \ + -DOGRE_BUILD_DEPENDENCIES=OFF + + ninja -C build + ninja -C build OgreDoc +} + +check() { + cd ogre-${pkgver} + + ninja -C build test +} + +package() { + cd ogre-${pkgver} + + DESTDIR="${pkgdir}" ninja -C build install + + mkdir -p "${pkgdir}"/opt/ogre/samples + mv "${pkgdir}"/usr/bin/SampleBrowser "${pkgdir}"/opt/ogre/samples + mv "${pkgdir}"/usr/bin/Test_* "${pkgdir}"/opt/ogre/samples + install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE +} + +# vim:set ts=2 sw=2 et: Deleted: ogre.install =================================================================== --- ogre.install 2021-10-07 14:05:57 UTC (rev 1027926) +++ ogre.install 2021-10-07 14:06:12 UTC (rev 1027927) @@ -1,3 +0,0 @@ -post_install() { - echo "Ogre samples are in /opt/ogre/samples" -} Copied: ogre/repos/community-x86_64/ogre.install (from rev 1027926, ogre/trunk/ogre.install) =================================================================== --- ogre.install (rev 0) +++ ogre.install 2021-10-07 14:06:12 UTC (rev 1027927) @@ -0,0 +1,3 @@ +post_install() { + echo "Ogre samples are in /opt/ogre/samples" +}