Browse Source

Add gImageReader ebuild.

master
Bas Weelinck 6 years ago
parent
commit
b490fac127
2 changed files with 61 additions and 0 deletions
  1. +2
    -0
      app-text/gImageReader/Manifest
  2. +59
    -0
      app-text/gImageReader/gImageReader-3.3.0.ebuild

+ 2
- 0
app-text/gImageReader/Manifest View File

@@ -0,0 +1,2 @@
DIST v3.3.0.tar.gz 832470 BLAKE2B 98645072e775f70b4ea3d14f20f80877a2da8834f62f336942190793a96c670c08833193f1a421c4482500ad23382631f77fa371cba9edff1a8beea3454713b2 SHA512 70570b4b463b61db7441a3c6957ff034051ad1bd2cad8be95837a6fcbdb95dfea5e119fd0bdce31c10b287aa7281e5ceb4104472ee490087ea995ab1afd9f111
EBUILD gImageReader-3.3.0.ebuild 1123 BLAKE2B c0cebff0acd19c7f80ec72cc16897e7d43794a7229317b49049502541a41bb6094d9943c4d165b451702f119e96913c2174ce7ce2334624c450ae1955a6478b7 SHA512 8a40e611e99835ae7ef0111d7a95b7cafa611f17a7da7df56ffcb3d7012ea1878767061958165d19677fdc44fef6d78af5143a3267d6b2423c653827400bf1e1

+ 59
- 0
app-text/gImageReader/gImageReader-3.3.0.ebuild View File

@@ -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
}

Loading…
Cancel
Save