multimedia/svt-av1: update to s20180228

Changes:	32e2f1c...a6c1f81
This commit is contained in:
Jan Beich 2019-03-02 00:49:57 +00:00
parent a946517563
commit 740f817305
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=494352
4 changed files with 37 additions and 6 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= ffmpeg
PORTVERSION= 4.1.1
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= https://ffmpeg.org/releases/

View file

@ -1,9 +1,12 @@
# $FreeBSD$
PORTNAME= svt-av1
PORTVERSION= s20180226
PORTVERSION= s20180228
CATEGORIES= multimedia
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= c0775cca46e2.patch:-p1 c04aa81ff487.patch:-p1
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Scalable AV1 encoder
@ -23,7 +26,7 @@ USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= OpenVisualCloud
GH_PROJECT= SVT-AV1
GH_TAGNAME= 32e2f1c
GH_TAGNAME= a6c1f81
CMAKE_OFF= BUILD_TESTING # no useful tests yet
post-patch:

View file

@ -1,3 +1,7 @@
TIMESTAMP = 1551309459
SHA256 (OpenVisualCloud-SVT-AV1-s20180226-32e2f1c_GH0.tar.gz) = 45492c9c3b24ba289ce3d9d7f804fd530c533a01c9062eb26d49a841eabfb097
SIZE (OpenVisualCloud-SVT-AV1-s20180226-32e2f1c_GH0.tar.gz) = 2112017
TIMESTAMP = 1551393690
SHA256 (OpenVisualCloud-SVT-AV1-s20180228-a6c1f81_GH0.tar.gz) = d0e4338d8dca391fb1295adf57f1e89c7a5eebd2100307ba0dc4387e7cc510e8
SIZE (OpenVisualCloud-SVT-AV1-s20180228-a6c1f81_GH0.tar.gz) = 2113280
SHA256 (c0775cca46e2.patch) = c17f7ce7ce4d3a0582a932b67a768230f8f9e7bbf65cd19f1b5d9c127101eba0
SIZE (c0775cca46e2.patch) = 1587
SHA256 (c04aa81ff487.patch) = 9244f6f32987af4932f1f269c206849d6d8d80b2cc2cbc18356548cf79f09741
SIZE (c04aa81ff487.patch) = 3716

View file

@ -0,0 +1,24 @@
In file included from Source/Lib/Codec/EbEncDecProcess.c:9:
In file included from Source/Lib/Codec/EbTransforms.h:14:
In file included from Source/Lib/Codec/EbSequenceControlSet.h:10:
Source/Lib/Codec/EbThreads.h:100:11: error: unknown type name 'cpu_set_t'
extern cpu_set_t groupAffinity;
^
--- Source/Lib/Codec/EbThreads.h.orig 2019-02-14 00:36:54 UTC
+++ Source/Lib/Codec/EbThreads.h
@@ -95,7 +95,14 @@ extern EB_BOOL alternateGroups;
#else
#define __USE_GNU
#define _GNU_SOURCE
+#ifdef __FreeBSD__
+#define cpu_set_t cpuset_t
+#else
#include <sched.h>
+#endif
#include <pthread.h>
+#if defined(__DragonFly__) || defined(__FreeBSD__)
+#include <pthread_np.h>
+#endif
extern cpu_set_t groupAffinity;
#define EB_CREATETHREAD(type, pointer, nElements, pointerClass, threadFunction, threadContext) \