summaryrefslogtreecommitdiff
path: root/app-text/gocr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/gocr
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/gocr')
-rw-r--r--app-text/gocr/Manifest7
-rw-r--r--app-text/gocr/gocr-0.49.ebuild45
-rw-r--r--app-text/gocr/gocr-0.50.ebuild45
-rw-r--r--app-text/gocr/metadata.xml11
4 files changed, 108 insertions, 0 deletions
diff --git a/app-text/gocr/Manifest b/app-text/gocr/Manifest
new file mode 100644
index 000000000000..1c9398c55785
--- /dev/null
+++ b/app-text/gocr/Manifest
@@ -0,0 +1,7 @@
+DIST gocr-0.49.tar.gz 392386 SHA256 cc29931d50b3be11608dc79d1c7d8a20919dbe6313b1ba5dc88ecf99cffd171a SHA512 4559ab2cb05d67212da1857a9e7280abea0b4a172454d5145f04f7d23237d065c7b17ea110123ebbea5d62e589c507e73957e1b15e856b19f9bfc5efbecf467c WHIRLPOOL b62b991d63846b7a1f953b0251a7821bb7c9728633197d4e05e3f9276988d9db62f61e8242948abc5089b2f71f33d9480a8c79e4b4d12cbb4d53a39b73ed6806
+DIST gocr-0.50.tar.gz 419209 SHA256 bc261244f887419cba6d962ec1ad58eefd77176885093c4a43061e7fd565f5b5 SHA512 36392516711d43f8561147684b6f4e22a450bc87f1cb30ceaab4a1821ac583ff5a3d25b3bbf1637f01bfb55366b45cc7d5086d1f29f006d615bb658d0e5faab9 WHIRLPOOL d15b08eda68a27259c22c4f50d05e6d2bda7d1ad42c486279fa34a94b915ce52328f8fa6202cdf93bade2023d85be86d9e5fdab5aaaff9a63d6a6f5ab63f3189
+EBUILD gocr-0.49.ebuild 1194 SHA256 14cc4ed41897335a2cfb048230bca162136e4ee8be84811366c00198159f3cb3 SHA512 d6f044d7a983154b6298c95d8d86bde528c7374d8e6cff82967df4414df07252c81dc691dbb0e49d7ac8c4a5b528b336c4978cbc4ff185bc9e2d675d2733e06a WHIRLPOOL 28fecb0fb04e72ab96e610178d6af526e83db22cfc4df72cce2a051b84cd72452c678ff703048c106912acbfbb0d5ad545662586129668396c93b318aab3519d
+EBUILD gocr-0.50.ebuild 1205 SHA256 67eaa481ef1881f266dbf61f0a14036355766363a30517cad0cd0e0d23020a11 SHA512 8ed6c616d903d0d8414f95b40c8bcc2dbe6adf091edd3ee61596e560dcbcb850b7df220854f81b4a2c6312efb6a4d9cc51e2062d0e6c90b0152b181df5421fd6 WHIRLPOOL aed0f331372c2f49cc48df117d9885735f74c2a19d4a9fbf88e7c6cc0cd1715d7b0b8e2de6c2131d004a85befd864a2ddc57eaa5727674cded1dd68a7a824278
+MISC ChangeLog 3006 SHA256 51cceba3f0eb267fc81d6bc33bf94baa41855d11c33fd3c37a2a60081c090a44 SHA512 e7154fcce57d8b34f759fb8dd2f68cf5be68d2b5a08a8adfa300331d15ed78eccf305906a952c317568a8172be83087310aa8eb78b288e31306cecff043b0a8d WHIRLPOOL 2ffaf8fbbc1d37b3e3354f3b2610f82464f2f764888d7cc26bc24684ec08f0b9ecab9207dd5bea63da9f561d3898cee4d3b78e7fa193cc0f586afe6806123307
+MISC ChangeLog-2015 9548 SHA256 698a6c9c3298313fba2f2abc8cc8402d6b73943a0ab793cce34fe567204a9b38 SHA512 1853d31f8a213b54a5960857b988c4ad236c1995f06c5927ee99089c1c9ed34b96898086171ec54a78cc5ce122b7394eac9d725c4d939af3607b01e92fbd6ed3 WHIRLPOOL 7374e5ee8ccbb53452f65c0e699af7cae83bf6c40aedfbae21d484573955acfe9719a9c7d92a7d35eaaa1cd60ecde199d2d4db212e78da2c7b259c200e30a26f
+MISC metadata.xml 323 SHA256 d7371caf76cdb72815eb61e31df0d0844349519e99f5d0672ff59617de2e8492 SHA512 5b38ff42ca62ce001e5041406a24ccd8bc1c7f33d7a9e1f84ca0d5d48a3ad2f80e74732a846ffb6768709748bd2dca5868f76ab4c1b00f1e75a6f622597858e1 WHIRLPOOL f87c56161fe704f17f007641a2f76a17e328841c728e1e050cc853f19e670e6ef6e6f1926d6390bb166bfa8edb2a4967422feec3333fefd7c62e96f8e3d028ea
diff --git a/app-text/gocr/gocr-0.49.ebuild b/app-text/gocr/gocr-0.49.ebuild
new file mode 100644
index 000000000000..88b3005d5a37
--- /dev/null
+++ b/app-text/gocr/gocr-0.49.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="An OCR (Optical Character Recognition) reader"
+HOMEPAGE="http://jocr.sourceforge.net"
+SRC_URI="http://www-e.uni-magdeburg.de/jschulen/ocr/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc scanner tk"
+
+DEPEND=">=media-libs/netpbm-9.12
+ doc? ( >=media-gfx/transfig-3.2 app-text/ghostscript-gpl )
+ tk? ( dev-lang/tk )"
+RDEPEND="${DEPEND}
+ tk? (
+ media-gfx/xli
+ scanner? ( media-gfx/xsane )
+ )"
+
+src_compile() {
+ local mymakes="src man"
+
+ use doc && mymakes="${mymakes} doc examples"
+
+ emake ${mymakes}
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="${EPREFIX}/usr" exec_prefix="${EPREFIX}/usr" install
+ dodoc AUTHORS BUGS CREDITS HISTORY RE* TODO
+
+ # remove the tk frontend if tk is not selected
+ use tk || rm "${ED}"/usr/bin/gocr.tcl
+ # and install the documentation and examples
+ if use doc ; then
+ dodoc doc/gocr.html doc/examples.txt doc/unicode.txt
+ insinto /usr/share/doc/${PF}/examples
+ doins "${S}"/examples/*.{fig,tex,pcx}
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/app-text/gocr/gocr-0.50.ebuild b/app-text/gocr/gocr-0.50.ebuild
new file mode 100644
index 000000000000..5a67d28e8b0c
--- /dev/null
+++ b/app-text/gocr/gocr-0.50.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="An OCR (Optical Character Recognition) reader"
+HOMEPAGE="http://jocr.sourceforge.net"
+SRC_URI="http://www-e.uni-magdeburg.de/jschulen/ocr/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc scanner tk"
+
+DEPEND=">=media-libs/netpbm-9.12
+ doc? ( >=media-gfx/transfig-3.2 app-text/ghostscript-gpl )
+ tk? ( dev-lang/tk )"
+RDEPEND="${DEPEND}
+ tk? (
+ media-gfx/xli
+ scanner? ( media-gfx/xsane )
+ )"
+
+src_compile() {
+ local mymakes="src man"
+
+ use doc && mymakes="${mymakes} doc examples"
+
+ emake ${mymakes}
+}
+
+src_install() {
+ emake DESTDIR="${D}" prefix="${EPREFIX}/usr" exec_prefix="${EPREFIX}/usr" install
+ dodoc AUTHORS BUGS CREDITS HISTORY RE* TODO
+
+ # remove the tk frontend if tk is not selected
+ use tk || rm "${ED}"/usr/bin/gocr.tcl
+ # and install the documentation and examples
+ if use doc ; then
+ dodoc doc/gocr.html doc/examples.txt doc/unicode.txt
+ insinto /usr/share/doc/${PF}/examples
+ doins "${S}"/examples/*.{fig,tex,pcx}
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/app-text/gocr/metadata.xml b/app-text/gocr/metadata.xml
new file mode 100644
index 000000000000..822a31236591
--- /dev/null
+++ b/app-text/gocr/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>tex@gentoo.org</email>
+ <name>Gentoo TeX Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">jocr</remote-id>
+ </upstream>
+</pkgmetadata>