[arch-commits] Commit in ogre/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Apr 30 17:08:12 UTC 2017
Date: Sunday, April 30, 2017 @ 17:08:12
Author: svenstaro
Revision: 226369
upgpkg: ogre 1.10.4-2
Rebuild with -DOGRE_BUILD_DEPENDENCIES=FALSE
Modified:
ogre/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-30 17:04:15 UTC (rev 226368)
+++ PKGBUILD 2017-04-30 17:08:12 UTC (rev 226369)
@@ -3,7 +3,7 @@
pkgbase=ogre
pkgname=('ogre' 'ogre-docs')
pkgver=1.10.4
-pkgrel=1
+pkgrel=2
pkgdesc='Scene-oriented, flexible 3D engine written in C++'
arch=('i686' 'x86_64')
url='http://www.ogre3d.org'
@@ -17,12 +17,6 @@
sha512sums=('SKIP'
'1130544e532d77d7fe31dbd09fe7980716e2497a309c35fa12663450838be393bdf329696d4411e5644e03e328cd8772fb9becb7be5f6a87bd54c296d90b75b7')
-prepare() {
- cd ogre
-
- patch -Np1 < $srcdir/ogre-cmake30.patch
-}
-
build() {
cd ogre
@@ -29,18 +23,15 @@
[[ -d build ]] && rm -rf build
mkdir build && cd build
- # Silence warnings about deprecated declarations
- CXXFLAGS+=' -Wno-deprecated-declarations'
-
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DOGRE_INSTALL_SAMPLES=TRUE \
-DOGRE_INSTALL_DOCS=TRUE \
-DOGRE_INSTALL_SAMPLES_SOURCE=TRUE \
+ -DOGRE_BUILD_DEPENDENCIES=FALSE \
-DCMAKE_BUILD_TYPE=Release
make
-
make OgreDoc
}
More information about the arch-commits
mailing list