freebsd-ports/graphics/frei0r-plugins/Makefile
Rainer Hurling d7739cd90e graphics/frei0r: Fix build failure with OpenCV4
After the update of OpenCV to v4.5.1 the build was broken. Some
important commits [1] after release v1.7.0 fixed the issues.

[1] https://github.com/dyne/frei0r/compare/v1.7.0...master

Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D28436
2021-01-31 15:42:26 +00:00

25 lines
589 B
Makefile

# $FreeBSD$
PKGNAMESUFFIX= -plugins
COMMENT= Frei0r meta-port
RUN_DEPENDS= ${LOCALBASE}/include/frei0r.h:graphics/frei0r
USES= metaport
MASTERDIR= ${.CURDIR}/../frei0r
PLIST= ${WRKDIR}/PLIST
BUILDING_FREI0R_METAPORT= yes
OPTIONS_DEFINE= GAVL OPENCV
OPTIONS_DEFAULT= GAVL OPENCV
GAVL_DESC= Install gavl plugins
GAVL_RUN_DEPENDS= ${LOCALBASE}/lib/frei0r-1/rgbparade.so:graphics/frei0r-plugins-gavl
OPENCV_DESC= Install OpenCV plugins
OPENCV_RUN_DEPENDS= ${LOCALBASE}/lib/frei0r-1/facedetect.so:graphics/frei0r-plugins-opencv
.include "${MASTERDIR}/Makefile"
.include <bsd.port.mk>