1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/multimedia/webcamoid/Makefile
Yuri Victorovich 3963849d8d multimedia/webcamoid: Add missing runtime dependency x11-toolkits/qt5-quickcontrols
This has been committed once, in rev.456881, but it was later lost with some other commit.

PR:		224493
Reported by:	jbeich,  Aaron Farias <timido@ubuntu.com>
2019-09-10 06:50:03 +00:00

42 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= webcamoid
DISTVERSION= 8.6.1
PORTREVISION= 4
CATEGORIES= multimedia
MAINTAINER= yuri@FreeBSD.org
COMMENT= Full featured webcam suite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
LIB_DEPENDS= libasound.so:audio/alsa-lib \
libavcodec.so:multimedia/ffmpeg \
libjack.so:audio/jack \
libpulse.so:audio/pulseaudio \
libv4l2.so:multimedia/libv4l
USES= compiler:c++11-lang gl gnome pkgconfig qmake qt:5
USE_GITHUB= yes
USE_GNOME= glib20
USE_GSTREAMER1= yes
USE_GL= gl
USE_QT= concurrent core declarative gui multimedia network opengl quickcontrols2 svg widgets xml \
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} \
LIBDIR=${PREFIX}/lib \
MANDIR=${PREFIX}/man
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
# Workaround for Bug#224137: devel/qt5-qmake: Doesn't use the right compiler in case USE_GCC is selected
BINARY_ALIAS= g++=${CXX}
.endif
.include <bsd.port.post.mk>