aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2019-03-21 08:47:27 +0800
committerjbeich <jbeich@FreeBSD.org>2019-03-21 08:47:27 +0800
commit1b70ff905dc5b514e64f1511630bffc8d87d14bb (patch)
treec75dcf8ef006cb86173fca990ed6a298090aaf76 /multimedia
parent981dd9be9c0b6e3f1b33ade398f11acb64041251 (diff)
downloadfreebsd-ports-gnome-1b70ff905dc5b514e64f1511630bffc8d87d14bb.tar.gz
freebsd-ports-gnome-1b70ff905dc5b514e64f1511630bffc8d87d14bb.tar.zst
freebsd-ports-gnome-1b70ff905dc5b514e64f1511630bffc8d87d14bb.zip
multimedia/svt-av1: update to s20180319
Changes: https://github.com/OpenVisualCloud/SVT-AV1/compare/39aad81...47af208
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/svt-av1/Makefile12
-rw-r--r--multimedia/svt-av1/distinfo6
-rw-r--r--multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h4
-rw-r--r--multimedia/svt-av1/pkg-plist3
4 files changed, 14 insertions, 11 deletions
diff --git a/multimedia/svt-av1/Makefile b/multimedia/svt-av1/Makefile
index 7d9eb731d9ad..bb95ffe6d720 100644
--- a/multimedia/svt-av1/Makefile
+++ b/multimedia/svt-av1/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= svt-av1
-PORTVERSION= s20180315
+PORTVERSION= s20180319
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
@@ -23,7 +23,7 @@ USE_GITHUB= yes
USE_LDCONFIG= yes
GH_ACCOUNT= OpenVisualCloud
GH_PROJECT= SVT-AV1
-GH_TAGNAME= 39aad81
+GH_TAGNAME= 97eff0c
CMAKE_OFF= BUILD_TESTING # no useful tests yet
post-patch:
@@ -34,20 +34,20 @@ post-patch:
-e '/NASM_FLAGS_DEBUG/d' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -i .flags -e 's/-march=core-avx2/-mavx2/' \
- ${WRKSRC}/Source/Lib/ASM_AVX2/CMakeLists.txt \
+ ${WRKSRC}/Source/Lib/Common/ASM_AVX2/CMakeLists.txt \
# Avoid lang/gcc* dependency
@${REINPLACE_CMD} -i .gcc -e 's/gcc-//' \
-e '/CMAKE_C/{ s/STREQUAL/MATCHES/; s/"GNU/&|Clang/; }' \
${WRKSRC}/CMakeLists.txt \
- ${WRKSRC}/Source/Lib/*/CMakeLists.txt
+ ${WRKSRC}/Source/Lib/Common/*/CMakeLists.txt
# Avoid platform whitelists for generic non-Windows code
@${REINPLACE_CMD} -i .opsys 's/Linux/${OPSYS}/' \
${WRKSRC}/CMakeLists.txt \
- ${WRKSRC}/Source/Lib/*/CMakeLists.txt
+ ${WRKSRC}/Source/Lib/*/*/CMakeLists.txt
@${GREP} --exclude='*/third_party/*' -Flr '__linux' ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -i .opsys -E 's/__linux(__)?/__${OPSYS}__/'
# Avoid -msse4.1 for (unused) function not under Source/Lib/ASM_SSE4_1/
@${REINPLACE_CMD} -e '/_sse4_1/,/}/d; /smmintrin\.h/d' \
- ${WRKSRC}/Source/Lib/Codec/EbInterPrediction.c
+ ${WRKSRC}/Source/Lib/Common/Codec/EbInterPrediction.c
.include <bsd.port.mk>
diff --git a/multimedia/svt-av1/distinfo b/multimedia/svt-av1/distinfo
index f82cf3e2ec34..e1b803497745 100644
--- a/multimedia/svt-av1/distinfo
+++ b/multimedia/svt-av1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552697376
-SHA256 (OpenVisualCloud-SVT-AV1-s20180315-39aad81_GH0.tar.gz) = c916fdc6087280c4e71640dc9954e0160fe8ae1f97b5f80256bf11e2e3583ff4
-SIZE (OpenVisualCloud-SVT-AV1-s20180315-39aad81_GH0.tar.gz) = 2125119
+TIMESTAMP = 1553062221
+SHA256 (OpenVisualCloud-SVT-AV1-s20180319-97eff0c_GH0.tar.gz) = 25d7e0e0076d19d1caa713f1d9a43122791856eef59e5e3cedc1b6f715f1cdac
+SIZE (OpenVisualCloud-SVT-AV1-s20180319-97eff0c_GH0.tar.gz) = 2190691
diff --git a/multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h b/multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h
index 1bedb7ea1781..65a23e7b17c7 100644
--- a/multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h
+++ b/multimedia/svt-av1/files/patch-Source_Lib_Codec_EbThreads.h
@@ -5,8 +5,8 @@ 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
+--- Source/Lib/Common/Codec/EbThreads.h.orig 2019-02-14 00:36:54 UTC
++++ Source/Lib/Common/Codec/EbThreads.h
@@ -95,7 +95,14 @@ extern EB_BOOL alternateGroups;
#else
#define __USE_GNU
diff --git a/multimedia/svt-av1/pkg-plist b/multimedia/svt-av1/pkg-plist
index 99a5631028d5..84ac8a8c2905 100644
--- a/multimedia/svt-av1/pkg-plist
+++ b/multimedia/svt-av1/pkg-plist
@@ -1,3 +1,4 @@
+bin/SvtAv1DecApp
bin/SvtAv1EncApp
bin/SvtAv1EncSimpleApp
include/svt-av1/EbSvtAv1.h
@@ -7,5 +8,7 @@ include/svt-av1/EbSvtAv1ErrorCodes.h
include/svt-av1/EbSvtAv1ExtFrameBuf.h
include/svt-av1/EbSvtAv1Formats.h
include/svt-av1/EbSvtAv1Time.h
+lib/libSvtAv1Dec.so
lib/libSvtAv1Enc.so
+libdata/pkgconfig/SvtAv1Dec.pc
libdata/pkgconfig/SvtAv1Enc.pc