Here is an update to FFmpegthumbnailer to 2.2.2 + a few bug fixes, but more 
importantly
updating for FFmpeg 4 API.

It has been almost 3 years since 2.2.2 was released and development is quite 
slow. It has
been just a handful of small bug fixes since and some FFmpeg API adjustments. 
So I have
used the last commit.


FFmpegThumbnailer 2.2.2
- Removed unstable continuous thumbnail creation

FFmpegThumbnailer 2.2.1
- CMake improvements: required CMake version is now 3.5 or newer
- Fix anamorphic height (thanks to cmrd-senya)
- Fix libffmpegthumbnailer.pc to work with multilib systems (thanks to orbea)
- Fix rotation of 180?? rotated videos (thanks to munzli)
- Fix prefer_embedded_metadata in c api (thanks to aedis)
- Fix crash when setting a log callback using the c api
- Check for https as well when skipping stat call (thanks to HearstCorp)
- Support specifying the size as string using the c api
- Support raw rgb data as image type
- Print warnings on stderr instead of stdout
- Support for continuous thumbnail creation


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/graphics/ffmpegthumbnailer/Makefile,v
retrieving revision 1.36
diff -u -p -u -p -r1.36 Makefile
--- Makefile    11 Mar 2022 19:22:18 -0000      1.36
+++ Makefile    17 Apr 2023 02:07:48 -0000
@@ -2,15 +2,15 @@ COMMENT=      lightweight video thumbnailer f
 
 CATEGORIES=    graphics multimedia
 
+DISTNAME=      ffmpegthumbnailer-2.2.2
+REVISION=      0
 GH_ACCOUNT=    dirkvdb
 GH_PROJECT=    ffmpegthumbnailer
-GH_TAGNAME=    2.2.0
+GH_COMMIT=     c2fba253f3751f9bb825defec66109e5d33c74d6
 
-SHARED_LIBS=   ffmpegthumbnailer 5.0
+SHARED_LIBS=   ffmpegthumbnailer 6.0
 HOMEPAGE=      https://github.com/dirkvdb/ffmpegthumbnailer
 MAINTAINER=    Victor Kukshiev <[email protected]>
-MASTER_SITES=  
https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/${GH_TAGNAME}/
-EXTRACT_SUFX=  .tar.bz2
 
 # GPLv2+
 PERMIT_PACKAGE=        Yes
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/graphics/ffmpegthumbnailer/distinfo,v
retrieving revision 1.8
diff -u -p -u -p -r1.8 distinfo
--- distinfo    15 Dec 2017 21:11:42 -0000      1.8
+++ distinfo    17 Apr 2023 01:27:24 -0000
@@ -1,2 +1,2 @@
-SHA256 (ffmpegthumbnailer-2.2.0.tar.bz2) = 
5cMSmdBkloGYzTePdIjlLNXnOPrJmO6ngLx31/MiOMI=
-SIZE (ffmpegthumbnailer-2.2.0.tar.bz2) = 1223895
+SHA256 (ffmpegthumbnailer-2.2.2-c2fba253.tar.gz) = 
jtpkocpAgJhWZHBB58VVblsqA/7EPggSzt+KjpXtfTc=
+SIZE (ffmpegthumbnailer-2.2.2-c2fba253.tar.gz) = 1291683
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt        11 Mar 2022 19:22:18 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
- upstream pulll request: https://github.com/dirkvdb/ffmpegthumbnailer/pull/163
-Index: CMakeLists.txt
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -178,7 +178,7 @@ IF (ENABLE_SHARED)
-     ADD_LIBRARY(libffmpegthumbnailer SHARED ${LIB_SRC_LIST})
-     TARGET_LINK_LIBRARIES(libffmpegthumbnailer ${FFMPEGTHUMBNAILER_LIBRARIES})
-     SET_TARGET_PROPERTIES(libffmpegthumbnailer PROPERTIES
--        PREFIX ""
-+        OUTPUT_NAME ffmpegthumbnailer
-         VERSION 
${FFMPEGTHUMBNAILER_SOVERSION_CURRENT}.${FFMPEGTHUMBNAILER_SOVERSION_REVISION}.${FFMPEGTHUMBNAILER_SOVERSION_AGE}
-         SOVERSION ${FFMPEGTHUMBNAILER_SOVERSION_CURRENT}
-         PUBLIC_HEADER "${LIB_HDRS}"

Reply via email to