summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-04-30 09:00:45 +0000
committeradam <adam@pkgsrc.org>2018-04-30 09:00:45 +0000
commitd4be7b8358179eed663cafd4c686f2d875c34b3b (patch)
tree5e77577c7ade2853515e630a32784731ae87021f /multimedia
parent77b4c438e4ca1ed439451c03f7c8786c24f80f5e (diff)
downloadpkgsrc-d4be7b8358179eed663cafd4c686f2d875c34b3b.tar.gz
ffmpeg[34]: added tesseract option
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg3/options.mk15
-rw-r--r--multimedia/ffmpeg4/options.mk14
2 files changed, 22 insertions, 7 deletions
diff --git a/multimedia/ffmpeg3/options.mk b/multimedia/ffmpeg3/options.mk
index d11c32f34bf..a17815ef1a5 100644
--- a/multimedia/ffmpeg3/options.mk
+++ b/multimedia/ffmpeg3/options.mk
@@ -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 @@ CONFIGURE_ARGS+= --enable-librtmp
.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 @@ CONFIGURE_ARGS+= --enable-libbluray
.else
CONFIGURE_ARGS+= --disable-libbluray
.endif
-
diff --git a/multimedia/ffmpeg4/options.mk b/multimedia/ffmpeg4/options.mk
index b8fd5a6ff26..62e9317d878 100644
--- a/multimedia/ffmpeg4/options.mk
+++ b/multimedia/ffmpeg4/options.mk
@@ -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 @@ CONFIGURE_ARGS+= --enable-librtmp
.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