Verified Commit a7d72f20 authored by Charlie Li's avatar Charlie Li
Browse files

multimedia/shotcut: update to 22.06.23

Summary:
Release notes: https://www.shotcut.org/blog/

Now uses multimedia/mlt7, cmake and more

While here, remove multimedia/webvfx-qt5, as it was abandoned
upstream and only developed with and for shotcut

Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D34618
parent 50696256
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17519,3 +17519,4 @@ sysutils/mgeupsd||2022-07-27|Has expired: Last release is 23 years old. It is no
x11-wm/lxmed||2022-07-27|Removed, depends on expired sysutils/gksu
sysutils/gksu||2022-07-27|Has expired: Abandonware, depending on gconf2
sysutils/libgksu||2022-07-27|Has expired: Abandonware, depending on gconf2
multimedia/webvfx-qt5||2022-07-29|Abandoned upstream, multimedia/shotcut no longer supports/uses
+0 −1
Original line number Diff line number Diff line
@@ -418,7 +418,6 @@
    SUBDIR += w_scan2
    SUBDIR += webcamd
    SUBDIR += webcamoid
    SUBDIR += webvfx-qt5
    SUBDIR += wf-recorder
    SUBDIR += win32-codecs
    SUBDIR += winff
+16 −26
Original line number Diff line number Diff line
PORTNAME=	shotcut
DISTVERSIONPREFIX=	v
DISTVERSION=	${FULLVERSION}
PORTREVISION=	3
DISTVERSION=	22.06.23
CATEGORIES=	multimedia
MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${PORTNAME}/releases/download/v${DISTVERSION}/
DISTNAME=	${PORTNAME}-src-${DISTVERSION:C/\.//g}

MAINTAINER=	vishwin@FreeBSD.org
COMMENT=	Free, open source, cross-platform video editor

LICENSE=	GPLv3

LIB_DEPENDS=	libfftw3.so:math/fftw3
RUN_DEPENDS=	ffmpeg:multimedia/ffmpeg \
		${LOCALBASE}/lib/libjack.so:audio/jack

USES=		compiler:c++11-lang cpe desktop-file-utils gl mlt:6 pkgconfig \
		qmake qt:5 sdl shared-mime-info \
		xorg
USES=		cmake compiler:c++11-lang cpe desktop-file-utils gl mlt:7 pkgconfig \
		qmake:no_env qt:5 sdl shared-mime-info tar:txz xorg
CPE_VENDOR=	meltytech

USE_GITHUB=	yes
GH_ACCOUNT=	mltframework

# Needed to be able to correctly check for updates in-app.
FULLVERSION=	21.03.21

USE_GL+=	gl
USE_QT=		buildtools_build concurrent_build core declarative \
		graphicaleffects_run gui multimedia network opengl \
		printsupport quickcontrols2 sql \
		sql-sqlite3_run webkit websockets widgets x11extras xml \
		linguisttools_build
USE_GL=	gl
USE_QT=		core declarative gui multimedia network opengl quickcontrols2 sql \
		websockets widgets xml buildtools_build concurrent_build linguisttools_build
USE_SDL=	sdl2
USE_XORG=	x11
QMAKE_ARGS=	${PORTNAME:tu}_VERSION="${FULLVERSION}"
# Needed to be able to correctly check for updates in-app.
CMAKE_ARGS=	-D${PORTNAME:tu}_VERSION="${DISTVERSION}"

OPTIONS_DEFINE=	FREI0R LADSPA NLS WEBVFX
OPTIONS_DEFAULT=FREI0R LADSPA WEBVFX
OPTIONS_SUB=	yes
WRKSRC=	${WRKDIR}/src
WRKSRC_SUBDIR=	${PORTNAME}

WEBVFX_DESC=	HTML/QML-based video effects support
OPTIONS_DEFINE=	FREI0R LADSPA NLS
OPTIONS_DEFAULT=FREI0R LADSPA
OPTIONS_SUB=	yes

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

pre-build:
	@${FIND} ${WRKSRC} -name '.depend' -delete

.include <bsd.port.mk>
+3 −3
Original line number Diff line number Diff line
TIMESTAMP = 1616401712
SHA256 (mltframework-shotcut-v21.03.21_GH0.tar.gz) = be668454896c540746a3d27c42c858d7652399722c7ec073c7cd3e52d7578ccd
SIZE (mltframework-shotcut-v21.03.21_GH0.tar.gz) = 4101401
TIMESTAMP = 1658981972
SHA256 (shotcut-src-220623.txz) = 5f91089ba99ab61b4c41168d8bba4e5abd7d136961973c5289cd2e7de29f210e
SIZE (shotcut-src-220623.txz) = 60135892
+45 −1
Original line number Diff line number Diff line
bin/shotcut
lib/libCuteLogger.so
share/applications/org.shotcut.Shotcut.desktop
share/icons/hicolor/128x128/apps/org.shotcut.Shotcut.png
share/icons/hicolor/64x64/apps/org.shotcut.Shotcut.png
share/man/man1/shotcut.1.gz
share/metainfo/org.shotcut.Shotcut.metainfo.xml
share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/export-chapters/export-chapters.js
%%DATADIR%%/qml/export-chapters/main.js
%%DATADIR%%/qml/export-chapters/mlt2chapters.js
%%DATADIR%%/qml/export-chapters/package.json
%%DATADIR%%/qml/export-chapters/rebuild.sh
%%DATADIR%%/qml/export-chapters/test-node.js
%%DATADIR%%/qml/export-edl/export-edl.js
%%DATADIR%%/qml/export-edl/main.js
%%DATADIR%%/qml/export-edl/mlt2edl.js
@@ -27,6 +34,12 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/audio_compressor/ui.qml
%%DATADIR%%/qml/filters/audio_delay/meta.qml
%%DATADIR%%/qml/filters/audio_delay/ui.qml
%%DATADIR%%/qml/filters/audio_eq15band/meta.qml
%%DATADIR%%/qml/filters/audio_eq15band/ui.qml
%%DATADIR%%/qml/filters/audio_eq3band/meta.qml
%%DATADIR%%/qml/filters/audio_eq3band/ui.qml
%%DATADIR%%/qml/filters/audio_eqparametric/meta.qml
%%DATADIR%%/qml/filters/audio_eqparametric/ui.qml
%%DATADIR%%/qml/filters/audio_expander/meta.qml
%%DATADIR%%/qml/filters/audio_expander/ui.qml
%%DATADIR%%/qml/filters/audio_fadein/meta.qml
@@ -59,13 +72,21 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/audio_pitch/ui.qml
%%DATADIR%%/qml/filters/audio_reverb/meta.qml
%%DATADIR%%/qml/filters/audio_reverb/ui.qml
%%DATADIR%%/qml/filters/audio_stereoenhance/meta.qml
%%DATADIR%%/qml/filters/audio_stereoenhance/ui.qml
%%DATADIR%%/qml/filters/audio_swapchannels/meta.qml
%%DATADIR%%/qml/filters/audio_swapchannels/ui.qml
%%DATADIR%%/qml/filters/audiolevelgraph/meta.qml
%%DATADIR%%/qml/filters/audiolevelgraph/ui.qml
%%DATADIR%%/qml/filters/audiolevelgraph/vui.qml
%%DATADIR%%/qml/filters/bigsh0t_eq_mask/meta.qml
%%DATADIR%%/qml/filters/bigsh0t_eq_mask/ui.qml
%%DATADIR%%/qml/filters/bigsh0t_eq_to_rect/meta.qml
%%DATADIR%%/qml/filters/bigsh0t_eq_to_rect/ui.qml
%%DATADIR%%/qml/filters/bigsh0t_eq_to_rect/vui.qml
%%DATADIR%%/qml/filters/bigsh0t_eq_to_stereo/meta.qml
%%DATADIR%%/qml/filters/bigsh0t_eq_to_stereo/ui.qml
%%DATADIR%%/qml/filters/bigsh0t_eq_to_stereo/vui.qml
%%DATADIR%%/qml/filters/bigsh0t_hemi_to_eq/meta.qml
%%DATADIR%%/qml/filters/bigsh0t_hemi_to_eq/ui.qml
%%DATADIR%%/qml/filters/bigsh0t_rect_to_eq/meta.qml
@@ -79,14 +100,18 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/blend_mode/ui.qml
%%DATADIR%%/qml/filters/bluescreen0r/meta.qml
%%DATADIR%%/qml/filters/bluescreen0r/ui.qml
%%DATADIR%%/qml/filters/blur/meta_box_blur.qml
%%DATADIR%%/qml/filters/blur/meta_boxblur.qml
%%DATADIR%%/qml/filters/blur/meta_movit.qml
%%DATADIR%%/qml/filters/blur/ui_box_blur.qml
%%DATADIR%%/qml/filters/blur/ui_boxblur.qml
%%DATADIR%%/qml/filters/blur/ui_movit.qml
%%DATADIR%%/qml/filters/blur_exponential/meta.qml
%%DATADIR%%/qml/filters/blur_exponential/ui.qml
%%DATADIR%%/qml/filters/blur_gaussian/meta_av.qml
%%DATADIR%%/qml/filters/blur_gaussian/meta.qml
%%DATADIR%%/qml/filters/blur_gaussian/ui.qml
%%DATADIR%%/qml/filters/blur_gaussian/ui_av.qml
%%DATADIR%%/qml/filters/blur_gaussian/ui_frei0r.qml
%%DATADIR%%/qml/filters/blur_lowpass/meta.qml
%%DATADIR%%/qml/filters/blur_lowpass/ui.qml
%%DATADIR%%/qml/filters/brightness/meta.qml
@@ -118,6 +143,8 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/crop_rectangle/vui.qml
%%DATADIR%%/qml/filters/dance/meta_dance.qml
%%DATADIR%%/qml/filters/dance/ui_dance.qml
%%DATADIR%%/qml/filters/deband/meta.qml
%%DATADIR%%/qml/filters/deband/ui.qml
%%DATADIR%%/qml/filters/distort/meta.qml
%%DATADIR%%/qml/filters/distort/ui.qml
%%DATADIR%%/qml/filters/dither/meta.qml
@@ -147,6 +174,9 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/glow/meta_movit.qml
%%DATADIR%%/qml/filters/glow/ui_frei0r.qml
%%DATADIR%%/qml/filters/glow/ui_movit.qml
%%DATADIR%%/qml/filters/gpstext/meta.qml
%%DATADIR%%/qml/filters/gpstext/ui.qml
%%DATADIR%%/qml/filters/gpstext/vui.qml
%%DATADIR%%/qml/filters/gradient/meta.qml
%%DATADIR%%/qml/filters/gradient/ui.qml
%%DATADIR%%/qml/filters/gradient/vui.qml
@@ -181,6 +211,10 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/mask_alphaspot/ui.qml
%%DATADIR%%/qml/filters/mask_apply/meta.qml
%%DATADIR%%/qml/filters/mask_apply/ui.qml
%%DATADIR%%/qml/filters/mask_chromakey/meta.qml
%%DATADIR%%/qml/filters/mask_chromakey/ui.qml
%%DATADIR%%/qml/filters/mask_glaxnimate/meta.qml
%%DATADIR%%/qml/filters/mask_glaxnimate/ui.qml
%%DATADIR%%/qml/filters/mask_shape/meta.qml
%%DATADIR%%/qml/filters/mask_shape/ui.qml
%%DATADIR%%/qml/filters/mirror/meta.qml
@@ -208,6 +242,8 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/pillar_echo/vui.qml
%%DATADIR%%/qml/filters/posterize/meta.qml
%%DATADIR%%/qml/filters/posterize/ui.qml
%%DATADIR%%/qml/filters/reflect/meta.qml
%%DATADIR%%/qml/filters/reflect/ui.qml
%%DATADIR%%/qml/filters/rgbsplit0r/meta.qml
%%DATADIR%%/qml/filters/rgbsplit0r/ui.qml
%%DATADIR%%/qml/filters/richtext/meta.qml
@@ -254,6 +290,8 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/tcolor/ui.qml
%%DATADIR%%/qml/filters/threshold/meta.qml
%%DATADIR%%/qml/filters/threshold/ui.qml
%%DATADIR%%/qml/filters/time_remap/meta.qml
%%DATADIR%%/qml/filters/time_remap/ui.qml
%%DATADIR%%/qml/filters/timer/ClockSpinner.qml
%%DATADIR%%/qml/filters/timer/meta.qml
%%DATADIR%%/qml/filters/timer/ui.qml
@@ -278,15 +316,19 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/filters/white/meta_frei0r.qml
%%DATADIR%%/qml/filters/white/meta_movit.qml
%%DATADIR%%/qml/filters/white/ui.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/AutoSizeMenu.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/Button.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/ColorPicker.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/ComboBox.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/DoubleSpinBox.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/EditMenu.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/Gauge.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/GradientControl.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/HoverTip.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/KeyframableFilter.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/KeyframesButton.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/Marker.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/MarkerBar.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/Preset.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/RectangleControl.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/SaveDefaultButton.qml
@@ -295,6 +337,7 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%DATADIR%%/qml/modules/Shotcut/Controls/TextFilterUi.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/TextFilterVui.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/TimeSpinner.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/TipBox.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/ToggleButton.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/ToolButton.qml
%%DATADIR%%/qml/modules/Shotcut/Controls/UndoButton.qml
@@ -352,6 +395,7 @@ share/mime/packages/org.shotcut.Shotcut.xml
%%NLS%%%%DATADIR%%/translations/shotcut_pl.qm
%%NLS%%%%DATADIR%%/translations/shotcut_pt_BR.qm
%%NLS%%%%DATADIR%%/translations/shotcut_pt_PT.qm
%%NLS%%%%DATADIR%%/translations/shotcut_ro.qm
%%NLS%%%%DATADIR%%/translations/shotcut_ru.qm
%%NLS%%%%DATADIR%%/translations/shotcut_sk.qm
%%NLS%%%%DATADIR%%/translations/shotcut_sl.qm
Loading