You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.0 KiB
59 lines
1.0 KiB
8 months ago
|
# Copyright 1999-2024 Gentoo Authors
|
||
4 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
8 months ago
|
PYTHON_COMPAT=( python3_{10..11} )
|
||
4 years ago
|
|
||
|
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"
|
||
3 years ago
|
KEYWORDS="amd64 ~riscv x86"
|
||
4 years ago
|
|
||
|
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 '
|
||
3 years ago
|
>=dev-python/pygobject-3.3.91:3[${PYTHON_USEDEP}]
|
||
4 years ago
|
')
|
||
|
>=sys-apps/dbus-1
|
||
|
X? ( x11-libs/libwnck:3[introspection] )
|
||
|
"
|
||
|
BDEPEND="
|
||
|
dev-util/itstool
|
||
|
test? ( dev-python/pycodestyle )
|
||
|
"
|
||
|
|
||
3 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}"/${PN}-0.3.16-fix-meson-0.61.patch
|
||
|
)
|
||
|
|
||
4 years ago
|
src_configure() {
|
||
|
local emesonargs=(
|
||
|
$(meson_use test tests)
|
||
3 years ago
|
-Dpython="${EPYTHON}"
|
||
4 years ago
|
)
|
||
|
meson_src_configure
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
virtx meson_src_test
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
meson_src_install
|
||
|
python_optimize
|
||
|
}
|