/[gentoo-x86]/sci-libs/vtk/vtk-6.0.0.ebuild
Gentoo

Diff of /sci-libs/vtk/vtk-6.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.13
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-6.0.0.ebuild,v 1.2 2014/01/12 09:15:22 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sci-libs/vtk/vtk-6.0.0.ebuild,v 1.13 2015/03/20 15:19:16 jlec Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7PYTHON_COMPAT=( python{2_6,2_7} ) 7PYTHON_COMPAT=( python{2_6,2_7} )
8CMAKE_MAKEFILE_GENERATOR=ninja
8 9
9inherit eutils flag-o-matic java-pkg-opt-2 python-single-r1 qt4-r2 versionator toolchain-funcs cmake-utils virtualx 10inherit eutils flag-o-matic java-pkg-opt-2 python-single-r1 qmake-utils versionator toolchain-funcs cmake-utils virtualx
10 11
11# Short package version 12# Short package version
12SPV="$(get_version_component_range 1-2)" 13SPV="$(get_version_component_range 1-2)"
13 14
14DESCRIPTION="The Visualization Toolkit" 15DESCRIPTION="The Visualization Toolkit"
16SRC_URI=" 17SRC_URI="
17 http://www.${PN}.org/files/release/${SPV}/${P/_rc/.rc}.tar.gz 18 http://www.${PN}.org/files/release/${SPV}/${P/_rc/.rc}.tar.gz
18 doc? ( http://www.${PN}.org/files/release/${SPV}/${PN}DocHtml-${PV}.tar.gz )" 19 doc? ( http://www.${PN}.org/files/release/${SPV}/${PN}DocHtml-${PV}.tar.gz )"
19 20
20LICENSE="BSD LGPL-2" 21LICENSE="BSD LGPL-2"
21KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" 22KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
22SLOT="0" 23SLOT="0"
23IUSE=" 24IUSE="
24 aqua boost cg doc examples imaging ffmpeg java mpi mysql odbc 25 aqua boost cg doc examples imaging ffmpeg java mpi mysql odbc
25 offscreen postgres python qt4 rendering test theora tk tcl 26 offscreen postgres python qt4 rendering test theora tk tcl
26 video_cards_nvidia views R +X" 27 video_cards_nvidia views R +X"
35 36
36RDEPEND=" 37RDEPEND="
37 dev-libs/expat 38 dev-libs/expat
38 dev-libs/libxml2:2 39 dev-libs/libxml2:2
39 media-libs/freetype 40 media-libs/freetype
40 media-libs/libpng 41 media-libs/libpng:0
41 media-libs/mesa 42 media-libs/mesa
42 media-libs/libtheora 43 media-libs/libtheora
43 media-libs/tiff 44 media-libs/tiff:0
44 sci-libs/exodusii 45 sci-libs/exodusii
45 sci-libs/hdf5 46 sci-libs/hdf5:=
46 sci-libs/netcdf-cxx:3 47 sci-libs/netcdf-cxx:3
47 sys-libs/zlib 48 sys-libs/zlib
48 virtual/jpeg 49 virtual/jpeg:0
49 virtual/opengl 50 virtual/opengl
50 >=x11-libs/gl2ps-1.3.8 51 >=x11-libs/gl2ps-1.3.8
51 x11-libs/libX11 52 x11-libs/libX11
52 x11-libs/libXmu 53 x11-libs/libXmu
53 x11-libs/libXt 54 x11-libs/libXt
57 dev-qt/qtcore:4 58 dev-qt/qtcore:4
58 dev-qt/qtgui:4 59 dev-qt/qtgui:4
59 sci-libs/vtkdata 60 sci-libs/vtkdata
60 ) 61 )
61 ffmpeg? ( virtual/ffmpeg ) 62 ffmpeg? ( virtual/ffmpeg )
62 java? ( >=virtual/jre-1.5 ) 63 java? ( >=virtual/jre-1.5:* )
63 mpi? ( virtual/mpi[cxx,romio] ) 64 mpi? ( virtual/mpi[cxx,romio] )
64 mysql? ( virtual/mysql ) 65 mysql? ( virtual/mysql )
65 odbc? ( dev-db/unixODBC ) 66 odbc? ( dev-db/unixODBC )
66 offscreen? ( media-libs/mesa[osmesa] ) 67 offscreen? ( media-libs/mesa[osmesa] )
67 postgres? ( dev-db/postgresql-base ) 68 postgres? ( dev-db/postgresql:= )
68 python? ( 69 python? (
69 ${PYTHON_DEPS} 70 ${PYTHON_DEPS}
70 dev-python/sip[${PYTHON_USEDEP}] 71 dev-python/sip[${PYTHON_USEDEP}]
71 ) 72 )
72 qt4? ( 73 qt4? (
74 dev-qt/designer:4
73 dev-qt/qtcore:4 75 dev-qt/qtcore:4
74 dev-qt/qtgui:4 76 dev-qt/qtgui:4
75 dev-qt/qtopengl:4 77 dev-qt/qtopengl:4
76 dev-qt/qtsql:4 78 dev-qt/qtsql:4
77 dev-qt/qtwebkit:4 79 dev-qt/qtwebkit:4
78 python? ( dev-python/PyQt4[${PYTHON_USEDEP}] ) 80 python? ( dev-python/PyQt4[${PYTHON_USEDEP}] )
79 ) 81 )
80 tcl? ( dev-lang/tcl ) 82 tcl? ( dev-lang/tcl:0= )
81 tk? ( dev-lang/tk ) 83 tk? ( dev-lang/tk:0= )
82 video_cards_nvidia? ( media-video/nvidia-settings ) 84 video_cards_nvidia? ( media-video/nvidia-settings )
83 R? ( dev-lang/R )" 85 R? ( dev-lang/R )"
84DEPEND="${RDEPEND} 86DEPEND="${RDEPEND}
85 doc? ( app-doc/doxygen ) 87 doc? ( app-doc/doxygen )
86 java? ( >=virtual/jdk-1.5 ) 88 java? ( >=virtual/jdk-1.5 )
239 -DVTK_USE_QVTK_QTOPENGL=ON 241 -DVTK_USE_QVTK_QTOPENGL=ON
240 -DQT_WRAP_CPP=ON 242 -DQT_WRAP_CPP=ON
241 -DQT_WRAP_UI=ON 243 -DQT_WRAP_UI=ON
242 -DVTK_INSTALL_QT_DIR=/$(get_libdir)/qt4/plugins/designer 244 -DVTK_INSTALL_QT_DIR=/$(get_libdir)/qt4/plugins/designer
243 -DDESIRED_QT_VERSION=4 245 -DDESIRED_QT_VERSION=4
244 -DQT_MOC_EXECUTABLE="${EPREFIX}/usr/bin/moc" 246 -DQT_MOC_EXECUTABLE="$(qt4_get_bindir)/moc"
245 -DQT_UIC_EXECUTABLE="${EPREFIX}/usr/bin/uic" 247 -DQT_UIC_EXECUTABLE="$(qt4_get_bindir)/uic"
246 -DQT_INCLUDE_DIR="${EPREFIX}/usr/include/qt4" 248 -DQT_INCLUDE_DIR="${EPREFIX}/usr/include/qt4"
247 -DQT_QMAKE_EXECUTABLE="${EPREFIX}/usr/bin/qmake" 249 -DQT_QMAKE_EXECUTABLE="$(qt4_get_bindir)/qmake"
248 ) 250 )
249 fi 251 fi
250 252
251 if use R; then 253 if use R; then
252 mycmakeargs+=( 254 mycmakeargs+=(
253# -DR_LIBRARY_BLAS=$($(tc-getPKG_CONFIG) --libs blas) 255# -DR_LIBRARY_BLAS=$($(tc-getPKG_CONFIG) --libs blas)
254# -DR_LIBRARY_LAPACK=$($(tc-getPKG_CONFIG) --libs lapack) 256# -DR_LIBRARY_LAPACK=$($(tc-getPKG_CONFIG) --libs lapack)
255 -DR_LIBRARY_BLAS=/usr/lib64/R/lib/libR.so 257 -DR_LIBRARY_BLAS=/usr/$(get_libdir)/R/lib/libR.so
256 -DR_LIBRARY_LAPACK=/usr/lib64/R/lib/libR.so 258 -DR_LIBRARY_LAPACK=/usr/$(get_libdir)/R/lib/libR.so
257 ) 259 )
258 fi 260 fi
259 261
260 cmake-utils_src_configure 262 cmake-utils_src_configure
261 263

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20