freebsd-ports/multimedia/webcamoid/Makefile
Tobias C. Berner b1a1d38bf9 Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
	USES=		qt:4
	USE_QT=		foo bar
ports depending on Qt5 will use
	USES=		qt:5
	USE_QT=		foo bar

PR:		229225
Exp-run by:	antoine
Reviewed by:	mat
Approved by:	portmgr (antoine)
Differential Revision:	→https://reviews.freebsd.org/D15540
2018-06-28 17:39:53 +00:00

37 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= webcamoid
DISTVERSION= 8.1.0
PORTREVISION= 4
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
USES= pkgconfig qmake qt:5
USE_GITHUB= yes
USE_GNOME= glib20
USE_GSTREAMER1= yes
USE_GL= gl
USE_QT= concurrent core gui multimedia network opengl qml quick svg widgets buildtools_build quickcontrols_run
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
# Workaround for the crash when built with clang that the upstream author says is a bug in clang
USE_GCC= yes
# Workaround for Bug#224137: devel/qt5-qmake: Doesn't use the right compiler in case USE_GCC is selected
BINARY_ALIAS= g++=${CXX}
.include <bsd.port.mk>