Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2019 15:59:29 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r511827 - in head/multimedia: ffmpeg gstreamer1-plugins-svt-hevc svt-hevc svt-hevc/files x265 x265/files
Message-ID:  <201909111559.x8BFxTlj054951@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Sep 11 15:59:29 2019
New Revision: 511827
URL: https://svnweb.freebsd.org/changeset/ports/511827

Log:
  multimedia/svt-hevc: update to 1.4.1
  
  Changes:	https://github.com/OpenVisualCloud/SVT-HEVC/releases/tag/v1.4.1
  Reported by:	GitHub (watch releases)

Added:
  head/multimedia/x265/files/patch-source_encoder_svt.h   (contents, props changed)
Modified:
  head/multimedia/ffmpeg/Makefile   (contents, props changed)
  head/multimedia/ffmpeg/distinfo   (contents, props changed)
  head/multimedia/gstreamer1-plugins-svt-hevc/Makefile   (contents, props changed)
  head/multimedia/gstreamer1-plugins-svt-hevc/distinfo   (contents, props changed)
  head/multimedia/svt-hevc/Makefile   (contents, props changed)
  head/multimedia/svt-hevc/distinfo   (contents, props changed)
  head/multimedia/svt-hevc/files/patch-Source_Lib_Codec_EbThreads.h   (contents, props changed)
  head/multimedia/svt-hevc/pkg-plist   (contents, props changed)
  head/multimedia/x265/Makefile   (contents, props changed)

Modified: head/multimedia/ffmpeg/Makefile
==============================================================================
--- head/multimedia/ffmpeg/Makefile	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/ffmpeg/Makefile	Wed Sep 11 15:59:29 2019	(r511827)
@@ -3,6 +3,7 @@
 
 PORTNAME=	ffmpeg
 PORTVERSION=	4.2.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio ipv6 net
 MASTER_SITES=	https://ffmpeg.org/releases/
@@ -451,7 +452,7 @@ SVTAV1_PREVENTS_MSG=	Only one SVT vendor patch can be 
 # svt-hevc
 SVTHEVC_LIB_DEPENDS=	libSvtHevcEnc.so:multimedia/svt-hevc
 SVTHEVC_CONFIGURE_ON=	--enable-libsvthevc
-SVTHEVC_PATCH_SITES=	https://github.com/Intel/SVT-HEVC/raw/v1.4.0/ffmpeg_plugin/:svthevc
+SVTHEVC_PATCH_SITES=	https://github.com/Intel/SVT-HEVC/raw/v1.4.1/ffmpeg_plugin/:svthevc
 SVTHEVC_PATCHFILES=	0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch:-p1:svthevc \
 			0002-doc-Add-libsvt_hevc-encoder-docs.patch:-p1:svthevc
 .if make(makesum)

Modified: head/multimedia/ffmpeg/distinfo
==============================================================================
--- head/multimedia/ffmpeg/distinfo	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/ffmpeg/distinfo	Wed Sep 11 15:59:29 2019	(r511827)
@@ -3,9 +3,9 @@ SHA256 (ffmpeg-4.2.1.tar.xz) = cec7c87e9b60d174509e263
 SIZE (ffmpeg-4.2.1.tar.xz) = 9090632
 SHA256 (0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch) = 4a46ec64650b3ae319021afbf969ec4e56653696089ff6cabc5c9c0e29d730e1
 SIZE (0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch) = 22632
