Сравнение autoupnp-0.4.7 с autoupnp-0.5.0
/usr/portage/net-misc/autoupnp/autoupnp-0.5.0.ebuild 2023-10-09 14:52:34.632368480 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | ||
6 |
inherit meson |
|
5 | 7 | |
6 | 8 |
DESCRIPTION="Automatic open port forwarder using UPnP" |
7 | 9 |
HOMEPAGE="https://github.com/projg2/autoupnp/" |
8 |
SRC_URI="https://github.com/projg2/autoupnp/releases/download/v${PV}/${P}.tar.bz2" |
|
10 |
SRC_URI=" |
|
11 |
https://github.com/projg2/autoupnp/archive/v${PV}.tar.gz |
|
12 |
-> ${P}.tar.gz |
|
13 |
" |
|
9 | 14 | |
10 | 15 |
LICENSE="BSD" |
11 | 16 |
SLOT="0" |
12 | 17 |
KEYWORDS="~amd64 ~x86" |
13 | 18 |
IUSE="libnotify" |
14 | 19 | |
15 |
RDEPEND="net-libs/miniupnpc:0= |
|
16 |
libnotify? ( x11-libs/libtinynotify:0= )" |
|
17 |
DEPEND="${RDEPEND}" |
|
20 |
DEPEND=" |
|
21 |
net-libs/miniupnpc:0= |
|
22 |
libnotify? ( x11-libs/libtinynotify:0= ) |
|
23 |
" |
|
24 |
RDEPEND=" |
|
25 |
${DEPEND} |
|
26 |
" |
|
18 | 27 | |
19 | 28 |
src_configure() { |
20 |
local myconf=( |
|
21 |
$(use_with libnotify) |
|
29 |
local emesonargs=( |
|
30 |
$(meson_feature libnotify) |
|
22 | 31 |
) |
23 | ||
24 |
econf "${myconf[@]}" |
|
25 |
} |
|
26 | ||
27 |
src_install() { |
|
28 |
default |
|
29 |
find "${D}" -name '*.la' -delete || die |
|
32 |
meson_src_configure |
|
30 | 33 |
} |