blob: 4177bd8c5f1e92612f272352f34e429619f91334 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= webcamoid
DISTVERSION= 8.8.0
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 xorg
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>
|