2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
|
PYTHON_COMPAT=( python3_{9..11} )
|
|
5 |
PYTHON_COMPAT=( python3_{10..12} )
|
6 |
6 |
|
7 |
7 |
inherit gnome.org gnome2-utils python-any-r1 meson udev virtualx xdg
|
8 |
8 |
|
... | ... | |
14 |
14 |
IUSE="+colord +cups debug elogind input_devices_wacom modemmanager networkmanager smartcard systemd test wayland"
|
15 |
15 |
RESTRICT="!test? ( test )"
|
16 |
16 |
REQUIRED_USE="^^ ( elogind systemd )"
|
17 |
|
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
|
17 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
18 |
18 |
|
19 |
19 |
COMMON_DEPEND="
|
20 |
20 |
>=sci-geosciences/geocode-glib-3.10:2
|
... | ... | |
27 |
27 |
media-libs/libcanberra[gtk3]
|
28 |
28 |
>=app-misc/geoclue-2.3.1:2.0
|
29 |
29 |
>=x11-libs/libnotify-0.7.3
|
30 |
|
>=media-sound/pulseaudio-12.99.3[glib]
|
|
30 |
>=media-libs/libpulse-16.1[glib]
|
31 |
31 |
>=sys-auth/polkit-0.114
|
32 |
32 |
>=sys-power/upower-0.99.12:=
|
33 |
33 |
x11-libs/libX11
|
... | ... | |
39 |
39 |
>=x11-libs/pango-1.20.0
|
40 |
40 |
x11-libs/gdk-pixbuf:2
|
41 |
41 |
)
|
42 |
|
smartcard? ( >=dev-libs/nss-3.11.2 )
|
|
42 |
smartcard? ( app-crypt/gcr:4= )
|
43 |
43 |
cups? ( >=net-print/cups-1.4[dbus] )
|
44 |
44 |
modemmanager? (
|
45 |
45 |
>=app-crypt/gcr-3.90.0:4=
|
... | ... | |
62 |
62 |
gnome-base/dconf
|
63 |
63 |
elogind? ( sys-auth/elogind )
|
64 |
64 |
"
|
65 |
|
# rfkill requires linux/rfkill.h, thus linux-headers dep, not os-headers. If this package wants to work on other kernels, we need to make rfkill conditional instead
|
|
65 |
# rfkill requires linux/rfkill.h, thus linux-headers dep, not os-headers.
|
|
66 |
# If this package wants to work on other kernels, we need to make rfkill conditional instead
|
66 |
67 |
BDEPEND="
|
67 |
68 |
sys-kernel/linux-headers
|
68 |
69 |
dev-util/glib-utils
|
69 |
70 |
dev-util/gdbus-codegen
|
70 |
71 |
${PYTHON_DEPS}
|
71 |
72 |
test? (
|
|
73 |
dev-util/umockdev
|
72 |
74 |
$(python_gen_any_dep '
|
73 |
75 |
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
74 |
76 |
dev-python/python-dbusmock[${PYTHON_USEDEP}]
|
... | ... | |
97 |
99 |
|
98 |
100 |
src_configure() {
|
99 |
101 |
local emesonargs=(
|
100 |
|
#-Dnssdb_dir # TODO: Is the default /etc/pki/nssdb path correct for our nss?
|
101 |
102 |
-Dudev_dir="$(get_udevdir)"
|
102 |
103 |
$(meson_use systemd)
|
103 |
104 |
-Dalsa=true
|