-SHA256 (0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch) = d9bd8345ff994c26d5174759d460c723e92012139e29dd015fe83537e29a9554
-SIZE (0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch) = 20927
-SHA256 (0002-doc-Add-libsvt_hevc-encoder-docs.patch) = 295220f498680d893bec525321e657dc3cdb98080a7117d1f575cd0508996a0e
-SIZE (0002-doc-Add-libsvt_hevc-encoder-docs.patch) = 5273
+SHA256 (0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch) = d2db0acbdb0773f3883746cd25996905ff0a3f539d9b434fe314f883856ad883
+SIZE (0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch) = 21806
+SHA256 (0002-doc-Add-libsvt_hevc-encoder-docs.patch) = 1499e419dda72b1604dc5e3959668f3843292ff56bfba78734e31510ba576de0
+SIZE (0002-doc-Add-libsvt_hevc-encoder-docs.patch) = 5332
 SHA256 (0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch) = d2abcdcbcbff21e7ad8de574230622be993da19e9bddf0a690b1118cfd11c6c1
 SIZE (0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch) = 21580

Modified: head/multimedia/gstreamer1-plugins-svt-hevc/Makefile
==============================================================================
--- head/multimedia/gstreamer1-plugins-svt-hevc/Makefile	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/gstreamer1-plugins-svt-hevc/Makefile	Wed Sep 11 15:59:29 2019	(r511827)
@@ -2,7 +2,7 @@
 
 PORTNAME=	svt-hevc
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.0
+DISTVERSION=	1.4.1
 CATEGORIES=	multimedia
 PKGNAMEPREFIX=	gstreamer1-plugins-
 

Modified: head/multimedia/gstreamer1-plugins-svt-hevc/distinfo
==============================================================================
--- head/multimedia/gstreamer1-plugins-svt-hevc/distinfo	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/gstreamer1-plugins-svt-hevc/distinfo	Wed Sep 11 15:59:29 2019	(r511827)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565309873
-SHA256 (OpenVisualCloud-SVT-HEVC-v1.4.0_GH0.tar.gz) = 7bb2ed0d6a46dbb6478127762b12f3d21a7901fd68876ce61f91360c5c52798e
-SIZE (OpenVisualCloud-SVT-HEVC-v1.4.0_GH0.tar.gz) = 1225319
+TIMESTAMP = 1567986865
+SHA256 (OpenVisualCloud-SVT-HEVC-v1.4.1_GH0.tar.gz) = e8337d6dd5b8633e17c60cfdbce20cf2fa5d598f3d2057c73ea2bb386abfbb4c
+SIZE (OpenVisualCloud-SVT-HEVC-v1.4.1_GH0.tar.gz) = 1221618

Modified: head/multimedia/svt-hevc/Makefile
==============================================================================
--- head/multimedia/svt-hevc/Makefile	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/svt-hevc/Makefile	Wed Sep 11 15:59:29 2019	(r511827)
@@ -2,7 +2,7 @@
 
 PORTNAME=	svt-hevc
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.0
+DISTVERSION=	1.4.1
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -26,6 +26,7 @@ GH_ACCOUNT=	OpenVisualCloud
 GH_PROJECT=	SVT-HEVC
 CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	NATIVE
+CFLAGS+=	-D__STDC_WANT_LIB_EXT1__=0
 
 post-patch:
 # Keep using nasm and drop vendor -O/-g

Modified: head/multimedia/svt-hevc/distinfo
==============================================================================
--- head/multimedia/svt-hevc/distinfo	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/svt-hevc/distinfo	Wed Sep 11 15:59:29 2019	(r511827)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1565309873
-SHA256 (OpenVisualCloud-SVT-HEVC-v1.4.0_GH0.tar.gz) = 7bb2ed0d6a46dbb6478127762b12f3d21a7901fd68876ce61f91360c5c52798e
-SIZE (OpenVisualCloud-SVT-HEVC-v1.4.0_GH0.tar.gz) = 1225319
+TIMESTAMP = 1567986865
+SHA256 (OpenVisualCloud-SVT-HEVC-v1.4.1_GH0.tar.gz) = e8337d6dd5b8633e17c60cfdbce20cf2fa5d598f3d2057c73ea2bb386abfbb4c
+SIZE (OpenVisualCloud-SVT-HEVC-v1.4.1_GH0.tar.gz) = 1221618

