app-text/gimagereader: removed due to missing dependencies
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST gimagereader-3.4.2.tar.xz 681840 BLAKE2B 0fa94cb32fabfc6936d68a760112dce5f685bf453183daea1f335109e8cd8532b4d07d1314d640e503323151e9d7e998ef54a424ef135e8fdcdf6e106ecf50c8 SHA512 ccdc96bb8ce7422f4cdf4342365c26ca4bc3a38965049962ad6fe0256998f14ac40b9095fc3406b2e41129fa133c260d5c4bfb5a7b7737074dfe98ff0cabf8cd
|
||||
@@ -1,72 +0,0 @@
|
||||
EAPI=8
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A Gtk/Qt front-end to tesseract-ocr"
|
||||
HOMEPAGE="https://github.com/manisandro/gImageReader"
|
||||
SRC_URI="https://github.com/manisandro/gImageReader/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="scanner qt5 gtk"
|
||||
REQUIRED_USE="^^ ( qt5 gtk )"
|
||||
|
||||
DEPEND=">=app-text/tesseract-3.04
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
app-text/podofo
|
||||
virtual/jpeg
|
||||
app-text/djvu
|
||||
dev-util/intltool
|
||||
dev-libs/libzip
|
||||
dev-libs/libxml2
|
||||
app-text/enchant
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
app-text/qtspell[qt5]
|
||||
app-text/poppler
|
||||
dev-libs/quazip
|
||||
)
|
||||
gtk? (
|
||||
dev-cpp/gtkmm
|
||||
dev-cpp/gtksourceviewmm
|
||||
dev-cpp/cairomm
|
||||
dev-libs/json-glib
|
||||
dev-cpp/libxmlpp
|
||||
dev-python/pygobject
|
||||
dev-cpp/gtkspellmm
|
||||
)"
|
||||
|
||||
src_configure()
|
||||
{
|
||||
if use qt5
|
||||
then
|
||||
local mycmakeargs=( -DINTERFACE_TYPE=qt5 )
|
||||
fi
|
||||
if use gtk
|
||||
then
|
||||
local mycmakeargs=( -DINTERFACE_TYPE=gtk )
|
||||
fi
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install()
|
||||
{
|
||||
cmake_src_install
|
||||
cd $D/usr/share/doc && mv $PN $P
|
||||
}
|
||||
|
||||
pkg_postinst()
|
||||
{
|
||||
if use gtk
|
||||
then
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm()
|
||||
{
|
||||
if use gtk
|
||||
then
|
||||
glib-compile-schemas /usr/share/glib-2.0/schemas/
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user