summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Freeman <rich0@gentoo.org>2013-03-24 12:08:05 +0000
committerRichard Freeman <rich0@gentoo.org>2013-03-24 12:08:05 +0000
commitb98c77ae71af9567955603c777a4d95981ec5e2c (patch)
treed2bf7b249f6ee1174fc0088842033faed8c8ca5d
parentMask cuneiform use flag due to buffer overflow for now. (diff)
downloadgentoo-2-b98c77ae71af9567955603c777a4d95981ec5e2c.tar.gz
gentoo-2-b98c77ae71af9567955603c777a4d95981ec5e2c.tar.bz2
gentoo-2-b98c77ae71af9567955603c777a4d95981ec5e2c.zip
revert cuneiform flag removal - package will stay around
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0x08C170DE55EC123A)
-rw-r--r--app-text/yagf/ChangeLog6
-rw-r--r--app-text/yagf/metadata.xml4
-rw-r--r--app-text/yagf/yagf-0.9.2.ebuild9
3 files changed, 15 insertions, 4 deletions
diff --git a/app-text/yagf/ChangeLog b/app-text/yagf/ChangeLog
index 9dd2d4fae08c..8d1165bc6218 100644
--- a/app-text/yagf/ChangeLog
+++ b/app-text/yagf/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/yagf
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/yagf/ChangeLog,v 1.18 2013/03/22 22:56:36 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/yagf/ChangeLog,v 1.19 2013/03/24 12:08:05 rich0 Exp $
+
+ 24 Mar 2013; Richard Freeman <rich0@gentoo.org> yagf-0.9.2.ebuild,
+ metadata.xml:
+ revert cuneiform flag removal - package will stay around
22 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml,
yagf-0.9.2.ebuild:
diff --git a/app-text/yagf/metadata.xml b/app-text/yagf/metadata.xml
index 33d1a59d8d57..d9aaa2b101e9 100644
--- a/app-text/yagf/metadata.xml
+++ b/app-text/yagf/metadata.xml
@@ -23,4 +23,8 @@
YAGF also provides some facilities for a multi-page recognition (see
the online help for more details).
</longdescription>
+ <use>
+ <flag name='cuneiform'>Enable support for the <pkg>app-text/cuneiform</pkg> OCR engine.</flag>
+ <flag name='tesseract'>Enable support for the <pkg>app-text/tesseract</pkg> OCR engine.</flag>
+ </use>
</pkgmetadata>
diff --git a/app-text/yagf/yagf-0.9.2.ebuild b/app-text/yagf/yagf-0.9.2.ebuild
index 903c1872fccc..d448bd09c635 100644
--- a/app-text/yagf/yagf-0.9.2.ebuild
+++ b/app-text/yagf/yagf-0.9.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/yagf/yagf-0.9.2.ebuild,v 1.5 2013/03/22 22:56:36 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/yagf/yagf-0.9.2.ebuild,v 1.6 2013/03/24 12:08:05 rich0 Exp $
EAPI="5"
@@ -15,12 +15,15 @@ SRC_URI="http://symmetrica.net/cuneiform-linux/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="scanner pdf"
+IUSE="scanner +cuneiform tesseract pdf"
+
+REQUIRED_USE="|| ( cuneiform tesseract )"
DEPEND=">=dev-qt/qtgui-4.7:4
app-text/aspell"
RDEPEND="${DEPEND}
- app-text/tesseract
+ cuneiform? ( app-text/cuneiform )
+ tesseract? ( app-text/tesseract )
scanner? ( media-gfx/xsane )
pdf? ( || ( app-text/poppler[utils] app-text/ghostscript-gpl ) )"