Tweak multimedia/shotcut version 21.03.21_3
[dports.git] / multimedia / shotcut / Makefile
1 PORTNAME=       shotcut
2 DISTVERSIONPREFIX=      v
3 DISTVERSION=    ${FULLVERSION}
4 PORTREVISION=   3
5 CATEGORIES=     multimedia
6
7 MAINTAINER=     vishwin@FreeBSD.org
8 COMMENT=        Free, open source, cross-platform video editor
9
10 LICENSE=        GPLv3
11
12 RUN_DEPENDS=    ffmpeg:multimedia/ffmpeg \
13                 ${LOCALBASE}/lib/libjack.so:audio/jack
14
15 USES=           compiler:c++11-lang cpe desktop-file-utils gl mlt:6 pkgconfig \
16                 qmake qt:5 sdl shared-mime-info \
17                 xorg
18 CPE_VENDOR=     meltytech
19
20 USE_GITHUB=     yes
21 GH_ACCOUNT=     mltframework
22
23 # Needed to be able to correctly check for updates in-app.
24 FULLVERSION=    21.03.21
25
26 USE_GL+=        gl
27 USE_QT=         buildtools_build concurrent_build core declarative \
28                 graphicaleffects_run gui multimedia network opengl \
29                 printsupport quickcontrols2 sql \
30                 sql-sqlite3_run webkit websockets widgets x11extras xml \
31                 linguisttools_build
32 USE_SDL=        sdl2
33 USE_XORG=       x11
34 QMAKE_ARGS=     ${PORTNAME:tu}_VERSION="${FULLVERSION}"
35
36 OPTIONS_DEFINE= FREI0R LADSPA NLS WEBVFX
37 OPTIONS_DEFAULT=FREI0R LADSPA WEBVFX
38 OPTIONS_SUB=    yes
39
40 WEBVFX_DESC=    HTML/QML-based video effects support
41
42 FREI0R_RUN_DEPENDS=     frei0r-plugins>=0:graphics/frei0r-plugins
43
44 LADSPA_RUN_DEPENDS=     swhplugins>=0:audio/swhplugins
45
46 WEBVFX_RUN_DEPENDS=     ${LOCALBASE}/lib/mlt/libmltwebvfx.so:multimedia/webvfx-qt5
47
48 pre-build:
49         @${FIND} ${WRKSRC} -name '.depend' -delete
50
51 .include <bsd.port.mk>