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:dfa7e4bd47
- multimedia/zart:6ca1964690
,d3a2931b1a
* 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
69 lines
2 KiB
Makefile
69 lines
2 KiB
Makefile
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> et al.
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= shotwell
|
|
PORTVERSION= 0.30.11
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics gnome
|
|
MASTER_SITES= GNOME
|
|
|
|
MAINTAINER= cmt@FreeBSD.org
|
|
COMMENT= Open source photo manager for GNOME
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= vala>=0.20.1:lang/vala \
|
|
itstool:textproc/itstool
|
|
LIB_DEPENDS= libgio-2.0.so:devel/glib20 \
|
|
libjson-glib-1.0.so:devel/json-glib \
|
|
libgdata.so:devel/libgdata \
|
|
libgee-0.8.so:devel/libgee \
|
|
libsoup-2.4.so:devel/libsoup \
|
|
libexiv2.so:graphics/exiv2 \
|
|
libgdk_pixbuf-2.0.so:graphics/gdk-pixbuf2 \
|
|
libgexiv2.so:graphics/gexiv2 \
|
|
libexif.so:graphics/libexif \
|
|
libgphoto2.so:graphics/libgphoto2 \
|
|
libraw.so:graphics/libraw \
|
|
libgstreamer-1.0.so:multimedia/gstreamer1 \
|
|
libgstapp-1.0.so:multimedia/gstreamer1-plugins \
|
|
libgcr-ui-3.so:security/gcr \
|
|
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
|
|
libxml2.so:textproc/libxml2
|
|
|
|
USES= gettext desktop-file-utils gnome meson ninja pkgconfig \
|
|
python:3.4+,build shebangfix sqlite tar:xz xorg
|
|
USE_GNOME= cairo dconf gtk30
|
|
USE_GSTREAMER1= yes
|
|
USE_LDCONFIG= yes
|
|
USE_XORG= x11
|
|
|
|
SHEBANG_FILES= build-aux/meson/postinstall.py
|
|
python_OLD_CMD= "/usr/bin/env python3"
|
|
python_CMD= ${SETENV} ${PYTHON_VERSION}
|
|
|
|
MESON_ARGS= -Dudev=false -Dextra-plugins=true -Dinstall-apport-hook=false \
|
|
-Dpublishers=facebook,flickr,gallery3,picasa,piwigo,rajce,tumblr,yandex,youtube
|
|
INSTALLS_ICONS= yes
|
|
PORTSCOUT= limitw:1,even
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
OPTIONS_DEFINE= FACED OPENMP
|
|
OPTIONS_SUB= yes
|
|
|
|
FACED_DESC= Face Detection
|
|
OPENMP_DESC= libraw uses OpenMP (implies GCC)
|
|
|
|
FACED_CONFIGURE_ON= -Dface-detection=true
|
|
FACED_CONFIGURE_OFF= -Dface-detection=false
|
|
FACED_LIB_DEPENDS= libopencv_core.so:graphics/opencv \
|
|
libopencv_photo.so:graphics/opencv
|
|
OPENMP_USES= compiler:openmp
|
|
OPENMP_USES_OFF= compiler:c++11-lib
|
|
|
|
PLIST_SUB= DISTVERSION=${DISTVERSION}
|
|
|
|
GLIB_SCHEMAS= org.yorba.shotwell.gschema.xml org.yorba.shotwell-extras.gschema.xml
|
|
|
|
.include <bsd.port.mk>
|