Diff amule-2.3.3 with a amule-2.3.3-r1
/usr/portage/net-p2p/amule/amule-2.3.3-r1.ebuild 2023-10-09 14:52:34.732368482 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 |
WX_GTK_VER="3.0-gtk3" |
6 | 6 | |
7 |
inherit wxwidgets xdg-utils |
|
7 |
inherit autotools flag-o-matic wxwidgets xdg-utils |
|
8 | 8 | |
9 | 9 |
if [[ ${PV} == 9999 ]] ; then |
10 | 10 |
EGIT_REPO_URI="https://github.com/amule-project/amule" |
... | ... | |
13 | 13 |
MY_P="${PN/m/M}-${PV}" |
14 | 14 |
SRC_URI="https://download.sourceforge.net/${PN}/${MY_P}.tar.xz" |
15 | 15 |
S="${WORKDIR}/${MY_P}" |
16 |
KEYWORDS="~alpha amd64 ~arm ppc ppc64 ~riscv ~sparc x86" |
|
16 |
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86" |
|
17 | 17 |
fi |
18 | 18 | |
19 | 19 |
DESCRIPTION="aMule, the all-platform eMule p2p client" |
... | ... | |
45 | 45 |
" |
46 | 46 |
BDEPEND=" |
47 | 47 |
virtual/pkgconfig |
48 |
>=sys-devel/boost-m4-0.4_p20221019 |
|
48 | 49 |
nls? ( sys-devel/gettext ) |
49 | 50 |
" |
50 | 51 | |
51 | 52 |
PATCHES=( |
52 | 53 |
"${FILESDIR}/${PN}-2.3.2-disable-version-check.patch" |
53 | 54 |
"${FILESDIR}/${PN}-2.3.3-fix-exception.patch" |
55 |
"${FILESDIR}/${P}-autoconf-2.70.patch" |
|
54 | 56 |
) |
55 | 57 | |
56 | 58 |
pkg_setup() { |
... | ... | |
59 | 61 | |
60 | 62 |
src_prepare() { |
61 | 63 |
default |
64 |
rm m4/boost.m4 || die |
|
62 | 65 | |
63 | 66 |
if [[ ${PV} == 9999 ]]; then |
64 | 67 |
./autogen.sh || die |
68 |
else |
|
69 |
eautoreconf |
|
65 | 70 |
fi |
66 | 71 |
} |
67 | 72 | |
68 | 73 |
src_configure() { |
74 |
append-cxxflags -std=gnu++14 |
|
75 | ||
69 | 76 |
local myconf=( |
70 | 77 |
--with-denoise-level=0 |
71 | 78 |
--with-wx-config="${WX_CONFIG}" |