diff options
author | Mart Raudsepp <leio@gentoo.org> | 2024-03-17 00:42:32 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2024-03-17 00:46:21 +0200 |
commit | 26c7120d7a11517595bff584d61186d5c98d9535 (patch) | |
tree | 1fd54c01606560881686bf006390a2fc3880e2ba /app-accessibility | |
parent | media-gfx/eog: add 45.3 (diff) | |
download | gentoo-26c7120d7a11517595bff584d61186d5c98d9535.tar.gz gentoo-26c7120d7a11517595bff584d61186d5c98d9535.tar.bz2 gentoo-26c7120d7a11517595bff584d61186d5c98d9535.zip |
app-accessibility/at-spi2-core: add 2.50.2
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/at-spi2-core/Manifest | 1 | ||||
-rw-r--r-- | app-accessibility/at-spi2-core/at-spi2-core-2.50.2.ebuild | 76 |
2 files changed, 77 insertions, 0 deletions
diff --git a/app-accessibility/at-spi2-core/Manifest b/app-accessibility/at-spi2-core/Manifest index fe691a490137..a089d62360c6 100644 --- a/app-accessibility/at-spi2-core/Manifest +++ b/app-accessibility/at-spi2-core/Manifest @@ -1 +1,2 @@ DIST at-spi2-core-2.50.1.tar.xz 567836 BLAKE2B 88916f322efa547be2249388a5f7b698ff7fb9464bc98fa929524616d0d25237328c10678df800b9ce325a3050804e9b0044a43024d06b71381dfc32917700a3 SHA512 d0b342a1ff2a3dd91aa87663412289d1616906c14a37e81b8514882d44981092356dc8a5d5c66b6d980d2cdf22128fff74651a4af6cad73cb62fd3154c5bbeae +DIST at-spi2-core-2.50.2.tar.xz 569124 BLAKE2B 7a69dbeb68b674d5b4e458dc10ba0e266583216f6a45f1924dee28e848bc124802f5181b0b1cc969eae2dfbb13df56b0c87bb1f347f6e323f6474d02a3543664 SHA512 a1c9ca77d34801b421c13f66d72e6101b23896dd210efbd7931ac0778e30c51a20759796a8c121946f57c1683626fd3ef34f88e5ad6495c20f6ac79fd0a96aa4 diff --git a/app-accessibility/at-spi2-core/at-spi2-core-2.50.2.ebuild b/app-accessibility/at-spi2-core/at-spi2-core-2.50.2.ebuild new file mode 100644 index 000000000000..af495ba597c9 --- /dev/null +++ b/app-accessibility/at-spi2-core/at-spi2-core-2.50.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org meson-multilib systemd virtualx xdg + +DESCRIPTION="D-Bus accessibility specifications and registration daemon" +HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core" + +LICENSE="LGPL-2.1+" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="X dbus-broker gtk-doc +introspection systemd" +REQUIRED_USE=" + dbus-broker? ( systemd ) + gtk-doc? ( X ) +" + +DEPEND=" + >=sys-apps/dbus-1.5[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.67.4:2[${MULTILIB_USEDEP}] + >=dev-libs/libxml2-2.9.1:2[${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.54.0:= ) + systemd? ( sys-apps/systemd[${MULTILIB_USEDEP}] ) + X? ( + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXtst[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + ) + + !<dev-libs/atk-2.46.0 + !<app-accessibility/at-spi2-atk-2.46.0 +" +RDEPEND="${DEPEND} + dbus-broker? ( sys-apps/dbus-broker ) +" +BDEPEND=" + dev-util/glib-utils + gtk-doc? ( + dev-python/sphinx + dev-util/gdbus-codegen + >=dev-util/gi-docgen-2021.1 + ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +multilib_src_configure() { + local emesonargs=( + -Ddefault_bus=$(usex dbus-broker dbus-broker dbus-daemon) + $(meson_use systemd use_systemd) + -Dgtk2_atk_adaptor=true + -Dsystemd_user_dir="$(systemd_get_userunitdir)" + $(meson_native_use_bool gtk-doc docs) + $(meson_native_use_feature introspection) + $(meson_feature X x11) + -Ddisable_p2p=false + -Datk_only=false + ) + meson_src_configure +} + +multilib_src_test() { + virtx dbus-run-session meson test -C "${BUILD_DIR}" || die +} + +multilib_src_install_all() { + einstalldocs + + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/{libatspi,atk} || die + mv "${ED}"/usr/share/doc/libatspi "${ED}"/usr/share/gtk-doc/libatspi/html || die + mv "${ED}"/usr/share/doc/atk "${ED}"/usr/share/gtk-doc/atk/html || die + fi +} |