Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/gocr: ChangeLog gocr-0.50.ebuild
Date: Mon, 20 May 2013 14:13:18
Message-Id: 20130520141313.74A692171D@flycatcher.gentoo.org
1 aballier 13/05/20 14:13:13
2
3 Modified: ChangeLog
4 Added: gocr-0.50.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.69 app-text/gocr/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gocr/ChangeLog?rev=1.69&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gocr/ChangeLog?rev=1.69&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gocr/ChangeLog?r1=1.68&r2=1.69
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v
20 retrieving revision 1.68
21 retrieving revision 1.69
22 diff -u -r1.68 -r1.69
23 --- ChangeLog 2 Sep 2012 04:27:33 -0000 1.68
24 +++ ChangeLog 20 May 2013 14:13:13 -0000 1.69
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-text/gocr
27 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.68 2012/09/02 04:27:33 radhermit Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/app-text/gocr/ChangeLog,v 1.69 2013/05/20 14:13:13 aballier Exp $
31 +
32 +*gocr-0.50 (20 May 2013)
33 +
34 + 20 May 2013; Alexis Ballier <aballier@g.o> +gocr-0.50.ebuild:
35 + version bump
36
37 02 Sep 2012; Tim Harder <radhermit@g.o> -gocr-0.45.ebuild,
38 -files/gocr-0.45-makefile.patch, -gocr-0.48.ebuild:
39
40
41
42 1.1 app-text/gocr/gocr-0.50.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gocr/gocr-0.50.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gocr/gocr-0.50.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gocr-0.50.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-text/gocr/gocr-0.50.ebuild,v 1.1 2013/05/20 14:13:13 aballier Exp $
52
53 EAPI=4
54
55 DESCRIPTION="An OCR (Optical Character Recognition) reader"
56 HOMEPAGE="http://jocr.sourceforge.net"
57 SRC_URI="http://www-e.uni-magdeburg.de/jschulen/ocr/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
62 IUSE="doc scanner tk"
63
64 DEPEND=">=media-libs/netpbm-9.12
65 doc? ( >=media-gfx/transfig-3.2 app-text/ghostscript-gpl )
66 tk? ( dev-lang/tk )"
67 RDEPEND="${DEPEND}
68 tk? (
69 media-gfx/xli
70 scanner? ( media-gfx/xsane )
71 )"
72
73 src_compile() {
74 local mymakes="src man"
75
76 use doc && mymakes="${mymakes} doc examples"
77
78 emake ${mymakes}
79 }
80
81 src_install() {
82 emake DESTDIR="${D}" prefix="${EPREFIX}/usr" exec_prefix="${EPREFIX}/usr" install
83 dodoc AUTHORS BUGS CREDITS HISTORY RE* TODO
84
85 # remove the tk frontend if tk is not selected
86 use tk || rm "${ED}"/usr/bin/gocr.tcl
87 # and install the documentation and examples
88 if use doc ; then
89 dodoc doc/gocr.html doc/examples.txt doc/unicode.txt
90 insinto /usr/share/doc/${PF}/examples
91 doins "${S}"/examples/*.{fig,tex,pcx}
92 docompress -x /usr/share/doc/${PF}/examples
93 fi
94 }