diff --git a/multimedia/shotcut/Makefile b/multimedia/shotcut/Makefile index 08ee2dc31931..df58d0670ac6 100644 --- a/multimedia/shotcut/Makefile +++ b/multimedia/shotcut/Makefile @@ -1,55 +1,52 @@ # $FreeBSD$ PORTNAME= shotcut DISTVERSIONPREFIX= v DISTVERSION= ${FULLVERSION} CATEGORIES= multimedia MAINTAINER= ports@FreeBSD.org COMMENT= Free, open source, cross-platform video editor LICENSE= GPLv3 LIB_DEPENDS= libmlt.so:multimedia/mlt RUN_DEPENDS= ffmpeg:multimedia/ffmpeg \ ${LOCALBASE}/lib/libjack.so:audio/jack -USES= desktop-file-utils gl pkgconfig \ +USES= compiler:c++11-lang desktop-file-utils gl pkgconfig \ qmake qt:5 sdl shared-mime-info \ xorg USE_GITHUB= yes GH_ACCOUNT= mltframework # Needed to be able to correctly check for updates in-app. FULLVERSION= 20.10.31 USE_GL+= gl USE_QT= buildtools_build concurrent_build core declarative \ graphicaleffects_run gui multimedia network opengl \ printsupport quickcontrols_run sql \ sql-sqlite3_run webkit websockets widgets x11extras xml \ linguisttools_build USE_SDL= sdl2 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 -post-patch: - @${REINPLACE_CMD} -e 's/"qmelt"/"melt"/' ${WRKSRC}/src/jobs/meltjob.cpp - pre-build: @${FIND} ${WRKSRC} -name '.depend' -delete .include diff --git a/multimedia/shotcut/files/patch-src_spatialmedia_constants.h b/multimedia/shotcut/files/patch-src_spatialmedia_constants.h new file mode 100644 index 000000000000..02a9dd0c6aeb --- /dev/null +++ b/multimedia/shotcut/files/patch-src_spatialmedia_constants.h @@ -0,0 +1,11 @@ +--- src/spatialmedia/constants.h.orig 2020-12-28 20:21:17 UTC ++++ src/spatialmedia/constants.h +@@ -36,6 +36,8 @@ + # define le64toh(x) qFromLittleEndian(x) + #elif !defined(__FreeBSD__) + # include ++#elif defined(__FreeBSD__) ++# include + #endif + + struct AudioMetadata {