multimedia/ffmpegthumbnailer: Fix build with FFmpeg 8.0

Backport upstream commitd f789ec326ae0f2c619f91c8f2fc8b5e45b50a70
...and while it convert THUMBNAILER menu option to CMAKE_BOOL

Reference:
df789ec326

PR:		289507
This commit is contained in:
Daniel Engberg 2025-09-25 23:39:20 +02:00
parent 6080d05967
commit c4205a7dfb
2 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,9 @@ PORTNAME= ffmpegthumbnailer
DISTVERSION= 2.2.3
CATEGORIES= multimedia graphics
PATCH_SITES= https://github.com/dirkvdb/ffmpegthumbnailer/commit/
PATCHFILES= df789ec326ae0f2c619f91c8f2fc8b5e45b50a70.patch:-p1
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight video thumbnailer that can be used by file managers
WWW= https://github.com/dirkvdb/ffmpegthumbnailer
@ -33,6 +36,6 @@ OPTIONS_SUB= yes
THUMBNAILER_DESC= Register as a system thumbnailer
THUMBNAILER_CMAKE_ON= -DENABLE_THUMBNAILER:BOOL=ON
THUMBNAILER_CMAKE_BOOL= ENABLE_THUMBNAILER
.include <bsd.port.mk>

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1728155413
TIMESTAMP = 1758387041
SHA256 (dirkvdb-ffmpegthumbnailer-2.2.3_GH0.tar.gz) = 8c9b9057c6cc8bce9d11701af224c8139c940f734c439a595525e073b09d19b8
SIZE (dirkvdb-ffmpegthumbnailer-2.2.3_GH0.tar.gz) = 1291942
SHA256 (df789ec326ae0f2c619f91c8f2fc8b5e45b50a70.patch) = b144efb0e8d914e1950e8a16299c532d59819768ffcb1ec152f72abf0d3a65fb
SIZE (df789ec326ae0f2c619f91c8f2fc8b5e45b50a70.patch) = 2591