1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

multimedia/svt-av1: update to 0.5.0.457

Changes:	5fd69642...cc2ee452
This commit is contained in:
Jan Beich 2019-06-20 08:47:51 +00:00
parent 7b03f0554d
commit e680fd9dac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504623
3 changed files with 9 additions and 22 deletions

View File

@ -2,8 +2,8 @@
PORTNAME= svt-av1
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.0-370
DISTVERSIONSUFFIX= -g5fd69642
DISTVERSION= 0.5.0-457
DISTVERSIONSUFFIX= -gcc2ee452
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org
@ -26,25 +26,14 @@ USE_LDCONFIG= yes
GH_ACCOUNT= OpenVisualCloud
GH_PROJECT= SVT-AV1
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_OFF= NATIVE
post-patch:
# Default CFLAGS are already set by USES=cmake
@${REINPLACE_CMD} -i .flags -E -e 's/ -mavx//' \
-e 's/CMAKE_C_FLAGS "/&$${CMAKE_C_FLAGS} /' \
-e '/C_FLAGS_(RELEASE|DEBUG)/d' \
-e '/NASM_FLAGS_DEBUG/d' \
# Keep using nasm and drop vendor -O/-g
@${REINPLACE_CMD} -e '/find_program.*yasm/d' \
-Ee '/set.*(release|debug)_flags_to_test/,/\)/d' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -i .flags -e 's/-march=core-avx2/-mavx2/' \
${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/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
@${GREP} --exclude='*/third_party/*' -Flr '__linux' ${WRKSRC} | ${XARGS} \
${REINPLACE_CMD} -i .opsys -E 's/__linux(__)?/__${OPSYS}__/'

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1560470330
SHA256 (OpenVisualCloud-SVT-AV1-v0.5.0-370-g5fd69642_GH0.tar.gz) = 527f00c3d04cf8a989dabd1c04e7d494173679a09241bd52fa607c07b00e495b
SIZE (OpenVisualCloud-SVT-AV1-v0.5.0-370-g5fd69642_GH0.tar.gz) = 2585844
TIMESTAMP = 1560989925
SHA256 (OpenVisualCloud-SVT-AV1-v0.5.0-457-gcc2ee452_GH0.tar.gz) = 8e387f463cf80cf5c4e264f5826d419c56074e4f8652e4c2a1fbad4dcf3aaa3e
SIZE (OpenVisualCloud-SVT-AV1-v0.5.0-457-gcc2ee452_GH0.tar.gz) = 2584386

View File

@ -6,9 +6,7 @@ include/svt-av1/EbSvtAv1Enc.h
include/svt-av1/EbSvtAv1ErrorCodes.h
include/svt-av1/EbSvtAv1ExtFrameBuf.h
include/svt-av1/EbSvtAv1Formats.h
lib/libSvtAv1Dec.a
lib/libSvtAv1Dec.so
lib/libSvtAv1Enc.a
lib/libSvtAv1Enc.so
libdata/pkgconfig/SvtAv1Dec.pc
libdata/pkgconfig/SvtAv1Enc.pc