Diff myspell-pt-20120420 with a gftp-2.9.1b-r1
/usr/portage/net-ftp/gftp/gftp-2.9.1b-r1.ebuild 2024-12-25 14:59:51.243270144 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2024 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 |
inherit gnome2 |
|
5 | 6 | |
6 |
MYSPELL_DICT=( |
|
7 |
"pt_PT.aff" |
|
8 |
"pt_PT.dic" |
|
9 |
) |
|
7 |
DESCRIPTION="a free multithreaded file transfer client" |
|
8 |
HOMEPAGE="https://github.com/masneyb/gftp" |
|
9 |
SRC_URI="https://github.com/masneyb/gftp/releases/download/${PV}/${P}.tar.xz" |
|
10 | 10 | |
11 |
MYSPELL_HYPH=( |
|
12 |
"hyph_pt_PT.dic" |
|
13 |
) |
|
11 |
# Override gnome.org.eclass's S= (bug #904064) |
|
12 |
S="${WORKDIR}/${P}" |
|
14 | 13 | |
15 |
MYSPELL_THES=( |
|
16 |
"th_pt_PT.dat" |
|
17 |
"th_pt_PT.idx" |
|
18 |
) |
|
19 | ||
20 |
inherit myspell-r2 |
|
14 |
LICENSE="GPL-2" |
|
15 |
SLOT="0" |
|
16 |
KEYWORDS="~alpha amd64 ~arm64 ppc ppc64 ~riscv sparc x86" |
|
17 |
IUSE="gtk ssl" |
|
21 | 18 | |
22 |
DESCRIPTION="Portuguese dictionaries for myspell/hunspell" |
|
23 |
HOMEPAGE="https://natura.di.uminho.pt/wiki/doku.php?id=dicionarios:main" |
|
24 |
# The dicts are not versioned. |
|
25 |
# Version is determined by its date of upload to the server. |
|
26 |
# Check at: http://darkstar.ist.utl.pt/openoffice.org/pt/ |
|
27 |
SRC_URI=" |
|
28 |
http://darkstar.ist.utl.pt/openoffice.org/pt/oo3x-pt-PT.oxt |
|
29 |
preao? ( http://darkstar.ist.utl.pt/openoffice.org/pt/oo3x-pt-PT-preao.oxt ) |
|
19 |
RDEPEND=" |
|
20 |
dev-libs/glib:2 |
|
21 |
sys-libs/ncurses:0= |
|
22 |
sys-libs/readline:0 |
|
23 |
gtk? ( x11-libs/gtk+:2 ) |
|
24 |
ssl? ( dev-libs/openssl:0= ) |
|
25 |
" |
|
26 |
DEPEND="${RDEPEND}" |
|
27 |
BDEPEND=" |
|
28 |
sys-devel/gettext |
|
29 |
virtual/pkgconfig |
|
30 | 30 |
" |
31 | 31 | |
32 |
LICENSE="GPL-2 MIT" |
|
33 |
SLOT="0" |
|
34 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86" |
|
35 |
IUSE="+preao" |
|
32 |
PATCHES=( |
|
33 |
# https://github.com/masneyb/gftp/issues/178 |
|
34 |
"${FILESDIR}"/"${P}"-fix-socklen-type.patch |
|
35 |
) |
|
36 | ||
37 |
src_prepare() { |
|
38 |
gnome2_src_prepare |
|
39 |
# https://github.com/masneyb/gftp/issues/181 |
|
40 |
sed -i -e 's/Icon=gftp.png/Icon=gftp/' docs/gftp.desktop || die |
|
41 |
} |
|
42 | ||
43 |
src_configure() { |
|
44 |
gnome2_src_configure \ |
|
45 |
$(use_enable gtk gtkport) \ |
|
46 |
$(use_enable ssl) |
|
47 |
} |
|
48 | ||
49 |
src_install() { |
|
50 |
gnome2_src_install |
|
51 |
dodoc docs/USERS-GUIDE |
|
52 |
} |