diff --git a/games-board/gnome-chess/Manifest b/games-board/gnome-chess/Manifest index 3b7b302547b7a..39d7f16883f98 100644 --- a/games-board/gnome-chess/Manifest +++ b/games-board/gnome-chess/Manifest @@ -1,2 +1,3 @@ DIST gnome-chess-46.0.tar.xz 782212 BLAKE2B dec141cac14b59b02a3c4e0f10b09e450bf962ff5b688a7cfb31b274e1b92bd0c09a6afa3a32bb21a137114edb349ff3ac7aa88918481374fe2d4baeeca7cef2 SHA512 e605b9750fdc77a0d2b6973f127fb2cf5fadb15080add728c80a8be5ce02035ff6cadb0351751a0612f09632602fe532405d62c68828fd0ec4bf83b9bd11301a DIST gnome-chess-47.0.tar.xz 825264 BLAKE2B 6fdbfe37daa437f2220969306ffbf46f7ce6bd53c02a5def4da0a4c7b705ba839299612289d5e5fb8f10624fe7981129b28566c7df5f5eec30e28186620c310c SHA512 3989d22b6b2c9ec9efec35deb4304176e8fe79d87623809bd6a926cf4b77a9ac866d2c059b8d07bda9179632891112124e1b657f930dbaac3e03e9ee6d5da090 +DIST gnome-chess-48.0.tar.xz 826100 BLAKE2B e8e88b5e2b5ba3690a90ca7bc27c1caed4065b9067b12c8e404f021654e8cdeb7beca6f1077f20c068a6097cdc63b1a74355420a329c1e2d1842fcdf46a286d7 SHA512 b3674406bb5cac690fff68b29ddc8063b037711f79c86c86b30e246631daa549ef25ed5c76fd91824a4318137dd339abc4061d2b628a5652dde10b3b6fbeb3a4 diff --git a/games-board/gnome-chess/gnome-chess-48.0.ebuild b/games-board/gnome-chess/gnome-chess-48.0.ebuild new file mode 100644 index 0000000000000..e38f195be9434 --- /dev/null +++ b/games-board/gnome-chess/gnome-chess-48.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit gnome.org gnome2-utils meson readme.gentoo-r1 vala xdg + +DESCRIPTION="Play the classic two-player boardgame of chess" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-chess" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +RDEPEND=" + >=dev-libs/glib-2.44:2 + >=gui-libs/gtk-4.14:4 + >=gui-libs/libadwaita-1.5:1 + >=gnome-base/librsvg-2.46.0:2 + x11-libs/pango +" +DEPEND="${RDEPEND} + gnome-base/librsvg:2[vala] +" +BDEPEND=" + ${PYTHON_DEPS} + $(vala_depend) + dev-util/itstool + dev-libs/appstream-glib + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +DOC_CONTENTS="To be able to play against a computer you will need +to install a chess engine package, for example games-board/gnuchess" + +src_prepare() { + default + vala_setup + xdg_environment_reset +} + +src_install() { + meson_src_install + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + readme.gentoo_print_elog +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}