[arch-commits] Commit in ogre/repos/community-x86_64 (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon May 13 14:41:22 UTC 2019
Date: Monday, May 13, 2019 @ 14:41:20
Author: svenstaro
Revision: 467141
archrelease: copy trunk to community-x86_64
Added:
ogre/repos/community-x86_64/PKGBUILD
(from rev 467140, ogre/trunk/PKGBUILD)
ogre/repos/community-x86_64/ogre.install
(from rev 467140, ogre/trunk/ogre.install)
Deleted:
ogre/repos/community-x86_64/PKGBUILD
ogre/repos/community-x86_64/ogre.install
--------------+
PKGBUILD | 137 +++++++++++++++++++++++++++------------------------------
ogre.install | 6 +-
2 files changed, 70 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-13 14:41:07 UTC (rev 467140)
+++ PKGBUILD 2019-05-13 14:41:20 UTC (rev 467141)
@@ -1,70 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-pkgbase=ogre
-pkgname=('ogre' 'ogre-docs')
-pkgver=1.11.5
-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=('d2b91d53734f031fd40dd0ed96bd1a7a7a826ac094ec0b7b03648daccd856ebef9d89854c1df64270375a5af7a8a6079b9223ffcee53ee38e62405492aec2206')
-
-prepare() {
- mkdir ogre-${pkgver}/build
-}
-
-build() {
- cd ogre-${pkgver}/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 467140, ogre/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-13 14:41:20 UTC (rev 467141)
@@ -0,0 +1,67 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgbase=ogre
+pkgname=('ogre' 'ogre-docs')
+pkgver=1.12.0
+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')
+install=ogre.install
+source=("https://github.com/OGRECave/ogre/archive/v${pkgver}.tar.gz")
+sha512sums=('8df74f9d0e97bab0a3a9db8cb101935bcd46c1382ee7fcf82cb16191c66430f32bb34947ce63be9e668cdc8e3c89d945306f3e1509d86d5380827bc583397cb9')
+
+prepare() {
+ mkdir ogre-${pkgver}/build
+}
+
+build() {
+ cd ogre-${pkgver}/build
+
+ 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'
+ '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 2019-05-13 14:41:07 UTC (rev 467140)
+++ ogre.install 2019-05-13 14:41:20 UTC (rev 467141)
@@ -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 467140, ogre/trunk/ogre.install)
===================================================================
--- ogre.install (rev 0)
+++ ogre.install 2019-05-13 14:41:20 UTC (rev 467141)
@@ -0,0 +1,3 @@
+post_install() {
+ echo "To view the OGRE samples just run OgreSampleBrowser"
+}
More information about the arch-commits
mailing list