You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # 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 gnome2-utils xdg-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
- }
-
- # cmake stuff taken from LLVM
- src_configure() {
- local mycmakeargs=(
- -DINTERFACE_TYPE=gtk
- )
- cmake-utils_src_configure
- }
-
- src_compile() {
- cmake-utils_src_compile
- }
-
- src_install() {
- cmake-utils_src_install
- }
-
- # schema stuff taken from guake
- pkg_postinst() {
- gnome2_schemas_update
- xdg_desktop_database_update
- }
-
- pkg_postrm() {
- gnome2_schemas_update
- xdg_desktop_database_update
- }
|