pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia ffmpeg[34]: added tesseract option
details: https://anonhg.NetBSD.org/pkgsrc/rev/2de7d4465576
branches: trunk
changeset: 379464:2de7d4465576
user: adam <adam%pkgsrc.org@localhost>
date: Mon Apr 30 09:00:45 2018 +0000
description:
ffmpeg[34]: added tesseract option
diffstat:
multimedia/ffmpeg3/options.mk | 15 +++++++++++----
multimedia/ffmpeg4/options.mk | 14 +++++++++++---
2 files changed, 22 insertions(+), 7 deletions(-)
diffs (71 lines):
diff -r 0d6c1788a6fb -r 2de7d4465576 multimedia/ffmpeg3/options.mk
--- a/multimedia/ffmpeg3/options.mk Mon Apr 30 08:58:11 2018 +0000
+++ b/multimedia/ffmpeg3/options.mk Mon Apr 30 09:00:45 2018 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.11 2018/03/05 21:17:07 rjs Exp $
+# $NetBSD: options.mk,v 1.12 2018/04/30 09:00:45 adam Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg3
PKG_SUPPORTED_OPTIONS= ass bluray doc fdk-aac fontconfig freetype gnutls \
- lame libvpx opencore-amr openssl opus rpi \
- rtmp theora vorbis x11 x264 x265 xcb xvid
+ lame libvpx opencore-amr openssl opus rpi rtmp \
+ tesseract theora vorbis x11 x264 x265 xcb xvid
PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig libvpx openssl \
theora vorbis x11 x264 xvid
@@ -113,6 +113,14 @@
.include "../../net/rtmpdump/buildlink3.mk"
.endif
+# OCR filter using Tesseract
+.if !empty(PKG_OPTIONS:Mtesseract)
+CONFIGURE_ARGS+= --enable-libtesseract
+.include "../../graphics/tesseract/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libtesseract
+.endif
+
# OGG Theora support
.if !empty(PKG_OPTIONS:Mtheora)
CONFIGURE_ARGS+= --enable-libtheora
@@ -219,4 +227,3 @@
.else
CONFIGURE_ARGS+= --disable-libbluray
.endif
-
diff -r 0d6c1788a6fb -r 2de7d4465576 multimedia/ffmpeg4/options.mk
--- a/multimedia/ffmpeg4/options.mk Mon Apr 30 08:58:11 2018 +0000
+++ b/multimedia/ffmpeg4/options.mk Mon Apr 30 09:00:45 2018 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.1 2018/04/26 07:56:57 adam Exp $
+# $NetBSD: options.mk,v 1.2 2018/04/30 09:00:46 adam Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg4
PKG_SUPPORTED_OPTIONS= ass bluray doc fdk-aac fontconfig freetype gnutls \
- lame libvpx opencore-amr openssl opus rpi \
- rtmp theora vorbis x11 x264 x265 xcb xvid
+ lame libvpx opencore-amr openssl opus rpi rtmp \
+ tesseract theora vorbis x11 x264 x265 xcb xvid
PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig libvpx openssl \
theora vorbis x11 x264 xvid
@@ -113,6 +113,14 @@
.include "../../net/rtmpdump/buildlink3.mk"
.endif
+# OCR filter using Tesseract
+.if !empty(PKG_OPTIONS:Mtesseract)
+CONFIGURE_ARGS+= --enable-libtesseract
+.include "../../graphics/tesseract/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libtesseract
+.endif
+
# OGG Theora support
.if !empty(PKG_OPTIONS:Mtheora)
CONFIGURE_ARGS+= --enable-libtheora
Home |
Main Index |
Thread Index |
Old Index