2016-12-29 16:20:17 +01:00
|
|
|
PORTNAME= shotcut
|
2017-02-28 09:33:44 +01:00
|
|
|
DISTVERSIONPREFIX= v
|
2018-12-11 23:30:12 +01:00
|
|
|
DISTVERSION= ${FULLVERSION}
|
2021-08-02 17:57:43 +02:00
|
|
|
PORTREVISION= 3
|
2016-12-29 16:20:17 +01:00
|
|
|
CATEGORIES= multimedia
|
|
|
|
|
2021-07-07 06:43:00 +02:00
|
|
|
MAINTAINER= vishwin@FreeBSD.org
|
2016-12-29 16:20:17 +01:00
|
|
|
COMMENT= Free, open source, cross-platform video editor
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
|
|
|
RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \
|
2020-07-03 03:14:51 +02:00
|
|
|
${LOCALBASE}/lib/libjack.so:audio/jack
|
2016-12-29 16:20:17 +01:00
|
|
|
|
2021-10-19 13:14:38 +02:00
|
|
|
USES= compiler:c++11-lang cpe desktop-file-utils gl mlt:6 pkgconfig \
|
2019-09-18 18:28:00 +02:00
|
|
|
qmake qt:5 sdl shared-mime-info \
|
|
|
|
xorg
|
2021-10-19 13:14:38 +02:00
|
|
|
CPE_VENDOR= meltytech
|
2019-06-22 17:51:34 +02:00
|
|
|
|
2016-12-29 16:20:17 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= mltframework
|
2019-06-22 17:51:34 +02:00
|
|
|
|
2016-12-29 16:20:17 +01:00
|
|
|
# Needed to be able to correctly check for updates in-app.
|
2021-03-23 09:24:57 +01:00
|
|
|
FULLVERSION= 21.03.21
|
2016-12-29 16:20:17 +01:00
|
|
|
|
2019-06-22 17:51:34 +02:00
|
|
|
USE_GL+= gl
|
2018-11-04 20:00:53 +01:00
|
|
|
USE_QT= buildtools_build concurrent_build core declarative \
|
2016-12-29 16:20:17 +01:00
|
|
|
graphicaleffects_run gui multimedia network opengl \
|
2021-03-03 12:00:00 +01:00
|
|
|
printsupport quickcontrols2 sql \
|
2020-05-07 11:32:37 +02:00
|
|
|
sql-sqlite3_run webkit websockets widgets x11extras xml \
|
|
|
|
linguisttools_build
|
2018-12-11 23:30:12 +01:00
|
|
|
USE_SDL= sdl2
|
2016-12-29 16:20:17 +01:00
|
|
|
USE_XORG= x11
|
|
|
|
QMAKE_ARGS= ${PORTNAME:tu}_VERSION="${FULLVERSION}"
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= FREI0R LADSPA NLS WEBVFX
|
|
|
|
OPTIONS_DEFAULT=FREI0R LADSPA WEBVFX
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
|
|
|
WEBVFX_DESC= HTML/QML-based video effects support
|
|
|
|
|
|
|
|
FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins
|
|
|
|
|
|
|
|
LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins
|
|
|
|
|
|
|
|
WEBVFX_RUN_DEPENDS= ${LOCALBASE}/lib/mlt/libmltwebvfx.so:multimedia/webvfx-qt5
|
|
|
|
|
2016-12-31 15:28:37 +01:00
|
|
|
pre-build:
|
|
|
|
@${FIND} ${WRKSRC} -name '.depend' -delete
|
|
|
|
|
2016-12-29 16:20:17 +01:00
|
|
|
.include <bsd.port.mk>
|