Diff gftp-2.9.1b 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 | 4 |
EAPI=8 |
| 5 | 5 |
inherit gnome2 |
| 6 | 6 | |
| 7 | 7 |
DESCRIPTION="a free multithreaded file transfer client" |
| 8 |
SRC_URI="https://github.com/masneyb/gftp/releases/download/${PV}/${P}.tar.xz"
|
|
| 9 | 8 |
HOMEPAGE="https://github.com/masneyb/gftp" |
| 9 |
SRC_URI="https://github.com/masneyb/gftp/releases/download/${PV}/${P}.tar.xz"
|
|
| 10 | ||
| 11 |
# Override gnome.org.eclass's S= (bug #904064) |
|
| 12 |
S="${WORKDIR}/${P}"
|
|
| 10 | 13 | |
| 11 | 14 |
LICENSE="GPL-2" |
| 12 | 15 |
SLOT="0" |
| ... | ... | |
| 26 | 29 |
virtual/pkgconfig |
| 27 | 30 |
" |
| 28 | 31 | |
| 29 |
# Override gnome.org.eclass's S= (bug #904064) |
|
| 30 |
S="${WORKDIR}/${P}"
|
|
| 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 |
} |
|
| 31 | 42 | |
| 32 | 43 |
src_configure() {
|
| 33 | 44 |
gnome2_src_configure \ |