aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/opencv
diff options
context:
space:
mode:
authortcberner <tcberner@FreeBSD.org>2019-03-16 23:59:24 +0800
committertcberner <tcberner@FreeBSD.org>2019-03-16 23:59:24 +0800
commit56d91f460f33fcf177cc8e00a00077181c2cbb8a (patch)
treeba4730a35a6277ce5446ae17bbaef19b758ac18f /graphics/opencv
parent5ca5be971c0073bcb2078bfeb716bac1da7dae99 (diff)
downloadfreebsd-ports-gnome-56d91f460f33fcf177cc8e00a00077181c2cbb8a.tar.gz
freebsd-ports-gnome-56d91f460f33fcf177cc8e00a00077181c2cbb8a.tar.zst
freebsd-ports-gnome-56d91f460f33fcf177cc8e00a00077181c2cbb8a.zip
graphics/opencv: remove QT4 option (Qt4 deprecation)
Approved by: portmgr (implicit)
Diffstat (limited to 'graphics/opencv')
-rw-r--r--graphics/opencv/Makefile27
1 files changed, 4 insertions, 23 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile
index be99c93053de..bebdf95a4f13 100644
--- a/graphics/opencv/Makefile
+++ b/graphics/opencv/Makefile
@@ -3,7 +3,7 @@
PORTNAME= opencv
PORTVERSION= 3.4.1
-PORTREVISION= 14
+PORTREVISION= 15
CATEGORIES= graphics
MAINTAINER= ports@FreeBSD.org
@@ -154,13 +154,11 @@ OCV_MODS= apps calib3d contrib dnn features2d flann highgui \
OCV_JAVA_MODS= java
OCV_PYTHON_MODS= python${PYTHON_MAJOR_VER}
-OPTIONS_DEFINE= EXAMPLES EXTRA_MODULES OPENGL
+OPTIONS_DEFINE= EXAMPLES EXTRA_MODULES OPENGL GTK2
OPTIONS_GROUP= PERFORMANCE IMAGE VIDEO
OPTIONS_GROUP_PERFORMANCE= EIGEN3 OPENCL TBB
OPTIONS_GROUP_IMAGE= GDAL GDCM JASPER JPEG OPENEXR PNG TIFF WEBP
OPTIONS_GROUP_VIDEO= ARAVIS DC1394 FFMPEG GPHOTO2 GSTREAMER V4L XINE
-OPTIONS_RADIO= GUI
-OPTIONS_RADIO_GUI= GTK2 QT4
# EXTRA_MODULES required for libopencv_dnn which is required by py-opencv
OPTIONS_DEFAULT= EIGEN3 EXTRA_MODULES FFMPEG JASPER JPEG PNG TIFF WEBP V4L \
${MACHINE_CPU:tu}
@@ -168,7 +166,7 @@ OPTIONS_SUB= yes
.if defined(OCV_CORE)
OPTIONS_EXCLUDE= ARAVIS DC1394 EXAMPLES EXTRA_MODULES FFMPEG \
GDAL GDCM GPHOTO2 GSTREAMER GTK2 JASPER JPEG \
- OPENEXR OPENGL PNG QT4 TIFF WEBP V4L XINE
+ OPENEXR OPENGL PNG TIFF WEBP V4L XINE
.elif defined(OCV_SLAVE)
OPTIONS_EXCLUDE= EXAMPLES
.endif
@@ -266,10 +264,9 @@ EXTRA_MODULES_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-modules_dnn__modern_CMakeL
${FILESDIR}/extra-patch-modules_sfm_src__libmv__light_libmv_numeric_numeric.h \
${FILESDIR}/extra-patch-modules_stereo_src_descriptor.cpp
-OPENGL_DESC= OpenGL (require QT or GTK2)
+OPENGL_DESC= OpenGL (requires GTK2)
OPENGL_CMAKE_BOOL= WITH_OPENGL
OPENGL_LIB_DEPENDS= ${PORT_OPTIONS:MGTK2:C,.+,libgtkglext-x11-1.0.so:x11-toolkits/gtkglext,}
-OPENGL_USE= ${PORT_OPTIONS:MQT4:S,$,=opengl,}
# GUI
@@ -281,15 +278,6 @@ GTK2_LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig \
liblept.so:graphics/leptonica
-QT4_USES= qt:4
-QT4_USE= QT=corelib,gui,moc_build,qmake_build,rcc_build,uic_build,qtestlib
-QT4_CMAKE_ON= -DWITH_QT:STRING="4"
-QT4_CMAKE_OFF= -DWITH_QT:BOOL=OFF
-QT4_LIB_DEPENDS= libfreetype.so:print/freetype2 \
- libharfbuzz.so:print/harfbuzz \
- libsz.so:science/szip \
- liblept.so:graphics/leptonica
-
.if defined(OCV_CORE)
. for module in ${OCV_MODS} ${OCV_JAVA_MODS} ${OCV_PYTHON_MODS}
CMAKE_ARGS+= -DBUILD_opencv_${module}:BOOL=OFF
@@ -329,13 +317,6 @@ CMAKE_ARGS+= -DBUILD_opencv_${module}:BOOL=OFF
CMAKE_ARGS+= -DBUILD_JAVA:BOOL=OFF
.endif
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MQT4}
-DEPRECATED= Qt4 has been EOL since december 2015
-EXPIRATION_DATE= 2019-03-15
-.endif
-
post-extract-EXTRA_MODULES-on:
@${MV} ${WRKSRC_extra_mod}/doc/tutorials/* ${WRKSRC}/doc/tutorials/
@${MV} ${WRKSRC_extra_mod}/modules/* ${WRKSRC}/modules/