Index: head/multimedia/vvdec/Makefile =================================================================== --- head/multimedia/vvdec/Makefile (revision 568361) +++ head/multimedia/vvdec/Makefile (revision 568362) @@ -1,25 +1,26 @@ # $FreeBSD$ PORTNAME= vvdec DISTVERSIONPREFIX= v -DISTVERSION= 0.1.2.0 +DISTVERSION= 1.0.0 CATEGORIES= multimedia python MAINTAINER= yuri@FreeBSD.org COMMENT= Versatile Video Coding (VVC) decoder LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= Uses explicit SSE instructions without any way to turn them off, can be removed once this bug is fixed: https://github.com/fraunhoferhhi/vvdec/issues/9; also is for 64-bit systems USES= cmake compiler:c++14-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= fraunhoferhhi CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_OFF= FREEBSD_VVDEC_ENABLE_X86_SIMD .include Index: head/multimedia/vvdec/distinfo =================================================================== --- head/multimedia/vvdec/distinfo (revision 568361) +++ head/multimedia/vvdec/distinfo (revision 568362) @@ -1,3 +1,3 @@ -TIMESTAMP = 1601999480 -SHA256 (fraunhoferhhi-vvdec-v0.1.2.0_GH0.tar.gz) = 0ad9cec58dbcfd890c42e84e57a2afeb194b387436801f4328a798ae32bc87e5 -SIZE (fraunhoferhhi-vvdec-v0.1.2.0_GH0.tar.gz) = 623142 +TIMESTAMP = 1615702041 +SHA256 (fraunhoferhhi-vvdec-v1.0.0_GH0.tar.gz) = 4935896a8fdfbf32b9fd05a1e1906c8868a11b72f3edc1316ca71fadcdfa225d +SIZE (fraunhoferhhi-vvdec-v1.0.0_GH0.tar.gz) = 611066 Index: head/multimedia/vvdec/files/patch-CMakeLists.txt =================================================================== --- head/multimedia/vvdec/files/patch-CMakeLists.txt (nonexistent) +++ head/multimedia/vvdec/files/patch-CMakeLists.txt (revision 568362) @@ -0,0 +1,20 @@ +--- CMakeLists.txt.orig 2021-03-12 15:55:41 UTC ++++ CMakeLists.txt +@@ -12,7 +12,7 @@ endif() + # project name + project( vvdec VERSION 1.0.0.0 ) + +-set( VVDEC_ENABLE_X86_SIMD TRUE ) ++set( VVDEC_ENABLE_X86_SIMD ${FREEBSD_VVDEC_ENABLE_X86_SIMD} ) + set( VVDEC_ENABLE_ARM_SIMD FALSE ) + + if( APPLE ) +@@ -37,7 +37,7 @@ endif() + # enable sse4.1 build for all source files for gcc and clang + if( VVDEC_ENABLE_X86_SIMD ) + if( UNIX OR MINGW ) +- add_compile_options( "-msse4.1" ) ++ add_compile_options( ${FREEBSD_SIMD_CFLAGS} ) + endif() + + set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTARGET_SIMD_X86" ) Property changes on: head/multimedia/vvdec/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/vvdec/files/patch-source_Lib_vvdec_CMakeLists.txt =================================================================== --- head/multimedia/vvdec/files/patch-source_Lib_vvdec_CMakeLists.txt (nonexistent) +++ head/multimedia/vvdec/files/patch-source_Lib_vvdec_CMakeLists.txt (revision 568362) @@ -0,0 +1,18 @@ +--- source/Lib/vvdec/CMakeLists.txt.orig 2021-03-12 15:55:41 UTC ++++ source/Lib/vvdec/CMakeLists.txt +@@ -79,10 +79,11 @@ if( VVDEC_ENABLE_X86_SIMD ) + set_property( SOURCE ${AVX_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "/arch:AVX" ) + set_property( SOURCE ${AVX2_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "/arch:AVX2" ) + elseif( UNIX OR MINGW ) +- set_property( SOURCE ${SSE41_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "-msse4.1" ) +- set_property( SOURCE ${SSE42_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "-msse4.2" ) +- set_property( SOURCE ${AVX_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "-mavx" ) +- set_property( SOURCE ${AVX2_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "-mavx2" ) ++ #set_property( SOURCE ${SSE41_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "-msse4.1" ) ++ #set_property( SOURCE ${SSE42_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "-msse4.2" ) ++ #set_property( SOURCE ${AVX_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "-mavx" ) ++ #set_property( SOURCE ${AVX2_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS "-mavx2" ) ++ set_property( SOURCE ${AVX2_SRC_FILES} APPEND PROPERTY COMPILE_FLAGS ${FREEBSD_SIMD_CFLAGS} ) + endif() + endif() + Property changes on: head/multimedia/vvdec/files/patch-source_Lib_vvdec_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/vvdec/pkg-plist =================================================================== --- head/multimedia/vvdec/pkg-plist (revision 568361) +++ head/multimedia/vvdec/pkg-plist (revision 568362) @@ -1,9 +1,11 @@ bin/vvdecapp +include/vvdec/sei.h include/vvdec/version.h include/vvdec/vvdec.h include/vvdec/vvdecDecl.h lib/cmake/vvdec/vvdecConfig.cmake lib/cmake/vvdec/vvdecConfigVersion.cmake lib/cmake/vvdec/vvdecTargets-shared-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/vvdec/vvdecTargets-shared.cmake lib/libvvdec.so +libdata/pkgconfig/libvvdec.pc