svn commit: r559525 - in head/multimedia/shotcut: . files

Piotr Kubaj pkubaj at FreeBSD.org
Mon Dec 28 20:49:02 UTC 2020


Author: pkubaj
Date: Mon Dec 28 20:49:01 2020
New Revision: 559525
URL: https://svnweb.freebsd.org/changeset/ports/559525

Log:
  multimedia/shotcut: fix build on big-endian
  
  Also remove unnecessary post-patch:
  Warning: Possible REINPLACE_CMD issues:
  - - REINPLACE_CMD ran, but did not modify file contents: src/jobs/meltjob.cpp

Added:
  head/multimedia/shotcut/files/
  head/multimedia/shotcut/files/patch-src_spatialmedia_constants.h   (contents, props changed)
Modified:
  head/multimedia/shotcut/Makefile

Modified: head/multimedia/shotcut/Makefile
==============================================================================
--- head/multimedia/shotcut/Makefile	Mon Dec 28 20:36:02 2020	(r559524)
+++ head/multimedia/shotcut/Makefile	Mon Dec 28 20:49:01 2020	(r559525)
@@ -14,7 +14,7 @@ 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
 
@@ -45,9 +45,6 @@ FREI0R_RUN_DEPENDS=	frei0r-plugins>=0:graphics/frei0r-
 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

Added: head/multimedia/shotcut/files/patch-src_spatialmedia_constants.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/shotcut/files/patch-src_spatialmedia_constants.h	Mon Dec 28 20:49:01 2020	(r559525)
@@ -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 <endian.h>
++#elif defined(__FreeBSD__)
++#  include <sys/endian.h>
+ #endif
+ 
+ struct AudioMetadata {


More information about the svn-ports-head mailing list