[arch-commits] Commit in ogre/repos/community-x86_64 (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Mar 16 07:03:02 UTC 2018


    Date: Friday, March 16, 2018 @ 07:03:01
  Author: svenstaro
Revision: 308778

archrelease: copy trunk to community-x86_64

Added:
  ogre/repos/community-x86_64/PKGBUILD
    (from rev 308777, ogre/trunk/PKGBUILD)
  ogre/repos/community-x86_64/ogre.install
    (from rev 308777, ogre/trunk/ogre.install)
Deleted:
  ogre/repos/community-x86_64/PKGBUILD
  ogre/repos/community-x86_64/ogre.install

--------------+
 PKGBUILD     |  150 +++++++++++++++++++++++++++++----------------------------
 ogre.install |    6 +-
 2 files changed, 81 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-16 07:02:55 UTC (rev 308777)
+++ PKGBUILD	2018-03-16 07:03:01 UTC (rev 308778)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgbase=ogre
-pkgname=('ogre' 'ogre-docs')
-pkgver=1.10.11
-pkgrel=3
-pkgdesc='Scene-oriented, flexible 3D engine written in C++'
-arch=('x86_64')
-url='http://www.ogre3d.org'
-license=('custom:MIT')
-depends=('boost-libs' 'freeimage' 'freetype2' 'libxaw' 'libxrandr'
-         'nvidia-cg-toolkit' 'zziplib' 'sdl2' 'glu' 'tinyxml')
-makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'mercurial' 'python' 'swig' 'systemd')
-install=ogre.install
-source=("https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz")
-sha512sums=('2dfedd6f0a0de1a8c687c001439138b233200ca11e5c9940debf43d8a0380ca6472e0b5f4d599f0e22ca2049d0a5d34066ef41b6bc4912130694fa5d851fc900')
-
-build() {
-  cd ogre-${pkgver}
-
-  [[ -d build ]] && rm -rf build
-  mkdir build && cd build
-
-  cmake .. \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DOGRE_INSTALL_SAMPLES=TRUE \
-    -DOGRE_INSTALL_DOCS=TRUE \
-    -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \
-    -DOGRE_BUILD_DEPENDENCIES=FALSE \
-    -DOGRE_BUILD_COMPONENT_PYTHON=TRUE \
-    -DCMAKE_BUILD_TYPE=Release
-
-  make
-  make OgreDoc
-}
-
-package_ogre() {
-  optdepends=('cppunit: unit testing'
-              'intel-tbb: better threading support'
-              'poco: portability'
-              'python: python bindings'
-              'boost: for developing using ogre'
-              '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 308777, ogre/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-16 07:03:01 UTC (rev 308778)
@@ -0,0 +1,78 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgbase=ogre
+pkgname=('ogre' 'ogre-docs')
+pkgver=1.10.11
+pkgrel=4
+pkgdesc='Scene-oriented, flexible 3D engine written in C++'
+arch=('x86_64')
+url='http://www.ogre3d.org'
+license=('custom:MIT')
+depends=('boost-libs' 'freeimage' 'freetype2' 'libxaw' 'libxrandr'
+         'nvidia-cg-toolkit' 'zziplib' 'sdl2' 'glu' 'tinyxml')
+makedepends=('boost' 'cmake' 'doxygen' 'graphviz' 'ttf-dejavu' 'mesa' 'mercurial' 'python' 'swig' 'systemd')
+install=ogre.install
+source=("https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz")
+sha512sums=('2dfedd6f0a0de1a8c687c001439138b233200ca11e5c9940debf43d8a0380ca6472e0b5f4d599f0e22ca2049d0a5d34066ef41b6bc4912130694fa5d851fc900')
+
+prepare() {
+  cd ogre-${pkgver}
+
+  sed -i "s/dist-packages/site-packages/" Components/Python/CMakeLists.txt
+}
+
+build() {
+  cd ogre-${pkgver}
+
+  [[ -d build ]] && rm -rf build
+  mkdir build && cd build
+
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DOGRE_INSTALL_SAMPLES=TRUE \
+    -DOGRE_INSTALL_DOCS=TRUE \
+    -DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \
+    -DOGRE_BUILD_DEPENDENCIES=FALSE \
+    -DOGRE_BUILD_COMPONENT_PYTHON=TRUE \
+    -DCMAKE_BUILD_TYPE=Release
+
+  make
+  make OgreDoc
+}
+
+package_ogre() {
+  optdepends=('cppunit: unit testing'
+              'intel-tbb: better threading support'
+              'poco: portability'
+              'python: python bindings'
+              'boost: for developing using ogre'
+              '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-03-16 07:02:55 UTC (rev 308777)
+++ ogre.install	2018-03-16 07:03:01 UTC (rev 308778)
@@ -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 308777, ogre/trunk/ogre.install)
===================================================================
--- ogre.install	                        (rev 0)
+++ ogre.install	2018-03-16 07:03:01 UTC (rev 308778)
@@ -0,0 +1,3 @@
+post_install() {
+    echo "To view the OGRE samples just run OgreSampleBrowser"
+}



More information about the arch-commits mailing list