Modified: head/multimedia/svt-hevc/files/patch-Source_Lib_Codec_EbThreads.h
==============================================================================
--- head/multimedia/svt-hevc/files/patch-Source_Lib_Codec_EbThreads.h	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/svt-hevc/files/patch-Source_Lib_Codec_EbThreads.h	Wed Sep 11 15:59:29 2019	(r511827)
@@ -5,12 +5,12 @@ Source/Lib/Codec/EbThreads.h:100:11: error: unknown ty
 extern    cpu_set_t                   groupAffinity;
           ^
 
---- Source/Lib/Codec/EbThreads.h.orig	2019-02-14 00:36:54 UTC
+--- Source/Lib/Codec/EbThreads.h.orig	2019-09-08 23:54:25 UTC
 +++ Source/Lib/Codec/EbThreads.h
-@@ -95,7 +95,14 @@ extern    EB_BOOL                  alternateGroups;
- #else
+@@ -97,8 +97,15 @@ extern    EB_BOOL                  alternateGroups;
  #define __USE_GNU
  #define _GNU_SOURCE
+ #endif
 +#ifdef __FreeBSD__
 +#define cpu_set_t cpuset_t
 +#else
@@ -22,3 +22,4 @@ extern    cpu_set_t                   groupAffinity;
 +#endif
  extern    cpu_set_t                   groupAffinity;
  #define EB_CREATETHREAD(type, pointer, nElements, pointerClass, threadFunction, threadContext) \
+     pointer = EbCreateThread(threadFunction, threadContext); \

Modified: head/multimedia/svt-hevc/pkg-plist
==============================================================================
--- head/multimedia/svt-hevc/pkg-plist	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/svt-hevc/pkg-plist	Wed Sep 11 15:59:29 2019	(r511827)
@@ -1,7 +1,7 @@
 bin/SvtHevcEncApp
 include/svt-hevc/EbApi.h
+include/svt-hevc/EbApiVersion.h
 include/svt-hevc/EbErrorCodes.h
-include/svt-hevc/EbTime.h
 lib/libSvtHevcEnc.so
 lib/libSvtHevcEnc.so.1
 libdata/pkgconfig/SvtHevcEnc.pc

Modified: head/multimedia/x265/Makefile
==============================================================================
--- head/multimedia/x265/Makefile	Wed Sep 11 15:43:29 2019	(r511826)
+++ head/multimedia/x265/Makefile	Wed Sep 11 15:59:29 2019	(r511827)
@@ -3,7 +3,7 @@
 
 PORTNAME=	x265
 PORTVERSION=	3.1.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	https://bitbucket.org/multicoreware/x265/downloads/ \
 		https://downloads.videolan.org/pub/videolan/x265/ \

Added: head/multimedia/x265/files/patch-source_encoder_svt.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/x265/files/patch-source_encoder_svt.h	Wed Sep 11 15:59:29 2019	(r511827)
@@ -0,0 +1,25 @@
+https://bitbucket.org/multicoreware/x265/issues/509/x265-fails-to-build-with-current-svt-hevc
+
+In file included from source/encoder/analysis.cpp:35:
+In file included from source/encoder/encoder.h:34:
+source/encoder/svt.h:32:10: fatal error: 'EbTime.h' file not found
+#include "EbTime.h"
+         ^~~~~~~~~~
+
+--- source/encoder/svt.h.orig	2019-07-31 04:59:54 UTC
++++ source/encoder/svt.h
+@@ -29,7 +29,6 @@
+ 
+ #include "EbApi.h"
+ #include "EbErrorCodes.h"
+-#include "EbTime.h"
+ 
+ namespace X265_NS {
+ 
+@@ -49,4 +48,4 @@ int svt_initialise_input_buffer(x265_encoder *enc);
+ 
+ #endif // ifdef SVT_HEVC
+ 
+-#endif // ifndef SVT_H
+\ No newline at end of file
++#endif // ifndef SVT_H



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909111559.x8BFxTlj054951>