2017-12-03 18:55:33 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= webcamoid
|
|
|
|
DISTVERSION= 8.1.0
|
2018-05-02 17:07:27 +02:00
|
|
|
PORTREVISION= 4
|
2017-12-03 18:55:33 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Full featured webcam suite
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
|
|
|
libavcodec.so:multimedia/ffmpeg \
|
|
|
|
libjack.so:audio/jack \
|
|
|
|
libpulse.so:audio/pulseaudio \
|
|
|
|
libv4l2.so:multimedia/libv4l
|
|
|
|
|
2018-06-28 19:39:53 +02:00
|
|
|
USES= pkgconfig qmake qt:5
|
2017-12-03 18:55:33 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
USE_GNOME= glib20
|
|
|
|
USE_GSTREAMER1= yes
|
|
|
|
USE_GL= gl
|
2018-06-28 19:39:53 +02:00
|
|
|
USE_QT= concurrent core gui multimedia network opengl qml quick svg widgets buildtools_build quickcontrols_run
|
2017-12-03 18:55:33 +01:00
|
|
|
|
|
|
|
MAKE_ENV= NOOSS=1 # NOOSS is because the OSS module attempts to use kevent on OSS devices, which is broken in the base
|
|
|
|
QMAKE_ARGS= INSTALLQMLDIR=${QT_QMLDIR} \
|
|
|
|
MANDIR=${PREFIX}/man
|
|
|
|
|
2017-12-18 23:24:12 +01:00
|
|
|
# Workaround for the crash when built with clang that the upstream author says is a bug in clang
|
2018-05-31 14:51:46 +02:00
|
|
|
USE_GCC= yes
|
2017-12-18 23:24:12 +01:00
|
|
|
|
|
|
|
# Workaround for Bug#224137: devel/qt5-qmake: Doesn't use the right compiler in case USE_GCC is selected
|
|
|
|
BINARY_ALIAS= g++=${CXX}
|
|
|
|
|
2017-12-03 18:55:33 +01:00
|
|
|
.include <bsd.port.mk>
|