blob: efd7093136e1748ce6029a5892912c6744b2affc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..11} )
inherit gnome2 meson python-single-r1 virtualx
DESCRIPTION="D-Feet is a powerful D-Bus debugger"
HOMEPAGE="https://wiki.gnome.org/Apps/DFeet"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~riscv x86"
IUSE="test +X"
RESTRICT="!test? ( test )"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
>=x11-libs/gtk+-3.9.4:3[introspection]
>=dev-libs/gobject-introspection-0.9.6:=
"
RDEPEND="
${DEPEND}
>=dev-libs/glib-2.34:2
$(python_gen_cond_dep '
>=dev-python/pygobject-3.3.91:3[${PYTHON_USEDEP}]
')
>=sys-apps/dbus-1
X? ( x11-libs/libwnck:3[introspection] )
"
BDEPEND="
dev-util/itstool
test? ( dev-python/pycodestyle )
"
PATCHES=(
"${FILESDIR}"/${PN}-0.3.16-fix-meson-0.61.patch
)
src_configure() {
local emesonargs=(
$(meson_use test tests)
-Dpython="${EPYTHON}"
)
meson_src_configure
}
src_test() {
virtx meson_src_test
}
src_install() {
meson_src_install
python_optimize
}
|