[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / multimedia / obs-studio

File: [cvs.NetBSD.org] / pkgsrc / multimedia / obs-studio / Makefile (download)

Revision 1.47, Wed Oct 26 10:31:44 2022 UTC (3 months, 1 week ago) by wiz
Branch: MAIN
Changes since 1.46: +2 -2 lines

*: bump PKGREVISION for libunistring shlib major bump

# $NetBSD: Makefile,v 1.47 2022/10/26 10:31:44 wiz Exp $

DISTNAME=	obs-studio-26.1.2
PKGREVISION=	19
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_GITHUB:=obsproject/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://obsproject.com/
COMMENT=	Video recording and live streaming software
LICENSE=	gnu-gpl-v2

USE_CMAKE=	yes
USE_TOOLS+=	pkg-config
USE_LANGUAGES=	c gnu++11

CMAKE_ARGS+=	-DDISABLE_LIBFDK=BOOL:ON
CMAKE_ARGS+=	-DOBS_VERSION_OVERRIDE="${PKGVERSION}"

TOOL_DEPENDS+=	swig3>=3.0:../../devel/swig3

# Python 3 only
PYTHON_VERSIONS_INCOMPATIBLE=	27

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "FreeBSD"
.  include "../../audio/alsa-lib/buildlink3.mk"
.endif
.include "../../audio/jack/buildlink3.mk"
.include "../../audio/pulseaudio/buildlink3.mk"
.include "../../audio/speexdsp/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
# v4l2 fails to compile on netbsd
.if ${OPSYS} != "NetBSD"
.  include "../../graphics/libv4l/buildlink3.mk"
.endif
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../lang/LuaJIT2/platform.mk"
PLIST_VARS+=	lua
.if !empty(PLATFORM_SUPPORTS_LUAJIT:M[Yy][Ee][Ss])
PLIST.lua=	yes
.  include "../../lang/LuaJIT2/buildlink3.mk"
.else
CMAKE_ARGS+=	-DDISABLE_LUA=ON
.endif
.include "../../lang/python/pyversion.mk"
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../multimedia/vlc/buildlink3.mk"
.include "../../multimedia/x264/buildlink3.mk"
.include "../../security/mbedtls/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../textproc/jansson/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libxcb/buildlink3.mk"
.include "../../x11/libXcomposite/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXfixes/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../x11/qt5-qtsvg/buildlink3.mk"
.include "../../x11/qt5-qtx11extras/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"