Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/hunspell: hunspell-1.3.3.ebuild ChangeLog
Date: Fri, 01 Aug 2014 20:00:17
Message-Id: 20140801200012.9C89B2004F@flycatcher.gentoo.org
1 polynomial-c 14/08/01 20:00:11
2
3 Modified: ChangeLog
4 Added: hunspell-1.3.3.ebuild
5 Log:
6 Version bump (bug #518740).
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
9
10 Revision Changes Path
11 1.113 app-text/hunspell/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/hunspell/ChangeLog?rev=1.113&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/hunspell/ChangeLog?rev=1.113&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/hunspell/ChangeLog?r1=1.112&r2=1.113
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v
20 retrieving revision 1.112
21 retrieving revision 1.113
22 diff -u -r1.112 -r1.113
23 --- ChangeLog 5 Jan 2014 11:34:08 -0000 1.112
24 +++ ChangeLog 1 Aug 2014 20:00:11 -0000 1.113
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-text/hunspell
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.112 2014/01/05 11:34:08 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/ChangeLog,v 1.113 2014/08/01 20:00:11 polynomial-c Exp $
30 +
31 +*hunspell-1.3.3 (01 Aug 2014)
32 +
33 + 01 Aug 2014; Lars Wendler <polynomial-c@g.o> +hunspell-1.3.3.ebuild,
34 + +files/hunspell-1.3.3-multibyte-chars.patch:
35 + Version bump (bug #518740 by Jan Seeger).
36
37 05 Jan 2014; Pacho Ramos <pacho@g.o> metadata.xml:
38 Cleanup due http://gentoo.2317880.n4.nabble.com/app-dicts-herd-is-empty-
39
40
41
42 1.1 app-text/hunspell/hunspell-1.3.3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/hunspell/hunspell-1.3.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/hunspell/hunspell-1.3.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: hunspell-1.3.3.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-text/hunspell/hunspell-1.3.3.ebuild,v 1.1 2014/08/01 20:00:11 polynomial-c Exp $
52
53 EAPI=5
54 inherit eutils multilib autotools flag-o-matic versionator
55
56 MY_P=${PN}-${PV/_beta/b}
57
58 DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo."
59 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
60 HOMEPAGE="http://hunspell.sourceforge.net/"
61
62 SLOT="0"
63 LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
64 IUSE="ncurses nls readline static-libs"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
66
67 RDEPEND="
68 ncurses? ( sys-libs/ncurses )
69 readline? ( sys-libs/readline )"
70 DEPEND="${RDEPEND}
71 sys-devel/gettext"
72
73 # describe properly mi
74 LANGS="af bg ca cs cy da de el en eo es et fo fr ga gl he hr hu ia id is it km
75 ku lt lv mk ms nb nl nn pl pt pt_BR ro ru sk sl sq sv sw tn uk zu"
76
77 DICT_DEP="app-dicts/myspell-en"
78 for lang in ${LANGS}; do
79 if [[ ${lang} == de ]] ; then
80 DICT_DEP+=" linguas_de? (
81 || (
82 app-dicts/myspell-de
83 app-dicts/myspell-de-alt
84 )
85 )"
86 else
87 DICT_DEP+=" linguas_${lang}? ( app-dicts/myspell-${lang/pt_BR/pt-br} )"
88 fi
89 IUSE+=" linguas_${lang}"
90 done
91 PDEPEND="${DICT_DEP}"
92
93 unset lang LANGS DICT_DEP
94
95 S=${WORKDIR}/${MY_P}
96
97 DOCS=(
98 AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell
99 AUTHORS.myspell README.myspell license.myspell
100 )
101
102 src_prepare() {
103 # Upstream package creates some executables which names are too generic
104 # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'.
105 # It modifies a Makefile.am file, hence eautoreconf.
106 epatch "${FILESDIR}"/${PN}-1.3-renameexes.patch \
107 "${FILESDIR}"/${PN}-1.3.3-multibyte-chars.patch
108 eautoreconf
109 }
110
111 src_configure() {
112 # missing somehow, and I am too lazy to fix it properly
113 [[ ${CHOST} == *-darwin* ]] && append-libs -liconv
114
115 # I wanted to put the include files in /usr/include/hunspell.
116 # You can do that, libreoffice can find them anywhere, just
117 # ping me when you do so ; -- scarabeus
118 econf \
119 $(use_enable nls) \
120 $(use_with ncurses ui) \
121 $(use_with readline readline) \
122 $(use_enable static-libs static)
123 }
124
125 src_install() {
126 default
127
128 prune_libtool_files --all
129
130 #342449
131 pushd "${ED}"/usr/$(get_libdir)/ >/dev/null
132 ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.0.0.0,.so}
133 popd >/dev/null
134 }