blob: 44f08aa8ea04b5933707653877b6f2577074d902 (
plain) (
blame)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# $FreeBSD$
PORTNAME= obs-studio
DISTVERSION= 24.0.6
CATEGORIES= multimedia
PATCH_SITES= https://github.com/obsproject/${PORTNAME}/commit/
PATCHFILES= 03ab7274959a8a19e3c0c91416290f15be7e6ccd.patch:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= Open source streaming/recording software
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_aarch64= Fails to compile: invalid conversion between vector type and integer type
BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat \
swig3.0:devel/swig30
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libcurl.so:ftp/curl \
libdbus-1.so:devel/dbus \
libfdk-aac.so:audio/fdk-aac \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libjack.so:audio/jack \
libjansson.so:devel/jansson \
libmbedtls.so:security/mbedtls \
libpulse.so:audio/pulseaudio \
libspeexdsp.so:audio/speexdsp \
libsysinfo.so:devel/libsysinfo \
libudev.so:devel/libudev-devd \
libv4l2.so:multimedia/libv4l \
libx264.so:multimedia/libx264 \
${LIB_DEPENDS_${ARCH}}
LIB_DEPENDS_amd64= libluajit-5.1.so:lang/luajit
LIB_DEPENDS_armv7= libluajit-5.1.so:lang/luajit
LIB_DEPENDS_i386= libluajit-5.1.so:lang/luajit
LIB_DEPENDS_powerpc= libluajit-5.1.so:lang/luajit
USES= cmake compiler:c++11-lib gl lua pkgconfig python:3.4+ qt:5 xorg
USE_GITHUB= yes
GH_ACCOUNT= obsproject
USE_QT= core gui svg widgets x11extras buildtools_build imageformats_run qmake_build
USE_GL= gl
USE_XORG= ice sm x11 xcb xcomposite xext xfixes xinerama xrandr
USE_LDCONFIG= yes
CMAKE_ARGS= -DUNIX_STRUCTURE:BOOL=ON \
-DOBS_VERSION_OVERRIDE:STRING="${PORTVERSION}"
CFLAGS+= -D_WITH_GETLINE
.include <bsd.port.pre.mk>
.if ${ARCH} != amd64 && ${ARCH} != armv7 && ${ARCH} != i386 && ${ARCH} != powerpc
PLIST_SUB+= LUAJIT="@comment "
.else
PLIST_SUB+= LUAJIT=""
.endif
post-patch:
@${REINPLACE_CMD} -e 's| 3.4)| ${PYTHON_VER})|' \
${WRKSRC}/cmake/Modules/FindPythonDeps.cmake
.include <bsd.port.post.mk>
|