8 |
8 |
HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-desktop/"
|
9 |
9 |
|
10 |
10 |
LICENSE="GPL-2+ LGPL-2+ FDL-1.1+"
|
11 |
|
SLOT="3/20" # subslot = libgnome-desktop-3 soname version
|
12 |
|
IUSE="debug +introspection seccomp systemd udev"
|
|
11 |
SLOT="4/2" # subslot = libgnome-desktop-4 soname version
|
|
12 |
IUSE="debug gtk-doc seccomp systemd udev"
|
13 |
13 |
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
|
14 |
14 |
|
15 |
15 |
COMMON_DEPEND="
|
16 |
|
>=x11-libs/gdk-pixbuf-2.36.5:2[introspection?]
|
17 |
|
>=x11-libs/gtk+-3.3.6:3[introspection?]
|
|
16 |
>=x11-libs/gdk-pixbuf-2.36.5:2[introspection]
|
|
17 |
>=gui-libs/gtk-4.4.0:4[introspection]
|
18 |
18 |
>=dev-libs/glib-2.53.0:2
|
19 |
|
>=gnome-base/gsettings-desktop-schemas-3.27.0[introspection?]
|
|
19 |
>=gnome-base/gsettings-desktop-schemas-3.27.0[introspection]
|
20 |
20 |
x11-misc/xkeyboard-config
|
21 |
21 |
x11-libs/libxkbcommon
|
22 |
22 |
app-text/iso-codes
|
... | ... | |
25 |
25 |
seccomp? ( sys-libs/libseccomp )
|
26 |
26 |
|
27 |
27 |
x11-libs/cairo
|
28 |
|
introspection? ( >=dev-libs/gobject-introspection-1.54:= )
|
|
28 |
>=dev-libs/gobject-introspection-1.54:=
|
29 |
29 |
"
|
30 |
30 |
DEPEND="${COMMON_DEPEND}
|
31 |
31 |
media-libs/fontconfig
|
32 |
32 |
"
|
33 |
33 |
RDEPEND="${COMMON_DEPEND}
|
34 |
34 |
seccomp? ( sys-apps/bubblewrap )
|
35 |
|
!<gnome-base/gnome-desktop-${PV}:4
|
|
35 |
!<gnome-base/gnome-desktop-${PV}:3
|
36 |
36 |
"
|
37 |
37 |
BDEPEND="
|
38 |
38 |
app-text/docbook-xml-dtd:4.1.2
|
39 |
39 |
dev-util/gdbus-codegen
|
|
40 |
gtk-doc? ( >=dev-util/gtk-doc-1.14 )
|
40 |
41 |
dev-util/itstool
|
41 |
42 |
>=sys-devel/gettext-0.19.8
|
42 |
43 |
virtual/pkgconfig
|
... | ... | |
52 |
53 |
|
53 |
54 |
src_configure() {
|
54 |
55 |
local emesonargs=(
|
55 |
|
-Ddesktop_docs=false
|
|
56 |
-Ddesktop_docs=true
|
56 |
57 |
$(meson_use debug debug_tools)
|
57 |
|
$(meson_use introspection)
|
58 |
58 |
$(meson_feature udev)
|
59 |
59 |
$(meson_feature systemd)
|
60 |
|
-Dgtk_doc=false
|
|
60 |
$(meson_use gtk-doc gtk_doc)
|
61 |
61 |
-Dinstalled_tests=false
|
62 |
|
-Dbuild_gtk4=false
|
63 |
|
-Dlegacy_library=true
|
|
62 |
-Dbuild_gtk4=true
|
|
63 |
-Dlegacy_library=false
|
|
64 |
-Dintrospection=true
|
64 |
65 |
)
|
65 |
66 |
meson_src_configure
|
66 |
67 |
}
|
67 |
|
|
68 |
|
src_install() {
|
69 |
|
meson_src_install
|
70 |
|
|
71 |
|
rm -r \
|
72 |
|
"${ED}"/usr/share/locale \
|
73 |
|
|| die
|
74 |
|
}
|