5 DISTVERSION= ${FULLVERSION}
8 MAINTAINER= ports@FreeBSD.org
9 COMMENT= Free, open source, cross-platform video editor
13 LIB_DEPENDS= libmlt.so:multimedia/mlt
14 RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \
15 ${LOCALBASE}/lib/libjack.so:audio/jack
17 USES= desktop-file-utils gl pkgconfig \
18 qmake qt:5 sdl shared-mime-info \
22 GH_ACCOUNT= mltframework
24 # Needed to be able to correctly check for updates in-app.
28 USE_QT= buildtools_build concurrent_build core declarative \
29 graphicaleffects_run gui multimedia network opengl \
30 printsupport quickcontrols_run sql \
31 sql-sqlite3_run webkit websockets widgets x11extras xml \
35 QMAKE_ARGS= ${PORTNAME:tu}_VERSION="${FULLVERSION}"
37 OPTIONS_DEFINE= FREI0R LADSPA NLS WEBVFX
38 OPTIONS_DEFAULT=FREI0R LADSPA WEBVFX
41 WEBVFX_DESC= HTML/QML-based video effects support
43 FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins
45 LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins
47 WEBVFX_RUN_DEPENDS= ${LOCALBASE}/lib/mlt/libmltwebvfx.so:multimedia/webvfx-qt5
50 @${REINPLACE_CMD} -e 's/"qmelt"/"melt"/' ${WRKSRC}/src/jobs/meltjob.cpp
53 @${FIND} ${WRKSRC} -name '.depend' -delete
55 .include <bsd.port.mk>