diff --git a/multimedia/vid.stab/Makefile b/multimedia/vid.stab/Makefile index e8c57824d64b..48bda65b5111 100644 --- a/multimedia/vid.stab/Makefile +++ b/multimedia/vid.stab/Makefile @@ -1,22 +1,22 @@ PORTNAME= vid.stab DISTVERSIONPREFIX= v -DISTVERSION= 1.1.1 +DISTVERSION= 1.1.2 CATEGORIES= multimedia MAINTAINER= jhale@FreeBSD.org COMMENT= Video stabilization library -WWW= http://public.hronopik.de/vid.stab/ +WWW= https://github.com/georgmartius/vid.stab +# Future releases will be LGPL2.1+ (https://github.com/georgmartius/vid.stab/blob/master/RELICENSE.md) LICENSE= GPLv2+ -USES= cmake pathfix -PATHFIX_CMAKELISTSTXT= create_pkgconfig_file.cmake +USES= cmake USE_GITHUB= yes GH_ACCOUNT= georgmartius USE_LDCONFIG= yes CMAKE_ARGS= -DCPUINFO:STRING="${MACHINE_CPU}" PORTSCOUT= skipv:before_complex_transforms .include diff --git a/multimedia/vid.stab/distinfo b/multimedia/vid.stab/distinfo index 82dc4dbaf22b..c2d0b393a8ac 100644 --- a/multimedia/vid.stab/distinfo +++ b/multimedia/vid.stab/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1730363156 -SHA256 (georgmartius-vid.stab-v1.1.1_GH0.tar.gz) = 9001b6df73933555e56deac19a0f225aae152abbc0e97dc70034814a1943f3d4 -SIZE (georgmartius-vid.stab-v1.1.1_GH0.tar.gz) = 80717 +TIMESTAMP = 1786164332 +SHA256 (georgmartius-vid.stab-v1.1.2_GH0.tar.gz) = 96db34d48a9e3aa13736a48744b56dfb76731ac9bb5193c716de8534c9fd709d +SIZE (georgmartius-vid.stab-v1.1.2_GH0.tar.gz) = 131556 diff --git a/multimedia/vid.stab/files/patch-CMakeModules_FindSSE.cmake b/multimedia/vid.stab/files/patch-CMakeModules_FindSSE.cmake index d9dcbea59a93..a13c521d00fd 100644 --- a/multimedia/vid.stab/files/patch-CMakeModules_FindSSE.cmake +++ b/multimedia/vid.stab/files/patch-CMakeModules_FindSSE.cmake @@ -1,39 +1,39 @@ ---- CMakeModules/FindSSE.cmake.orig 2022-05-30 15:49:01 UTC +--- CMakeModules/FindSSE.cmake.orig 2026-01-04 14:53:14 UTC +++ CMakeModules/FindSSE.cmake -@@ -1,10 +1,32 @@ include(CheckCCompilerFlag) - # Check if SSE instructions are available by the compiler and target platform (be aware of cross compilation) - include(CheckCCompilerFlag) +@@ -11,10 +11,32 @@ else() --check_c_compiler_flag(-msse2 HAVE_SSE2) --check_c_compiler_flag(-msse3 HAVE_SSE3) --check_c_compiler_flag(-mssse3 HAVE_SSSE3) --check_c_compiler_flag(-msse4.1 HAVE_SSE4_1) -+if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") -+ string(REGEX MATCH "sse2" FREEBSD_SSE2 ${CPUINFO}) -+ if(FREEBSD_SSE2) -+ check_c_compiler_flag(-msse2 HAVE_SSE2) -+ endif() + else() + # GNU/Clang-like flow +- check_c_compiler_flag(-msse2 HAVE_SSE2) +- check_c_compiler_flag(-msse3 HAVE_SSE3) +- check_c_compiler_flag(-mssse3 HAVE_SSSE3) +- check_c_compiler_flag(-msse4.1 HAVE_SSE4_1) ++ if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") ++ string(REGEX MATCH "sse2" FREEBSD_SSE2 ${CPUINFO}) ++ if(FREEBSD_SSE2) ++ check_c_compiler_flag(-msse2 HAVE_SSE2) ++ endif() + -+ string(REGEX MATCH "(^|[^s])sse3" FREEBSD_SSE3 ${CPUINFO}) -+ if(FREEBSD_SSE3) -+ check_c_compiler_flag(-msse3 HAVE_SSE3) -+ endif() ++ string(REGEX MATCH "(^|[^s])sse3" FREEBSD_SSE3 ${CPUINFO}) ++ if(FREEBSD_SSE3) ++ check_c_compiler_flag(-msse3 HAVE_SSE3) ++ endif() + -+ string(REGEX MATCH "ssse3" FREEBSD_SSSE3 ${CPUINFO}) -+ if(FREEBSD_SSSE3) -+ check_c_compiler_flag(-mssse3 HAVE_SSSE3) -+ endif() ++ string(REGEX MATCH "ssse3" FREEBSD_SSSE3 ${CPUINFO}) ++ if(FREEBSD_SSSE3) ++ check_c_compiler_flag(-mssse3 HAVE_SSSE3) ++ endif() + -+ string(REGEX MATCH "sse41" FREEBSD_SSE41 ${CPUINFO}) -+ if(FREEBSD_SSE41) ++ string(REGEX MATCH "sse41" FREEBSD_SSE41 ${CPUINFO}) ++ if(FREEBSD_SSE41) ++ check_c_compiler_flag(-msse4.1 HAVE_SSE4_1) ++ endif() ++ else() ++ check_c_compiler_flag(-msse2 HAVE_SSE2) ++ check_c_compiler_flag(-msse3 HAVE_SSE3) ++ check_c_compiler_flag(-mssse3 HAVE_SSSE3) + check_c_compiler_flag(-msse4.1 HAVE_SSE4_1) + endif() -+else() -+ check_c_compiler_flag(-msse2 HAVE_SSE2) -+ check_c_compiler_flag(-msse3 HAVE_SSE3) -+ check_c_compiler_flag(-mssse3 HAVE_SSSE3) -+ check_c_compiler_flag(-msse4.1 HAVE_SSE4_1) -+endif() - # Some compilers understand SSE flags, even when target platform doesn't support it (Clang with arm target) - # It is necessary try to compile actual code + if(HAVE_SSE2) + try_compile(SSE_OK "${PROJECT_BINARY_DIR}" diff --git a/multimedia/vid.stab/pkg-plist b/multimedia/vid.stab/pkg-plist index b13e2086e804..5e8a933f1cf4 100644 --- a/multimedia/vid.stab/pkg-plist +++ b/multimedia/vid.stab/pkg-plist @@ -1,19 +1,22 @@ include/vid.stab/boxblur.h +include/vid.stab/compat.h include/vid.stab/frameinfo.h include/vid.stab/libvidstab.h include/vid.stab/localmotion2transform.h include/vid.stab/motiondetect.h include/vid.stab/motiondetect_internal.h include/vid.stab/motiondetect_opt.h include/vid.stab/serialize.h +include/vid.stab/sse2neon.h include/vid.stab/transform.h include/vid.stab/transform_internal.h include/vid.stab/transformfixedpoint.h include/vid.stab/transformfloat.h include/vid.stab/transformtype.h include/vid.stab/transformtype_operations.h +include/vid.stab/vidstab_api.h include/vid.stab/vidstabdefines.h include/vid.stab/vsvector.h lib/libvidstab.so lib/libvidstab.so.1.2 libdata/pkgconfig/vidstab.pc