Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/ffmpeg/
Date: Wed, 02 Oct 2019 11:52:17
Message-Id: 1570017110.27db0f5502ded7445f30587e1d08be77d1537b68.aballier@gentoo
1 commit: 27db0f5502ded7445f30587e1d08be77d1537b68
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 2 11:25:43 2019 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 2 11:51:50 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27db0f55
7
8 media-video/ffmpeg: add libtesseract useflag.
9
10 Closes: https://bugs.gentoo.org/622900
11 Package-Manager: Portage-2.3.76, Repoman-2.3.17
12 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
13
14 media-video/ffmpeg/ffmpeg-4.2.1.ebuild | 3 ++-
15 media-video/ffmpeg/ffmpeg-9999.ebuild | 3 ++-
16 media-video/ffmpeg/metadata.xml | 1 +
17 3 files changed, 5 insertions(+), 2 deletions(-)
18
19 diff --git a/media-video/ffmpeg/ffmpeg-4.2.1.ebuild b/media-video/ffmpeg/ffmpeg-4.2.1.ebuild
20 index 74fb2c23550..04857f70dc5 100644
21 --- a/media-video/ffmpeg/ffmpeg-4.2.1.ebuild
22 +++ b/media-video/ffmpeg/ffmpeg-4.2.1.ebuild
23 @@ -85,7 +85,7 @@ FFMPEG_FLAG_MAP=(
24 # libavfilter options
25 appkit
26 bs2b:libbs2b chromaprint cuda:cuda-llvm flite:libflite frei0r
27 - fribidi:libfribidi fontconfig ladspa libass lv2 truetype:libfreetype vidstab:libvidstab
28 + fribidi:libfribidi fontconfig ladspa libass libtesseract lv2 truetype:libfreetype vidstab:libvidstab
29 rubberband:librubberband zeromq:libzmq zimg:libzimg
30 # libswresample options
31 libsoxr
32 @@ -221,6 +221,7 @@ RDEPEND="
33 libilbc? ( >=media-libs/libilbc-2[${MULTILIB_USEDEP}] )
34 librtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
35 libsoxr? ( >=media-libs/soxr-0.1.0[${MULTILIB_USEDEP}] )
36 + libtesseract? ( >=app-text/tesseract-4.1.0-r1[${MULTILIB_USEDEP}] )
37 libv4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
38 libxml2? ( dev-libs/libxml2:=[${MULTILIB_USEDEP}] )
39 lv2? ( media-libs/lv2[${MULTILIB_USEDEP}] media-libs/lilv[${MULTILIB_USEDEP}] )
40
41 diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild
42 index b227d7197ca..8de60207a3d 100644
43 --- a/media-video/ffmpeg/ffmpeg-9999.ebuild
44 +++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
45 @@ -85,7 +85,7 @@ FFMPEG_FLAG_MAP=(
46 # libavfilter options
47 appkit
48 bs2b:libbs2b chromaprint cuda:cuda-llvm flite:libflite frei0r
49 - fribidi:libfribidi fontconfig ladspa libass lv2 truetype:libfreetype vidstab:libvidstab
50 + fribidi:libfribidi fontconfig ladspa libass libtesseract lv2 truetype:libfreetype vidstab:libvidstab
51 rubberband:librubberband zeromq:libzmq zimg:libzimg
52 # libswresample options
53 libsoxr
54 @@ -221,6 +221,7 @@ RDEPEND="
55 libilbc? ( >=media-libs/libilbc-2[${MULTILIB_USEDEP}] )
56 librtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
57 libsoxr? ( >=media-libs/soxr-0.1.0[${MULTILIB_USEDEP}] )
58 + libtesseract? ( >=app-text/tesseract-4.1.0-r1[${MULTILIB_USEDEP}] )
59 libv4l? ( >=media-libs/libv4l-0.9.5[${MULTILIB_USEDEP}] )
60 libxml2? ( dev-libs/libxml2:=[${MULTILIB_USEDEP}] )
61 lv2? ( media-libs/lv2[${MULTILIB_USEDEP}] media-libs/lilv[${MULTILIB_USEDEP}] )
62
63 diff --git a/media-video/ffmpeg/metadata.xml b/media-video/ffmpeg/metadata.xml
64 index 183c78718dc..338a8f56297 100644
65 --- a/media-video/ffmpeg/metadata.xml
66 +++ b/media-video/ffmpeg/metadata.xml
67 @@ -33,6 +33,7 @@
68 <flag name="libilbc">Enables iLBC de/encoding via <pkg>media-libs/libilbc</pkg>.</flag>
69 <flag name="librtmp">Enables Real Time Messaging Protocol using librtmp (<pkg>media-video/rtmpdump</pkg>) in addition to FFmpeg's native implementation.</flag>
70 <flag name="libsoxr">Enables audio resampling through <pkg>media-libs/soxr</pkg>.</flag>
71 + <flag name="libtesseract">Enables the OCR filter via <pkg>app-text/tesseract</pkg>.</flag>
72 <flag name="libv4l">Uses <pkg>media-libs/libv4l</pkg> for video4linux instead of direct calls. Adds support for more devices via the userspace library.</flag>
73 <flag name="libxml2">Uses <pkg>dev-libs/libxml2</pkg> to enable dash demuxing support.</flag>
74 <flag name="lv2">Enables lv2 audio filter wrapper.</flag>