2018-08-18 17:28:22 +02:00
|
|
|
PORTNAME= visp
|
2021-03-05 02:28:17 +01:00
|
|
|
DISTVERSION= 3.4.0
|
2018-08-18 17:28:22 +02:00
|
|
|
CATEGORIES= misc
|
2021-03-05 02:28:17 +01:00
|
|
|
MASTER_SITES= https://visp-doc.inria.fr/download/releases/
|
2018-08-18 17:28:22 +02:00
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Modular library for visual tracking and visual servoing
|
|
|
|
|
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
|
|
|
|
LIB_DEPENDS= libblas.so:math/blas \
|
2019-02-10 04:20:10 +01:00
|
|
|
libboost_system.so:devel/boost-libs \
|
2018-08-18 17:28:22 +02:00
|
|
|
libdmtx.so:graphics/libdmtx \
|
2019-02-10 04:20:10 +01:00
|
|
|
libflann.so:math/flann \
|
2018-08-18 17:28:22 +02:00
|
|
|
libgsl.so:math/gsl \
|
|
|
|
liblapack.so:math/lapack \
|
2020-02-17 19:35:00 +01:00
|
|
|
libopenblas.so:math/openblas \
|
graphics/opencv: update to 4.5.1 -- and make port more easily maintainable
This is a major upgrade from 3.x to 4.x.
Changelog from versions 3.4.1--4.5.1 can be found here:
https://github.com/opencv/opencv/wiki/ChangeLog
Note: this has explicitely not been added as a new graphics/opencv4 port, but replaces the
previous graphics/opencv[3] port. Again, to improve maintainability by not giving ports
the option to pick the "wrong one" - this leads however to some abandoned ports being
broken.
The port has been greatly simplified:
* graphics/opencv-core which existed to enable ffmpeg to depend on opencv, and vice versa
has been removed. ffmpeg no longer can depend on opencv.
* graphics/py-opencv has been integrated into graphics/opencv, the default versions python
bindings will be built unless the PYTHON option is explicitely turned off.
* graphics/opencv-java has been integrated into graphics/opencv -- it is off by default,
but can be enabled by toggling the JAVA option -- there are no consumers in the tree,
so that option might go away in the future.
* All the previous options have been removed and replaced by a (hopefully) sane set of
dependencies that make the port and package most usable for the majority of consumers.
- Please let me know if you think there are better defaults (i.e. anything that is missing,
or something that should not be dependet on).
- If you think something should be added or removed, please open a bug report.
- If you think something should be added as an optional dependency, please open a
bug report (with a good reason [tm]).
The depending ports have been updated to work against opencv4, or marked broken.
* Ports broken:
- graphics/rubygem-objectdetect: OpenCV4 no longer ships opencv-1.0 API
- graphics/p5-Image-ObjectDetect: OpenCV4 no longer ships opencv-1.0 API
- graphics/gimp-gmic-plugin: OpenCV4 no longer ships opencv-1.0 API
* Backports:
- misc/visp: https://github.com/lagadic/visp/commit/dfa7e4bd47c24cd2e631477e6afb18806733ff8a
- multimedia/zart: https://github.com/c-koi/zart/commit/6ca1964690afbbc78627d7c868a692401043a584,
https://github.com/c-koi/zart/commit/d3a2931b1a07ec0322211f253468000363c4b6cb
* Others:
- misc/actiona: switch to pkgconfig 'opencv4'
- multimedia/libav: drop opencv support
- misc/darknet: already failed to build prior to the upgrade
- math/saga: remove patching added to work against opencv3
2021-01-30 19:08:56 +01:00
|
|
|
libopencv_core.so:graphics/opencv \
|
2018-08-18 17:28:22 +02:00
|
|
|
libopencv_videoio.so:graphics/opencv \
|
2019-02-10 04:20:10 +01:00
|
|
|
libpcl_common.so:graphics/pcl-pointclouds \
|
2020-10-14 19:53:05 +02:00
|
|
|
libqhull.so:math/qhull \
|
2019-06-16 18:05:28 +02:00
|
|
|
libpng.so:graphics/png \
|
2018-08-18 17:28:22 +02:00
|
|
|
libv4l2.so:multimedia/libv4l
|
|
|
|
|
2021-03-05 02:28:17 +01:00
|
|
|
USES= cmake compiler:c++14-lang eigen:3 fortran gnome jpeg xorg zip
|
2018-08-18 17:28:22 +02:00
|
|
|
USE_GNOME= libxml2
|
|
|
|
USE_XORG= ice sm x11 xext
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2020-02-17 19:35:00 +01:00
|
|
|
CMAKE_OFF= WITH_QBDEVICE BUILD_EXAMPLES BUILD_TUTORIALS BUILD_TESTS BUILD_DEMOS
|
2018-08-18 17:28:22 +02:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= OGRE
|
|
|
|
|
|
|
|
OGRE_DESC= Include Ogre support
|
|
|
|
OGRE_CMAKE_BOOL= USE_OGRE
|
|
|
|
OGRE_LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
2019-04-27 01:39:31 +02:00
|
|
|
libOgreMain.so:graphics/ogre3d19
|
2018-08-18 17:28:22 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|