aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-11-04 11:25:46 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-11-04 11:27:43 +0000
commit61b8c1051bac378f5dcbc7a673611444e6c6f951 (patch)
tree2512ba716d08adb5ceb230f96f809d9d47b281d8
parentab5d7836e02d9efd88cf39e5ab44a5d943edcf2f (diff)
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
-rw-r--r--multimedia/ccextractor/Makefile6
1 files changed, 5 insertions, 1 deletions
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