Сравнение libportal-0.6 с libportal-0.7.1

/usr/portage/dev-libs/libportal/libportal-0.7.1.ebuild 2023-10-09 14:52:29.524368351 +0300
1
# Copyright 2022 Gentoo Authors
1
# Copyright 2022-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
inherit meson vala virtualx
6
PYTHON_COMPAT=( python3_{10..12} )
7
inherit meson python-any-r1 vala virtualx
7 8

  
8 9
DESCRIPTION="Flatpak portal library"
9 10
HOMEPAGE="https://github.com/flatpak/libportal"
......
11 12

  
12 13
LICENSE="LGPL-3"
13 14
SLOT="0/1-1-1-1" # soname of libportal{,-gtk3,-gtk4,-qt5}.so
14
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86"
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
15 16
IUSE="gtk gtk-doc +introspection qt5 test +vala"
16 17
RESTRICT="!test? ( test )"
17 18
REQUIRED_USE="
......
45 46
	qt5? (
46 47
		test? ( dev-qt/linguist-tools )
47 48
	)
49
	test? (
50
		${PYTHON_DEPS}
51
		$(python_gen_any_dep '
52
			dev-python/pytest[${PYTHON_USEDEP}]
53
			dev-python/dbus-python[${PYTHON_USEDEP}]
54
			dev-python/python-dbusmock[${PYTHON_USEDEP}]
55
		')
56
	)
48 57
	vala? ( $(vala_depend) )
49 58
"
50 59

  
60
python_check_deps() {
61
	python_has_version \
62
		"dev-python/pytest[${PYTHON_USEDEP}]" \
63
		"dev-python/dbus-python[${PYTHON_USEDEP}]" \
64
		"dev-python/python-dbusmock[${PYTHON_USEDEP}]"
65
}
66

  
67
pkg_setup() {
68
	if use test; then
69
		python-any-r1_pkg_setup
70
	fi
71
}
72

  
51 73
src_prepare() {
52 74
	default
53 75
	vala_setup
54 76
}
55 77

  
56 78
src_configure() {
57
	local backends
58
	use gtk && backends+="gtk3,gtk4,"
59
	use qt5 && backends+="qt5,"
60

  
61 79
	local emesonargs=(
62
		-Dbackends=${backends%,}
80
		$(meson_feature gtk backend-gtk3)
81
		$(meson_feature gtk backend-gtk4)
82
		$(meson_feature qt5 backend-qt5)
63 83
		-Dportal-tests=false
64 84
		$(meson_use introspection)
65 85
		$(meson_use vala vapi)
Спасибо!