|
|
|
@@ -0,0 +1,59 @@ |
|
|
|
# Copyright 1999-2017 Gentoo Foundation |
|
|
|
# Distributed under the terms of the GNU General Public License v2 |
|
|
|
|
|
|
|
# TODO: USE xine could be restored if support for xine-lib-1.2.x |
|
|
|
# is patched in wrt #397639 |
|
|
|
|
|
|
|
EAPI=6 |
|
|
|
|
|
|
|
inherit eutils cmake-utils |
|
|
|
|
|
|
|
DESCRIPTION="A Gtk/Qt front-end to tesseract-ocr. " |
|
|
|
HOMEPAGE="https://github.com/manisandro/gImageReader" |
|
|
|
SRC_URI="https://github.com/manisandro/gImageReader/archive/v3.3.0.tar.gz" |
|
|
|
|
|
|
|
LICENSE="GPL-3" |
|
|
|
SLOT="0" |
|
|
|
KEYWORDS="amd64 ~hppa ppc ppc64 x86" |
|
|
|
#IUSE="mng nls mplayer svg wmf" #xine |
|
|
|
|
|
|
|
RDEPEND=" |
|
|
|
>=app-text/tesseract-03.05.01 |
|
|
|
media-gfx/sane-backends |
|
|
|
app-text/podofo |
|
|
|
virtual/jpeg |
|
|
|
app-text/djvu |
|
|
|
dev-util/intltool |
|
|
|
dev-libs/libzip |
|
|
|
sys-apps/util-linux |
|
|
|
dev-cpp/libxmlpp |
|
|
|
dev-cpp/gtkmm |
|
|
|
>=dev-cpp/gtkspellmm-3.0.5 |
|
|
|
dev-cpp/gtksourceviewmm |
|
|
|
dev-cpp/cairomm |
|
|
|
app-text/poppler[cairo] |
|
|
|
dev-libs/json-glib |
|
|
|
" |
|
|
|
DEPEND="${RDEPEND} |
|
|
|
virtual/pkgconfig |
|
|
|
dev-util/cmake |
|
|
|
" |
|
|
|
|
|
|
|
src_prepare() { |
|
|
|
cmake-utils_src_prepare |
|
|
|
} |
|
|
|
|
|
|
|
src_configure() { |
|
|
|
local mycmakeargs=( |
|
|
|
-DINTERFACE_TYPE=gtk |
|
|
|
) |
|
|
|
cmake-utils_src_configure |
|
|
|
} |
|
|
|
|
|
|
|
src_compile() { |
|
|
|
cmake-utils_src_compile |
|
|
|
} |
|
|
|
|
|
|
|
src_install() { |
|
|
|
cmake-utils_src_install |
|
|
|
} |