From: | "Thomas Kahle (tomka)" <tomka@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/leptonica: leptonica-1.71.ebuild ChangeLog |
Date: | Tue, 29 Jul 2014 13:07:57 |
Message-Id: | 20140729130749.BAF8B2004E@flycatcher.gentoo.org |
1 | tomka 14/07/29 13:07:48 |
2 | |
3 | Modified: ChangeLog |
4 | Added: leptonica-1.71.ebuild |
5 | Log: |
6 | Bump to 1.71 |
7 | |
8 | (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 565C32BC) |
9 | |
10 | Revision Changes Path |
11 | 1.16 media-libs/leptonica/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/ChangeLog?rev=1.16&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/ChangeLog?rev=1.16&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/ChangeLog?r1=1.15&r2=1.16 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v |
20 | retrieving revision 1.15 |
21 | retrieving revision 1.16 |
22 | diff -u -r1.15 -r1.16 |
23 | --- ChangeLog 20 Jul 2014 13:27:06 -0000 1.15 |
24 | +++ ChangeLog 29 Jul 2014 13:07:48 -0000 1.16 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for media-libs/leptonica |
27 | # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.15 2014/07/20 13:27:06 klausman Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/ChangeLog,v 1.16 2014/07/29 13:07:48 tomka Exp $ |
30 | + |
31 | +*leptonica-1.71 (29 Jul 2014) |
32 | + |
33 | + 29 Jul 2014; Thomas Kahle <tomka@g.o> +leptonica-1.71.ebuild: |
34 | + Bump to 1.71 |
35 | |
36 | 20 Jul 2014; Tobias Klausmann <klausman@g.o> leptonica-1.70.ebuild: |
37 | Keyworded on alpha, bug #510240 |
38 | |
39 | |
40 | |
41 | 1.1 media-libs/leptonica/leptonica-1.71.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/leptonica-1.71.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/leptonica/leptonica-1.71.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: leptonica-1.71.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2014 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-libs/leptonica/leptonica-1.71.ebuild,v 1.1 2014/07/29 13:07:48 tomka Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | inherit eutils autotools-utils |
55 | |
56 | DESCRIPTION="C library for image processing and analysis" |
57 | HOMEPAGE="http://code.google.com/p/leptonica/" |
58 | SRC_URI="http://www.leptonica.com/source/${P}.tar.gz" |
59 | |
60 | LICENSE="Apache-2.0" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~x86" |
63 | IUSE="gif jpeg png tiff webp utils zlib static-libs" |
64 | |
65 | DEPEND="gif? ( media-libs/giflib ) |
66 | jpeg? ( virtual/jpeg ) |
67 | png? ( media-libs/libpng ) |
68 | tiff? ( media-libs/tiff ) |
69 | webp? ( media-libs/libwebp ) |
70 | zlib? ( sys-libs/zlib )" |
71 | RDEPEND="${DEPEND}" |
72 | |
73 | DOCS=( README version-notes ) |
74 | |
75 | src_prepare() { |
76 | # unhtmlize docs |
77 | local X |
78 | for X in ${DOCS[@]}; do |
79 | awk '/<\/pre>/{s--} {if (s) print $0} /<pre>/{s++}' \ |
80 | "${X}.html" > "${X}" || die 'awk failed' |
81 | rm -f -- "${X}.html" |
82 | done |
83 | autotools-utils_src_prepare |
84 | } |
85 | |
86 | src_configure() { |
87 | # $(use_with webp libwebp) -> unknown |
88 | # so use-flag just for pulling dependencies |
89 | # zlib handling see bug 454890 |
90 | local myeconfargs=( |
91 | $(use_with gif giflib) |
92 | $(use_with jpeg) |
93 | $(use_with png libpng) |
94 | $(use_with tiff libtiff) |
95 | $(use_enable utils programs) |
96 | $(use_enable static-libs static) |
97 | ) |
98 | # libpng requires zlib: |
99 | if use png && ! use zlib ; then |
100 | # Ignore users non-sensical choice of -zlib |
101 | myeconfargs+=("--with-zlib") |
102 | else |
103 | myeconfargs+=( $(use_with zlib) ) |
104 | fi |
105 | autotools-utils_src_configure |
106 | } |