pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 30 09:00:46 UTC 2018

Modified Files:
        pkgsrc/multimedia/ffmpeg3: options.mk
        pkgsrc/multimedia/ffmpeg4: options.mk

Log Message:
ffmpeg[34]: added tesseract option


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/multimedia/ffmpeg3/options.mk
cvs rdiff -u -r1.1 -r1.2 pkgsrc/multimedia/ffmpeg4/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/ffmpeg3/options.mk
diff -u pkgsrc/multimedia/ffmpeg3/options.mk:1.11 pkgsrc/multimedia/ffmpeg3/options.mk:1.12
--- pkgsrc/multimedia/ffmpeg3/options.mk:1.11   Mon Mar  5 21:17:07 2018
+++ pkgsrc/multimedia/ffmpeg3/options.mk        Mon Apr 30 09:00:45 2018
@@ -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
-

Index: pkgsrc/multimedia/ffmpeg4/options.mk
diff -u pkgsrc/multimedia/ffmpeg4/options.mk:1.1 pkgsrc/multimedia/ffmpeg4/options.mk:1.2
--- pkgsrc/multimedia/ffmpeg4/options.mk:1.1    Thu Apr 26 07:56:57 2018
+++ pkgsrc/multimedia/ffmpeg4/options.mk        Mon Apr 30 09:00:46 2018
@@ -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



Home | Main Index | Thread Index | Old Index