summaryrefslogtreecommitdiff
path: root/multimedia/obs-v4l2sink/Makefile
blob: 31780cb09ced8a281d89a85ec57b50b3bb8cc3c9 (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

PORTNAME=	obs-v4l2sink
DISTVERSION=	0.1.0-12
DISTVERSIONSUFFIX=	-g1ec3c8a
CATEGORIES=	multimedia

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	OBS Studio Plugin: Output as Video4Linux2 device

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_powerpc64=	fails to compile: unconditionally includes obs/sse-intrin.h

BUILD_DEPENDS=	v4l_compat>0:multimedia/v4l_compat
LIB_DEPENDS=	libobs.so:multimedia/obs-studio

USES=		cmake compiler:c++11-lang qt:5
USE_GITHUB=	yes
GH_ACCOUNT=	CatxFish
USE_QT=		core gui widgets buildtools_build qmake_build

CMAKE_ARGS=	-DLIBOBS_INCLUDE_DIR=${LOCALBASE}/include/obs

PLIST_FILES=	lib/obs-plugins/v4l2sink.so \
		share/obs/obs-plugins/v4l2sink/locale/de-DE.ini \
		share/obs/obs-plugins/v4l2sink/locale/en-US.ini \
		share/obs/obs-plugins/v4l2sink/locale/zh-TW.ini

.include <bsd.port.mk>