1 |
|
# Copyright 1999-2023 Gentoo Authors
|
|
1 |
# Copyright 2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
|
|
6 |
5 |
PYTHON_COMPAT=( python3_{10..12} )
|
7 |
6 |
inherit gnome.org gnome2-utils meson optfeature python-any-r1 toolchain-funcs virtualx xdg
|
8 |
7 |
|
... | ... | |
17 |
16 |
test? ( introspection )
|
18 |
17 |
"
|
19 |
18 |
|
20 |
|
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ppc ppc64 ~riscv sparc x86"
|
|
19 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
21 |
20 |
|
22 |
21 |
COMMON_DEPEND="
|
23 |
|
>=dev-libs/glib-2.72.0:2
|
|
22 |
>=dev-libs/glib-2.76.0:2
|
24 |
23 |
>=x11-libs/cairo-1.17.6[aqua?,glib,svg(+),X?]
|
25 |
24 |
>=x11-libs/pango-1.50.0[introspection?]
|
26 |
25 |
>=dev-libs/fribidi-1.0.6
|
... | ... | |
42 |
41 |
>=media-libs/gst-plugins-bad-1.12.3:1.0
|
43 |
42 |
>=media-libs/gst-plugins-base-1.12.3:1.0[opengl]
|
44 |
43 |
)
|
45 |
|
introspection? ( >=dev-libs/gobject-introspection-1.72:= )
|
|
44 |
introspection? ( >=dev-libs/gobject-introspection-1.76:= )
|
46 |
45 |
vulkan? ( media-libs/vulkan-loader:= )
|
47 |
46 |
wayland? (
|
48 |
47 |
>=dev-libs/wayland-1.21.0
|
49 |
|
>=dev-libs/wayland-protocols-1.25
|
|
48 |
>=dev-libs/wayland-protocols-1.31
|
50 |
49 |
media-libs/mesa[wayland]
|
51 |
50 |
>=x11-libs/libxkbcommon-0.2
|
52 |
51 |
)
|
... | ... | |
85 |
84 |
')
|
86 |
85 |
)
|
87 |
86 |
dev-python/docutils
|
|
87 |
dev-libs/glib
|
88 |
88 |
>=dev-util/gdbus-codegen-2.48
|
89 |
89 |
dev-util/glib-utils
|
90 |
90 |
>=sys-devel/gettext-0.19.7
|
... | ... | |
152 |
152 |
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71993
|
153 |
153 |
$(meson_feature cpu_flags_x86_f16c f16c)
|
154 |
154 |
|
155 |
|
# Documentation and introspection
|
156 |
|
-Dgtk_doc=false # we ship pregenerated API docs from tarball
|
157 |
|
-Dupdate_screenshots=false
|
158 |
|
-Dman-pages=true
|
|
155 |
# Introspection
|
159 |
156 |
$(meson_feature introspection)
|
160 |
157 |
|
161 |
|
# Demos and binaries
|
|
158 |
# Documentation
|
|
159 |
-Ddocumentation=false # we ship pregenerated API docs from tarball
|
|
160 |
-Dscreenshots=false
|
|
161 |
-Dman-pages=true
|
|
162 |
|
|
163 |
# Demos, examples, and tests
|
|
164 |
-Ddemo-profile=default
|
|
165 |
$(meson_use examples build-demos)
|
162 |
166 |
$(meson_use test build-testsuite)
|
163 |
167 |
$(meson_use examples build-examples)
|
164 |
|
$(meson_use examples demos)
|
165 |
168 |
-Dbuild-tests=false
|
166 |
169 |
)
|
167 |
170 |
meson_src_configure
|