mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
libogre: update to commit 108ab0b
Also fix gcc6 build.
This commit is contained in:
parent
69544e57c3
commit
72ab71ee05
1 changed files with 8 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'ogre'
|
# Template file for 'ogre'
|
||||||
pkgname=libogre
|
pkgname=libogre
|
||||||
version=1.9.0
|
version=1.9.0
|
||||||
revision=5
|
revision=6
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
_hgrev=dd30349ea6670e3cd962d9d41a8039de3a3482d3
|
_hgrev=108ab0bcc69603dba32c0ffd4bbbc39051f421c9
|
||||||
configure_args="-DCMAKE_INSTALL_PREFIX=/usr \
|
configure_args="-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \
|
-DOGRE_INSTALL_PLUGINS_HEADERS=TRUE \
|
||||||
-DOGRE_INSTALL_SAMPLES=TRUE \
|
-DOGRE_INSTALL_SAMPLES=TRUE \
|
||||||
|
@ -19,10 +19,15 @@ maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
homepage="http://www.ogre3d.org"
|
homepage="http://www.ogre3d.org"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
distfiles="https://bitbucket.org/sinbad/ogre/get/${_hgrev}.tar.gz"
|
distfiles="https://bitbucket.org/sinbad/ogre/get/${_hgrev}.tar.gz"
|
||||||
checksum=ead2baa807903b740e726ebf2f205ad2de9f9aacaeeae0a38fc3e29184f50f5d
|
checksum=e14c80e7d6e3f6af8176f79009db6f7c6b5a32d951da6ecb745f505e13889bc6
|
||||||
wrksrc="sinbad-ogre-${_hgrev:0:12}"
|
wrksrc="sinbad-ogre-${_hgrev:0:12}"
|
||||||
make_build_target="all OgreDoc"
|
make_build_target="all OgreDoc"
|
||||||
|
|
||||||
|
_gccver=$(gcc --version | awk '/^gcc \(GCC\)/ { print $3 }')
|
||||||
|
if [ "${_gccver%%.*}" -gt 5 ]; then
|
||||||
|
CXXFLAGS="-fcheck-new -fno-delete-null-pointer-checks -fno-lifetime-dse"
|
||||||
|
fi
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir /usr/share/doc
|
vmkdir /usr/share/doc
|
||||||
vcopy build/Docs /usr/share/doc/libogre
|
vcopy build/Docs /usr/share/doc/libogre
|
||||||
|
|
Loading…
Add table
Reference in a new issue