[arch-commits] Commit in vtk/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Sat Feb 6 22:18:05 UTC 2016
Date: Saturday, February 6, 2016 @ 23:18:05
Author: anatolik
Revision: 160486
Use ninja for compilation
Modified:
vtk/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-06 20:51:11 UTC (rev 160485)
+++ PKGBUILD 2016-02-06 22:18:05 UTC (rev 160486)
@@ -12,7 +12,7 @@
url='http://www.vtk.org/'
license=('BSD')
depends=('gcc-libs' 'gl2ps')
-makedepends=('boost' 'cmake' 'java-environment' 'doxygen' 'gnuplot' 'tk' 'wget' 'python2-matplotlib' 'python2-twisted' 'python2-mpi4py' 'python2-autobahn' 'unixodbc' 'gdal' 'openmpi' 'mariadb' 'glew' 'ffmpeg' 'lesstif' 'qt5-base' 'jsoncpp')
+makedepends=('boost' 'cmake' 'ninja' 'java-environment' 'doxygen' 'gnuplot' 'tk' 'wget' 'python2-matplotlib' 'python2-twisted' 'python2-mpi4py' 'python2-autobahn' 'unixodbc' 'gdal' 'openmpi' 'mariadb' 'glew' 'ffmpeg' 'lesstif' 'qt5-base' 'jsoncpp')
optdepends=('python2: python bindings'
'java-runtime: java bindings'
'tk: tcl bindings'
@@ -96,15 +96,16 @@
${cmake_system_flags} \
${cmake_system_python_flags} \
-DCMAKE_BUILD_TYPE=Release \
- "${srcdir}/VTK-$pkgver"
+ "${srcdir}/VTK-$pkgver" \
+ -GNinja
- make
+ ninja
}
package() {
cd "${srcdir}/build"
- make DESTDIR="${pkgdir}" install
+ ninja DESTDIR="${pkgdir}" install
# Move the vtk.jar to the arch-specific location
install -dv "${pkgdir}/usr/share/java/vtk"
More information about the arch-commits
mailing list