11 |
11 |
|
12 |
12 |
LICENSE="GPL-2+ LGPL-2+"
|
13 |
13 |
SLOT="0"
|
14 |
|
IUSE="elogind gtk-doc +ibus +networkmanager systemd test"
|
|
14 |
IUSE="elogind gtk-doc +ibus +networkmanager pipewire systemd test"
|
15 |
15 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
16 |
16 |
?? ( elogind systemd )"
|
17 |
17 |
RESTRICT="!test? ( test )"
|
18 |
18 |
|
19 |
|
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
|
|
19 |
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
|
20 |
20 |
|
21 |
21 |
# libXfixes-5.0 needed for pointer barriers and #include <X11/extensions/Xfixes.h>
|
22 |
22 |
DEPEND="
|
... | ... | |
25 |
25 |
>=dev-libs/glib-2.68:2
|
26 |
26 |
>=dev-libs/gobject-introspection-1.49.1:=
|
27 |
27 |
>=dev-libs/gjs-1.73.1[cairo]
|
28 |
|
>=x11-libs/gtk+-3.15.0:3[introspection]
|
29 |
|
>=x11-wm/mutter-44.0:0/12[introspection,test?]
|
|
28 |
>=gui-libs/gtk-4:4[introspection]
|
|
29 |
>=x11-wm/mutter-45.0:0/13[introspection,test?]
|
30 |
30 |
>=sys-auth/polkit-0.120_p20220509[introspection]
|
31 |
31 |
>=gnome-base/gsettings-desktop-schemas-42_beta[introspection]
|
32 |
32 |
>=x11-libs/startup-notification-0.11
|
33 |
33 |
>=app-i18n/ibus-1.5.19
|
34 |
|
>=gnome-base/gnome-desktop-40.0:4
|
|
34 |
>=gnome-base/gnome-desktop-40.0:4=
|
35 |
35 |
networkmanager? (
|
36 |
36 |
>=net-misc/networkmanager-1.10.4[introspection]
|
37 |
37 |
net-libs/libnma[introspection]
|
38 |
38 |
>=app-crypt/libsecret-0.18
|
39 |
39 |
dev-libs/dbus-glib
|
40 |
40 |
)
|
|
41 |
pipewire? ( >=media-video/pipewire-0.3.49:= )
|
41 |
42 |
systemd? (
|
42 |
|
>=sys-apps/systemd-242:=
|
|
43 |
>=sys-apps/systemd-246:=
|
43 |
44 |
>=gnome-base/gnome-desktop-3.34.2:3=[systemd]
|
44 |
45 |
)
|
45 |
46 |
elogind? ( >=sys-auth/elogind-237 )
|
... | ... | |
121 |
122 |
app-text/docbook-xml-dtd:4.5 )
|
122 |
123 |
>=sys-devel/gettext-0.19.8
|
123 |
124 |
virtual/pkgconfig
|
124 |
|
test? ( x11-wm/mutter[test] )
|
|
125 |
test? (
|
|
126 |
sys-apps/dbus
|
|
127 |
x11-wm/mutter[test]
|
|
128 |
)
|
125 |
129 |
"
|
126 |
130 |
# These are not needed from tarballs, unless stylesheets or manpage get patched with patchset:
|
127 |
131 |
# dev-lang/sassc
|
... | ... | |
141 |
145 |
|
142 |
146 |
src_configure() {
|
143 |
147 |
local emesonargs=(
|
|
148 |
$(meson_use pipewire camera_monitor)
|
144 |
149 |
-Dextensions_tool=true
|
145 |
150 |
-Dextensions_app=true
|
146 |
151 |
$(meson_use gtk-doc gtk_doc)
|
... | ... | |
150 |
155 |
$(meson_use systemd) # this controls journald integration and desktop file user services related property only as of 3.34.4
|
151 |
156 |
# (structured logging and having gnome-shell launched apps use its own identifier instead of gnome-session)
|
152 |
157 |
# suspend support is runtime optional via /run/systemd/seats presence and org.freedesktop.login1.Manager dbus interface; elogind should provide what's necessary
|
153 |
|
-Dsoup2=false
|
154 |
158 |
)
|
155 |
159 |
meson_src_configure
|
156 |
160 |
}
|
157 |
161 |
|
158 |
162 |
src_test() {
|
159 |
163 |
gnome2_environment_reset # Avoid dconf that looks at XDG_DATA_DIRS, which can sandbox fail if flatpak is installed
|
160 |
|
virtx meson_src_test
|
|
164 |
virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
|
161 |
165 |
}
|
162 |
166 |
|
163 |
167 |
pkg_postinst() {
|