mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Update math/vtk5 to 5.6.0
- Track the change in multimedia/vtkmpeg2encode
This commit is contained in:
parent
f70b9b757e
commit
aed6b6c70f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256314
@ -7,8 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= vtk
|
||||
PORTVERSION= 5.4.2
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 5.6.0
|
||||
CATEGORIES= math graphics
|
||||
MASTER_SITES= http://www.vtk.org/files/release/${PORTVERSION:R}/ \
|
||||
http://www.neuro.mcw.edu/Ports/distfiles/VTK5/
|
||||
@ -58,6 +57,7 @@ CMAKE_OUTSOURCE= yes
|
||||
CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=ON \
|
||||
-DBUILD_DOCUMENTATION:BOOL=ON \
|
||||
-DBUILD_TESTING:BOOL=OFF \
|
||||
-DKWSYS_LFS_DISABLE:BOOL=ON \
|
||||
-DVTK_USE_PARALLEL:BOOL=ON \
|
||||
-DVTK_USE_SYSTEM_EXPAT:BOOL=ON \
|
||||
-DVTK_USE_SYSTEM_JPEG:BOOL=ON \
|
||||
@ -78,7 +78,7 @@ LIB_DEPENDS+= vtkMPEG2Encode.5:${PORTSDIR}/multimedia/vtkmpeg2encode
|
||||
PLIST_SUB+= MPEG=""
|
||||
CMAKE_ARGS+= -DVTK_USE_PATENTED:BOOL=ON \
|
||||
-DVTK_USE_MPEG2_ENCODER:BOOL=ON \
|
||||
-DvtkMPEG2Encode_INCLUDE_PATH=${LOCALBASE}/include/vtk-5.4 \
|
||||
-DvtkMPEG2Encode_INCLUDE_PATH=${LOCALBASE}/include/vtk-5.6 \
|
||||
-DvtkMPEG2Encode_LIBRARIES=${LOCALBASE}/lib/libvtkMPEG2Encode.so
|
||||
.else
|
||||
PLIST_SUB+= MPEG="@comment "
|
||||
@ -106,6 +106,7 @@ QT_COMPONENTS= corelib assistant assistantclient designer \
|
||||
qmake_build uic_build moc_build rcc_build
|
||||
CMAKE_ARGS+= -DVTK_USE_GUISUPPORT:BOOL=ON \
|
||||
-DVTK_USE_QVTK:BOOL=ON \
|
||||
-DVTK_USE_QT:BOOL=ON \
|
||||
-DDESIRED_QT_VERSION:STRING=4 \
|
||||
-DQT_QMAKE_EXECUTABLE:FILEPATH=${QMAKE} \
|
||||
-DVTK_INSTALL_QT_DIR:FILEPATH=/lib/qt4/plugins/designer
|
||||
@ -128,18 +129,26 @@ PLIST_SUB+= PYTHON="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_WRAP_TCLTK)
|
||||
USE_TCL= 84+
|
||||
USE_TK= 84+
|
||||
CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=ON \
|
||||
-DTCL_INCLUDE_PATH=${TCL_INCLUDEDIR} \
|
||||
-DTK_INCLUDE_PATH=${TK_INCLUDEDIR}
|
||||
PLIST_SUB+= TCLTK="" \
|
||||
TCLTK_VER="${TCL_VER}"
|
||||
CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=ON
|
||||
PLIST_SUB+= TCLTK=""
|
||||
.else
|
||||
CMAKE_ARGS+= -DVTK_WRAP_TCL:BOOL=OFF
|
||||
PLIST_SUB+= TCLTK="@comment "
|
||||
.endif
|
||||
|
||||
# Used by both tcl/tk and python
|
||||
.if defined(WITH_WRAP_TCLTK) || defined(WITH_WRAP_PYTHON)
|
||||
USE_TCL= 84+
|
||||
USE_TK= 84+
|
||||
CMAKE_ARGS+= -DVTK_USE_TK:BOOL=ON \
|
||||
-DTCL_INCLUDE_PATH=${TCL_INCLUDEDIR} \
|
||||
-DTK_INCLUDE_PATH=${TK_INCLUDEDIR}
|
||||
PLIST_SUB+= WRAP_PYTHON_OR_TCLTK="" \
|
||||
TCLTK_VER="${TCL_VER}"
|
||||
.else
|
||||
PLIST_SUB+= WRAP_PYTHON_OR_TCLTK="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_WRAP_JAVA)
|
||||
USE_JAVA= yes
|
||||
JAVA_VENDOR= freebsd
|
||||
@ -168,7 +177,7 @@ post-patch:
|
||||
${REINPLACE_CMD} -e '222s|)|) \&\& !defined(__FreeBSD__)|' \
|
||||
${WRKSRC}/Utilities/kwsys/SharedForward.h.in
|
||||
${REINPLACE_CMD} -e '25,30d' ${WRKSRC}/Wrapping/Python/setup.py.in
|
||||
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|' \
|
||||
${REINPLACE_CMD} -e 's|png_set_gray_1_2_4_to_8|png_set_expand_gray_1_2_4_to_8|g' \
|
||||
${WRKSRC}/IO/vtkPNGReader.cxx
|
||||
|
||||
post-configure:
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (vtk-5.4.2.tar.gz) = c2c797091d4b2128d9a1bd32c4b78227
|
||||
SHA256 (vtk-5.4.2.tar.gz) = 037c0582ee7483e0b495e45a00c4f08784691ef82c4ea159ef86731c3beda73d
|
||||
SIZE (vtk-5.4.2.tar.gz) = 18265310
|
||||
MD5 (vtk-5.6.0.tar.gz) = a56232baae6071f9f59f138d8f4620c2
|
||||
SHA256 (vtk-5.6.0.tar.gz) = 2987938ad906c5fd30ddbf60889f899d1dd8c61d80320c55ac1acadc00a95d3e
|
||||
SIZE (vtk-5.6.0.tar.gz) = 20709970
|
||||
|
@ -1,14 +0,0 @@
|
||||
--- GUISupport/Qt/CMakeLists.txt.orig 2010-04-07 11:49:06.000000000 +0000
|
||||
+++ GUISupport/Qt/CMakeLists.txt 2010-04-07 11:50:11.000000000 +0000
|
||||
@@ -186,7 +186,10 @@
|
||||
${QT_QTGUI_LIBRARY}
|
||||
)
|
||||
ENDIF(QT_QTGUI_LIBRARY)
|
||||
- INCLUDE_DIRECTORIES(${QT_QTDESIGNER_INCLUDE_DIR})
|
||||
+ INCLUDE_DIRECTORIES(BEFORE ${QT_QTDESIGNER_INCLUDE_DIR})
|
||||
+ INCLUDE_DIRECTORIES(BEFORE ${QT_QTGUI_INCLUDE_DIR})
|
||||
+ INCLUDE_DIRECTORIES(BEFORE ${QT_QTSQL_INCLUDE_DIR})
|
||||
+ INCLUDE_DIRECTORIES(BEFORE ${QT_QTCORE_INCLUDE_DIR})
|
||||
QT4_WRAP_CPP ( PluginMocSrcs ${PluginMocHeaders} )
|
||||
ELSE(DESIRED_QT_VERSION MATCHES 4)
|
||||
QT_WRAP_CPP ( QVTKWidgetPlugin PluginMocSrcs ${PluginMocHeaders} )
|
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= vtkmpeg2encode
|
||||
PORTVERSION= 5.4.2
|
||||
PORTVERSION= 5.6.0
|
||||
CATEGORIES= multimedia math
|
||||
MASTER_SITES= http://www.vtk.org/files/support/ \
|
||||
http://www.neuro.mcw.edu/Ports/distfiles/VTK5/
|
||||
@ -28,25 +28,25 @@ SUB_FILES= vtkmpeg2encode.3
|
||||
|
||||
MPEGLIB= libvtkMPEG2Encode
|
||||
|
||||
PLIST_DIRS= include/vtk-5.4
|
||||
PLIST_DIRS= include/vtk-5.6
|
||||
PLIST_FILES= lib/${MPEGLIB}.so.${PORTVERSION} \
|
||||
lib/${MPEGLIB}.so.5.4 \
|
||||
lib/${MPEGLIB}.so.5.6 \
|
||||
lib/${MPEGLIB}.so.5 \
|
||||
lib/${MPEGLIB}.so \
|
||||
include/vtk-5.4/mpeg2encDllConfig.h \
|
||||
include/vtk-5.4/mpeg2enc_global.h \
|
||||
include/vtk-5.4/mpeg2enc.h \
|
||||
include/vtk-5.4/mpeg2enc_config.h \
|
||||
include/vtk-5.4/vlc.h
|
||||
include/vtk-5.6/mpeg2encDllConfig.h \
|
||||
include/vtk-5.6/mpeg2enc_global.h \
|
||||
include/vtk-5.6/mpeg2enc.h \
|
||||
include/vtk-5.6/mpeg2enc_config.h \
|
||||
include/vtk-5.6/vlc.h
|
||||
|
||||
post-build:
|
||||
${MV} ${WRKSRC}/${MPEGLIB}.so ${WRKSRC}/${MPEGLIB}.so.${PORTVERSION}
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PREFIX}/include/vtk-5.4
|
||||
${MKDIR} ${PREFIX}/include/vtk-5.6
|
||||
${INSTALL_DATA} ${WRKSRC}/${MPEGLIB}.so.${PORTVERSION} ${PREFIX}/lib
|
||||
${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \
|
||||
${PREFIX}/lib/${MPEGLIB}.so.5.4
|
||||
${PREFIX}/lib/${MPEGLIB}.so.5.6
|
||||
${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \
|
||||
${PREFIX}/lib/${MPEGLIB}.so.5
|
||||
${LN} -s ${PREFIX}/lib/${MPEGLIB}.so.${PORTVERSION} \
|
||||
@ -56,7 +56,7 @@ do-install:
|
||||
${WRKSRC}/mpeg2enc.h \
|
||||
${WRKSRC}/mpeg2enc_config.h \
|
||||
${WRKSRC}/vlc.h \
|
||||
${PREFIX}/include/vtk-5.4
|
||||
${PREFIX}/include/vtk-5.6
|
||||
${INSTALL_MAN} ${WRKDIR}/vtkmpeg2encode.3 ${MANPREFIX}/man/man3
|
||||
|
||||
post-install:
|
||||
|
Loading…
Reference in New Issue
Block a user