summaryrefslogtreecommitdiff
path: root/app-text/yagf
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-15 16:58:00 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-15 16:58:00 +0000
commit434d713861b70f6c6563d6ee50a8e64f14c970d9 (patch)
treeb72c523c72e764420f835ba9d63d43ffef687dcf /app-text/yagf
parentf78108598211053d41752a83e0345441bb9014ae (diff)
gentoo resync : 15.02.2018
Diffstat (limited to 'app-text/yagf')
-rw-r--r--app-text/yagf/Manifest3
-rw-r--r--app-text/yagf/metadata.xml20
-rw-r--r--app-text/yagf/yagf-0.9.5.ebuild61
3 files changed, 0 insertions, 84 deletions
diff --git a/app-text/yagf/Manifest b/app-text/yagf/Manifest
deleted file mode 100644
index b3a6e13aff0d..000000000000
--- a/app-text/yagf/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST yagf-0.9.5.tar.gz 427018 BLAKE2B 4aace2cf06cafc22e08b1b670727e46234509bb40f15e537d3878ee41c0d0cf2aecc22b9a443f87182498180b1d1791a51b1870172267e4a24a1c4f9f7edfa03 SHA512 a0b77e49c11be0ed043d3f44b1c48122cdabf0ae4ae69d84bc01eee0a8b084dae8201234e08816065d449e4d47bd704f282b1cd3b31c3539d201e9f32dfef05c
-EBUILD yagf-0.9.5.ebuild 1544 BLAKE2B 2f9b3d9232d9465c8bae8263c83d683f38186281d5ff1d5456491c8a1ac2e9d5a75cddec4359438386fc23d5a6bed9f1d9f4b5bd7e7501140a5e2d83e302e0bd SHA512 5baceb14e795047d7a0cc9c9ef7c77bf3e8ab36055982d0f3b9268ea34caa3ad53373ebff3ae1fd7afaa3a6cb30125640fbbde1d8aa52433ae304284d485a004
-MISC metadata.xml 1017 BLAKE2B fbe0d05cd5cf1de7c5f9389589609117ffe6c829580c1e2fc2184909309fa1f467b91d50b77c43f88ada8f23034028821e5ddaad32b3c6290f34f749d7c3a2eb SHA512 f7a240694f0fa6dc6f26f042d5d332acc2a255819c0b5a0b99d46220b747da94d9f345e0fb87cd631f7b6fabdcddde3cbd42ffd8e738e119034e1608749c094a
diff --git a/app-text/yagf/metadata.xml b/app-text/yagf/metadata.xml
deleted file mode 100644
index 76b22cdda21f..000000000000
--- a/app-text/yagf/metadata.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription lang="en">
- YAGF is a graphical front-end for cuneiform and tesseract OCR tools.
- With YAGF you can open already scanned image files or obtain new images
- via XSane (scanning results are automatically passed to YAGF).
- Once you have a scanned image you can prepare it for recognition, select
- particular image areas for recognition, set the recognition language and
- so no. Recognized text is displayed in a editor window where it can be
- corrected, saved to disk or copied to clipboard.
- 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.5.ebuild b/app-text/yagf/yagf-0.9.5.ebuild
deleted file mode 100644
index 3ebcae73386e..000000000000
--- a/app-text/yagf/yagf-0.9.5.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PLOCALES="fr ru"
-inherit cmake-utils l10n multilib
-
-DESCRIPTION="Graphical front-end for cuneiform and tesseract OCR tools"
-HOMEPAGE="http://sourceforge.net/projects/yagf-ocr/"
-SRC_URI="mirror://sourceforge/project/yagf-ocr/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="scanner cuneiform +tesseract pdf"
-
-REQUIRED_USE="|| ( cuneiform tesseract )"
-
-DEPEND="
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- app-text/aspell
-"
-RDEPEND="${DEPEND}
- cuneiform? ( app-text/cuneiform )
- tesseract? ( app-text/tesseract )
- scanner? ( media-gfx/xsane )
- pdf? ( || ( app-text/poppler[utils] app-text/ghostscript-gpl ) )
-"
-
-DOCS=( AUTHORS ChangeLog DESCRIPTION README )
-
-src_prepare() {
- # uk translation generation is broken
- rm src/translations/yagf_uk.ts || die
- # respect CFLAGS and fix translations path
- sed -i \
- -e '/add_definitions(-Wall -g)/d' \
- -e '/-DQML_INSTALL_PATH=/s:${QML_DESTINATION}:/${QML_DESTINATION}:' \
- CMakeLists.txt || die 'sed on CMakeLists.txt failed'
-
- l10n_find_plocales_changes "src/translations" "${PN}_" '.ts'
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local libdir="$(get_libdir)"
- local mycmakeargs=(
- -DLIB_PATH_SUFFIX=${libdir#lib}
- )
- cmake-utils_src_configure
-}
-
-src_install() {
- remove_translation() {
- rm "${ED}/usr/share/yagf/translations/${PN}_${1}.qm" || die "remove '${PN}_${1}.qm' file failed"
- }
- cmake-utils_src_install
- l10n_for_each_disabled_locale_do remove_translation
-}