aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libopenshot/Makefile
blob: 4fcf1034602bc06b0bc93ebdfc54721f80ea78cb (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
# $FreeBSD$

PORTNAME=	libopenshot
DISTVERSIONPREFIX=	v
DISTVERSION=	0.2.3-178
PORTREVISION=	1
DISTVERSIONSUFFIX=	-g17a2258
CATEGORIES=	multimedia

MAINTAINER=	tatsuki_makino@hotmail.com
COMMENT=	OpenShot Video Library

LICENSE=	LGPL3+
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	swig3.0:devel/swig30 \
		unittest-cpp>=0:devel/unittest-cpp \
		${LOCALBASE}/include/zmq.hpp:net/cppzmq
LIB_DEPENDS=	libopenshot-audio.so:audio/libopenshot-audio \
		libjsoncpp.so:devel/jsoncpp \
		libomp.so:devel/openmp \
		libzmq.so:net/libzmq4

USES=		cmake compiler:c++11-lang pkgconfig python:3.5+ qt:5
USE_LDCONFIG=	yes
USE_GITHUB=	yes
GH_ACCOUNT=	OpenShot
USE_QT=		core gui network multimedia widgets qmake_build buildtools_build

CMAKE_ON=	USE_SYSTEM_JSONCPP \
		DISABLE_TESTS \
		CMAKE_DISABLE_FIND_PACKAGE_Doxygen \
		CMAKE_DISABLE_FIND_PACKAGE_ImageMagick \
		CMAKE_DISABLE_FIND_PACKAGE_RESVG \
		CMAKE_DISABLE_FIND_PACKAGE_Ruby
OPTIONS_DEFAULT=	FFMPEG
OPTIONS_SINGLE=	LIBAVCODEC
OPTIONS_SINGLE_LIBAVCODEC=	FFMPEG LIBAV
FFMPEG_LIB_DEPENDS=	libavformat.so:multimedia/ffmpeg
LIBAV_LIB_DEPENDS=	libavformat.so:multimedia/libav

.include <bsd.port.mk>