Changeset View
Changeset View
Standalone View
Standalone View
multimedia/shotcut/Makefile
PORTNAME= shotcut | PORTNAME= shotcut | ||||
DISTVERSIONPREFIX= v | |||||
DISTVERSION= ${FULLVERSION} | DISTVERSION= ${FULLVERSION} | ||||
PORTREVISION= 3 | |||||
CATEGORIES= multimedia | CATEGORIES= multimedia | ||||
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/ | |||||
DISTNAME= ${PORTNAME}-src-${DISTVERSION:C/\.//g} | |||||
MAINTAINER= vishwin@FreeBSD.org | MAINTAINER= vishwin@FreeBSD.org | ||||
COMMENT= Free, open source, cross-platform video editor | COMMENT= Free, open source, cross-platform video editor | ||||
LICENSE= GPLv3 | LICENSE= GPLv3 | ||||
RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ | RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ | ||||
${LOCALBASE}/lib/libjack.so:audio/jack | ${LOCALBASE}/lib/libjack.so:audio/jack | ||||
USES= compiler:c++11-lang cpe desktop-file-utils gl mlt:6 pkgconfig \ | USES= compiler:c++11-lang cpe desktop-file-utils gl mlt:7 pkgconfig \ | ||||
qmake qt:5 sdl shared-mime-info \ | qmake:outsource qt:5 sdl shared-mime-info tar:txz xorg | ||||
xorg | |||||
CPE_VENDOR= meltytech | CPE_VENDOR= meltytech | ||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= mltframework | GH_ACCOUNT= mltframework | ||||
# Needed to be able to correctly check for updates in-app. | USE_GL= gl | ||||
FULLVERSION= 21.03.21 | |||||
USE_GL+= gl | |||||
USE_QT= buildtools_build concurrent_build core declarative \ | USE_QT= buildtools_build concurrent_build core declarative \ | ||||
graphicaleffects_run gui multimedia network opengl \ | graphicaleffects_run gui linguisttools_build multimedia \ | ||||
tcberner: ^as you're already touching this, could you sort it like
```
USE_QT= <build and run depends> \… | |||||
printsupport quickcontrols2 sql \ | network opengl printsupport quickcontrols quickcontrols2 \ | ||||
sql-sqlite3_run webkit websockets widgets x11extras xml \ | sql websockets widgets xml | ||||
linguisttools_build | |||||
USE_SDL= sdl2 | USE_SDL= sdl2 | ||||
USE_XORG= x11 | USE_XORG= x11 | ||||
QMAKE_ARGS= ${PORTNAME:tu}_VERSION="${FULLVERSION}" | QMAKE_ARGS= ${PORTNAME:tu}_VERSION="${FULLVERSION}" | ||||
Not Done Inline Actions^ öh, do we allow in-app updates? -- wouldn't it make more sense to simply disable that functionallity if possible? tcberner: ^ öh, do we allow in-app updates? -- wouldn't it make more sense to simply disable that… | |||||
Done Inline ActionsNot able to be disabled, this is hardcoded into mainwindow.cpp vishwin: Not able to be disabled, this is hardcoded into `mainwindow.cpp` | |||||
OPTIONS_DEFINE= FREI0R LADSPA NLS WEBVFX | WRKSRC= ${WRKDIR}/src | ||||
OPTIONS_DEFAULT=FREI0R LADSPA WEBVFX | WRKSRC_SUBDIR= ${PORTNAME} | ||||
OPTIONS_DEFINE= FREI0R LADSPA NLS | |||||
OPTIONS_DEFAULT=FREI0R LADSPA | |||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
Not Done Inline Actions^ more a general idea to think about... not everyone is a native english speaker, and some prefer to have their applications in the native language. So shouldn't NLS be on by default? tcberner: ^ more a general idea to think about... not everyone is a native english speaker, and some… | |||||
Done Inline ActionsNLS is a default in the framework globally I'm pretty sure vishwin: NLS is a default in the framework globally I'm pretty sure | |||||
WEBVFX_DESC= HTML/QML-based video effects support | |||||
FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins | FREI0R_RUN_DEPENDS= frei0r-plugins>=0:graphics/frei0r-plugins | ||||
LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins | LADSPA_RUN_DEPENDS= swhplugins>=0:audio/swhplugins | ||||
WEBVFX_RUN_DEPENDS= ${LOCALBASE}/lib/mlt/libmltwebvfx.so:multimedia/webvfx-qt5 | # Needed to be able to correctly check for updates in-app. | ||||
FULLVERSION= 22.01.30 | |||||
Not Done Inline Actions^ in app updates are supported? tcberner: ^ in app updates are supported? | |||||
Done Inline ActionsThe main UI flashes a "check for a new version of Shotcut" when one exists, so kind of vishwin: The main UI flashes a "check for a new version of Shotcut" when one exists, so kind of | |||||
pre-build: | |||||
@${FIND} ${WRKSRC} -name '.depend' -delete | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
^as you're already touching this, could you sort it like