1 |
commit: b268f3f2111adb7ff48ad722f07dfe992eeb93e6 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 27 17:47:15 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 27 18:02:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b268f3f2 |
7 |
|
8 |
app-text/hunspell: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.38, Repoman-2.3.9 |
11 |
|
12 |
app-text/hunspell/hunspell-1.6.2.ebuild | 86 --------------------------------- |
13 |
1 file changed, 86 deletions(-) |
14 |
|
15 |
diff --git a/app-text/hunspell/hunspell-1.6.2.ebuild b/app-text/hunspell/hunspell-1.6.2.ebuild |
16 |
deleted file mode 100644 |
17 |
index f1690601d39..00000000000 |
18 |
--- a/app-text/hunspell/hunspell-1.6.2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,86 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
-inherit ltprune multilib autotools flag-o-matic versionator |
26 |
- |
27 |
-MY_P=${PN}-${PV/_beta/b} |
28 |
- |
29 |
-DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in OOo" |
30 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
31 |
-HOMEPAGE="https://github.com/hunspell" |
32 |
- |
33 |
-SLOT="0/$(get_version_component_range 1-2)" |
34 |
-LICENSE="MPL-1.1 GPL-2 LGPL-2.1" |
35 |
-IUSE="ncurses nls readline static-libs" |
36 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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" |
37 |
- |
38 |
-RDEPEND=" |
39 |
- ncurses? ( sys-libs/ncurses:0= ) |
40 |
- readline? ( sys-libs/readline:= )" |
41 |
-DEPEND="${RDEPEND} |
42 |
- sys-devel/gettext" |
43 |
- |
44 |
-LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id |
45 |
-is it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk |
46 |
-zu" |
47 |
- |
48 |
-PDEPEND="app-dicts/myspell-en" |
49 |
-for lang in ${LANGS}; do |
50 |
- IUSE+=" l10n_${lang}" |
51 |
- case ${lang} in |
52 |
- de-1901) dict="de_1901" ;; |
53 |
- pt-BR) dict="pt-br" ;; |
54 |
- *) dict="${lang}" ;; |
55 |
- esac |
56 |
- PDEPEND+=" l10n_${lang}? ( app-dicts/myspell-${dict} )" |
57 |
-done |
58 |
-unset dict lang LANGS |
59 |
- |
60 |
-S="${WORKDIR}/${MY_P}" |
61 |
- |
62 |
-DOCS=( |
63 |
- AUTHORS ChangeLog NEWS README THANKS TODO license.hunspell |
64 |
- AUTHORS.myspell README.myspell license.myspell README.md |
65 |
-) |
66 |
- |
67 |
-PATCHES=( |
68 |
- # Upstream package creates some executables which names are too generic |
69 |
- # to be placed in /usr/bin - this patch prefixes them with 'hunspell-'. |
70 |
- # It modifies a Makefile.am file, hence eautoreconf. |
71 |
- "${FILESDIR}/${PN}-1.6.2-renameexes.patch" |
72 |
-) |
73 |
- |
74 |
-src_prepare() { |
75 |
- default |
76 |
- eautoreconf |
77 |
-} |
78 |
- |
79 |
-src_configure() { |
80 |
- # missing somehow, and I am too lazy to fix it properly |
81 |
- [[ ${CHOST} == *-darwin* ]] && append-libs -liconv |
82 |
- |
83 |
- # I wanted to put the include files in /usr/include/hunspell. |
84 |
- # You can do that, libreoffice can find them anywhere, just |
85 |
- # ping me when you do so ; -- scarabeus |
86 |
- local myeconfargs=( |
87 |
- $(use_enable nls) |
88 |
- $(use_with ncurses ui) |
89 |
- $(use_with readline readline) |
90 |
- $(use_enable static-libs static) |
91 |
- ) |
92 |
- econf "${myeconfargs[@]}" |
93 |
-} |
94 |
- |
95 |
-src_install() { |
96 |
- default |
97 |
- |
98 |
- einstalldocs |
99 |
- |
100 |
- prune_libtool_files --all |
101 |
- |
102 |
- #342449 |
103 |
- pushd "${ED%/}"/usr/$(get_libdir)/ >/dev/null |
104 |
- ln -s lib${PN}{-$(get_major_version).$(get_version_component_range 2).so.0.0.1,.so} |
105 |
- popd >/dev/null |
106 |
-} |