Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/recode/
Date: Thu, 03 Aug 2017 20:19:01
Message-Id: 1501791485.9c343e06432ce0b604e94ce635c0f52bb8ced776.monsieurp@gentoo
1 commit: 9c343e06432ce0b604e94ce635c0f52bb8ced776
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 3 20:17:56 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 3 20:18:05 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c343e06
7
8 app-text/recode: version bump.
9
10 Gentoo-Bug: https://bugs.gentoo.org/503358
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.1
13
14 app-text/recode/Manifest | 1 +
15 app-text/recode/recode-3.7_pre20140303.ebuild | 42 +++++++++++++++++++++++++++
16 2 files changed, 43 insertions(+)
17
18 diff --git a/app-text/recode/Manifest b/app-text/recode/Manifest
19 index c045d7c18db..cbb6d515936 100644
20 --- a/app-text/recode/Manifest
21 +++ b/app-text/recode/Manifest
22 @@ -1,2 +1,3 @@
23 DIST recode-3.6.tar.gz 1751886 SHA256 e3e6a4f3f8e5c6052ab70155990c074d87aa0b614fc1be31d194750d1d962fcf SHA512 68de277ac8cd5f6023bb077b959ab5778a78edac1299d507bab906824080b6f86e9bfcd89169aa474197c2faa9af2ceb1ed272c8dd4d50caef373afa05daed1b WHIRLPOOL 08eef3eea75d1898800d9f18eec95f50706b4e75285ce22e71723069f7e2a07ee762693c8366e5139add65b319276ced71b6f046884c1e75eb89a3922b7f3dab
24 +DIST recode-3.7_pre20140303.zip 1902903 SHA256 baba145f8c8aa7ba223419dadc942f2182450925283c1067fa16f87b3a9b3857 SHA512 256d79d6f9de18bbf53cb322f0467411ef2ff8e4f242d073d7302fbd05e4942373023514d0a88e33701280c1cb4e0235d76efb9220729cd1f91f9ad8fd2407de WHIRLPOOL 19290f675cacc30ee51f198d765d27af9d03d7a6e0f048b1f14b812f7cf11533a542dbd1bc13c61037ae327a5b5693e07a5bd9b1aa3d244266f2f658ca378dfd
25 DIST recode_3.6-20.debian.tar.gz 341117 SHA256 ec0e25d91a8d5e4a61e8e2876c338ae6c1ba89018f02ff1ee4eb01cb7c44e7ee SHA512 bc586534e77b49da7d387187a8ddb042a12871f87f4f32c818ce7218b7254ac5ba6eccb14aaaf0312579f27958883f2da620016a7049c3af24c8bfba81acc3ef WHIRLPOOL 72f00b3d6732b8794456795d847dbb2114c2577b8d5c9683c8fcb41d3bd92548322dc9d73d38af3a4811fb531d9482d1a5d37ee6600cf281bed4ceb6e794b058
26
27 diff --git a/app-text/recode/recode-3.7_pre20140303.ebuild b/app-text/recode/recode-3.7_pre20140303.ebuild
28 new file mode 100644
29 index 00000000000..f155462078f
30 --- /dev/null
31 +++ b/app-text/recode/recode-3.7_pre20140303.ebuild
32 @@ -0,0 +1,42 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +inherit flag-o-matic libtool toolchain-funcs
39 +
40 +DESCRIPTION="Convert files between various character sets"
41 +HOMEPAGE="http://recode.progiciels-bpi.ca/"
42 +REV="2d7092a9999194fc0e9449717a8048c8d8e26c18"
43 +SRC_URI="https://github.com/pinard/Recode/archive/${REV}.zip -> ${P}.zip"
44 +
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
48 +IUSE="nls static-libs"
49 +
50 +DEPEND="
51 + sys-devel/flex
52 + nls? ( sys-devel/gettext )"
53 +
54 +S="${WORKDIR}/Recode-${REV}"
55 +
56 +# tests fail.
57 +RESTRICT="test"
58 +
59 +src_configure() {
60 + tc-export CC LD
61 + # on solaris -lintl is needed to compile
62 + [[ ${CHOST} == *-solaris* ]] && append-libs "-lintl"
63 + # --without-included-gettext means we always use system headers
64 + # and library
65 + econf \
66 + $(use_enable nls) \
67 + $(use_enable static-libs static)
68 +}
69 +
70 +src_install() {
71 + default
72 + find "${ED}" -name '*.la' -exec rm -f {} + || die
73 + rm -f "${ED}"/usr/lib/charset.alias || die
74 +}