Сравнение gupnp-1.4.3 с gupnp-1.6.5

/usr/portage/net-libs/gupnp/gupnp-1.6.5.ebuild 2023-10-09 14:52:34.476368476 +0300
1 1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
5
PYTHON_COMPAT=( python3_{9..11} )
4
EAPI=8
5

  
6
PYTHON_COMPAT=( python3_{10..12} )
6 7
PYTHON_REQ_USE="xml(+)"
7 8

  
8 9
inherit gnome.org meson-multilib python-single-r1 vala xdg
......
11 12
HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/gupnp"
12 13

  
13 14
LICENSE="LGPL-2+ GPL-2+" # gupnp-binding-tool is GPL-2+
14
SLOT="0/1.2-0" # <API version>-<soname>
15
SLOT="1.6/1.6-0" # <API version>-<soname>
15 16
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc x86"
16 17

  
17
IUSE="connman gtk-doc +introspection networkmanager vala"
18
IUSE="connman gtk-doc +introspection networkmanager +vala"
18 19
REQUIRED_USE="${PYTHON_REQUIRED_USE}
19 20
	?? ( connman networkmanager )
21
	gtk-doc? ( introspection )
20 22
"
21 23

  
22 24
# prefix: uuid dependency can be adapted to non-linux platforms
23 25
RDEPEND="${PYTHON_DEPS}
24
	>=dev-libs/glib-2.66:2[${MULTILIB_USEDEP}]
25
	>=net-libs/gssdp-1.3.0:0=[introspection?,${MULTILIB_USEDEP}]
26
	>=net-libs/libsoup-2.48.0:2.4[introspection?,${MULTILIB_USEDEP}]
26
	>=dev-libs/glib-2.70:2[${MULTILIB_USEDEP}]
27
	>=net-libs/gssdp-1.6.2:1.6=[introspection?,${MULTILIB_USEDEP}]
27 28
	>=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
29
	>=net-libs/libsoup-2.99.0:3.0[introspection?,${MULTILIB_USEDEP}]
28 30
	>=sys-apps/util-linux-2.24.1-r3[${MULTILIB_USEDEP}]
29 31
	introspection? ( >=dev-libs/gobject-introspection-1.54:= )
30 32
"
31 33
DEPEND="${RDEPEND}"
32 34
BDEPEND="
33 35
	dev-util/glib-utils
34
	gtk-doc? ( >=dev-util/gtk-doc-1.14
35
		app-text/docbook-xml-dtd:4.1.2
36
		app-text/docbook-xml-dtd:4.2 )
36
	gtk-doc? ( >=dev-util/gi-docgen-2021.1 )
37 37
	dev-libs/libxslt
38 38
	app-text/docbook-xsl-stylesheets
39 39
	virtual/pkgconfig
40 40
	!connman? ( !networkmanager? ( kernel_linux? ( sys-kernel/linux-headers ) ) )
41 41
	vala? ( $(vala_depend)
42
		>=net-libs/gssdp-1.3.0:0[vala]
43
		net-libs/libsoup:2.4[vala]
42
		>=net-libs/gssdp-1.5.2:1.6[vala]
43
		net-libs/libsoup:3.0[vala]
44 44
	)
45 45
"
46 46

  
47
PATCHES=(
48
	"${FILESDIR}"/${PN}-1.4.3-meson-1.2.0-fix.patch
49
)
50

  
51 47
src_prepare() {
52
	use introspection && vala_src_prepare
53
	xdg_src_prepare
48
	default
49
	use vala && vala_setup
54 50

  
55 51
	# This makes sense for upstream but not for us downstream, bug #906124.
56 52
	sed -i -e '/-Werror=deprecated-declarations/d' meson.build || die
......
73 69
}
74 70

  
75 71
multilib_src_install_all() {
76
	python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.2
72
	python_fix_shebang "${ED}"/usr/bin/gupnp-binding-tool-1.6
73
	if use gtk-doc ; then
74
		mkdir "${ED}"/usr/share/gtk-doc || die
75
		mv "${ED}"/usr/share/{doc,gtk-doc}/gupnp-1.6 || die
76
	fi
77 77
}
Спасибо!