[arch-commits] Commit in magnum/trunk (PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Sat May 5 21:33:10 UTC 2018
Date: Saturday, May 5, 2018 @ 21:33:09
Author: arodseth
Revision: 318998
upgpkg: magnum 2018.04-1
Modified:
magnum/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-05 21:30:23 UTC (rev 318997)
+++ PKGBUILD 2018-05-05 21:33:09 UTC (rev 318998)
@@ -3,13 +3,13 @@
# Contributor: mosra <mosra at centrum.cz>
pkgname=magnum
-pkgver=2018.02
-pkgrel=2
+pkgver=2018.04
+pkgrel=1
pkgdesc='C++11/C++14 graphics middleware for games and data visualization'
arch=('x86_64')
url='http://magnum.graphics'
license=('MIT')
-depends=('corrade' 'openal' 'sdl2')
+depends=("corrade>=$pkgver" 'openal' 'sdl2')
optdepends=('magnum-plugins: import and export features')
makedepends=('cmake' 'git' 'ninja')
source=("git+https://github.com/mosra/magnum.git#tag=v$pkgver")
@@ -19,22 +19,27 @@
mkdir -p build
cd build
cmake ../magnum \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wfatal-errors" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DWITH_ANYAUDIOIMPORTER=ON \
+ -DWITH_ANYIMAGECONVERTER=ON \
+ -DWITH_ANYIMAGEIMPORTER=ON \
+ -DWITH_ANYSCENEIMPORTER=ON \
-DWITH_AUDIO=ON \
- -DWITH_SDL2APPLICATION=ON \
+ -DWITH_DISTANCEFIELDCONVERTER=ON \
-DWITH_GLXAPPLICATION=ON \
- -DWITH_WINDOWLESSGLXAPPLICATION=ON \
-DWITH_GLXCONTEXT=ON \
-DWITH_MAGNUMFONT=ON \
-DWITH_MAGNUMFONTCONVERTER=ON \
-DWITH_OBJIMPORTER=ON \
+ -DWITH_FONTCONVERTER=ON \
+ -DWITH_GL_INFO=ON \
+ -DWITH_SDL2APPLICATION=ON \
-DWITH_TGAIMAGECONVERTER=ON \
-DWITH_TGAIMPORTER=ON \
-DWITH_WAVAUDIOIMPORTER=ON \
- -DWITH_DISTANCEFIELDCONVERTER=ON \
- -DWITH_FONTCONVERTER=ON \
- -DWITH_MAGNUMINFO=ON \
+ -DWITH_WINDOWLESSGLXAPPLICATION=ON \
-GNinja
ninja
}
@@ -45,5 +50,5 @@
"$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
+# vim: ts=2 sw=2 et:
# getver: no
-# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list