git: 61b8c1051bac - main - multimedia/ccextractor: disable OCR and HARDSUBX options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Nov 2025 11:28:04 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=61b8c1051bac378f5dcbc7a673611444e6c6f951
commit 61b8c1051bac378f5dcbc7a673611444e6c6f951
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-11-04 11:25:46 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-11-04 11:27:43 +0000
multimedia/ccextractor: disable OCR and HARDSUBX options
These depend on leptonica, but due to a bug, leptonica <= 1.82 is
required. Disable the options until the bug is fixed by upstream,
which seems to be the case in the next version to be released soon.
See also: https://github.com/CCExtractor/ccextractor/issues/1625
---
multimedia/ccextractor/Makefile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/multimedia/ccextractor/Makefile b/multimedia/ccextractor/Makefile
index 37aa0bef8779..849d4e8b85da 100644
--- a/multimedia/ccextractor/Makefile
+++ b/multimedia/ccextractor/Makefile
@@ -1,3 +1,5 @@
+PORTREVISION= 1
+
COMMENT= Subtitle extractor
LIB_DEPENDS= libfreetype.so:print/freetype2 \
@@ -11,8 +13,10 @@ CFLAGS+= -I${LOCALBASE}/include/freetype2 \
-I${LOCALBASE}/include/protobuf-c
LIBS+= -lfreetype -lgpac -lmd -lpng -lprotobuf-c -lutf8proc -lz
+# OCR broken with leptonica >= 1.83
+# probably fixed in next version
OPTIONS_DEFINE= HARDSUBX OCR RUST
-OPTIONS_DEFAULT= HARDSUBX OCR RUST
+OPTIONS_DEFAULT= RUST
HARDSUBX_DESC= Extraction of burnt subtitles (hard subtitles)
OCR_DESC= Optical Character Recognition
RUST_DESC= Build Rust-based components