Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gnome-chess/, profiles/
Date: Sun, 18 Apr 2021 03:45:54
Message-Id: 1618717545.01d58fbb4e74a9dcaa29d2a5a0f36fefe433f012.mattst88@gentoo
1 commit: 01d58fbb4e74a9dcaa29d2a5a0f36fefe433f012
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 18 03:32:10 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 03:45:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d58fbb
7
8 games-board/gnome-chess: Version bump to 40.1
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 games-board/gnome-chess/Manifest | 1 +
13 games-board/gnome-chess/gnome-chess-40.1.ebuild | 56 +++++++++++++++++++++++++
14 profiles/package.mask | 2 +
15 3 files changed, 59 insertions(+)
16
17 diff --git a/games-board/gnome-chess/Manifest b/games-board/gnome-chess/Manifest
18 index 34ba4648c7e..6c99f370c2c 100644
19 --- a/games-board/gnome-chess/Manifest
20 +++ b/games-board/gnome-chess/Manifest
21 @@ -1 +1,2 @@
22 DIST gnome-chess-3.36.1.tar.xz 738308 BLAKE2B 14d328b9939afb12f14b513cfa009e3fb197f6c35c5272df107ce844890339caecbb5dafbd0bd28a19d001ebc0574464b33ea2ca10a9f7578b49d1e6f637e190 SHA512 4c89f91fe16323a799cf1eb3fe1f8e37fd506248ca32ad605ca3d5ecd37cf29f046da50383e0d0c3d82acf4e472843f3fd40927283f37e02d42cee5d8c72d8b3
23 +DIST gnome-chess-40.1.tar.xz 741168 BLAKE2B 3691f7aa03532456f9437588641417af4db45b99ffb0f211eca8dffd7a7ba7cf834c7f1e3e2cf6933df96c05b981edb7db3aac430be2c7256d96fca6ecb73db4 SHA512 aae1690724c068717045d70f4fbd5a6cf1fc169ae0bd5df0ae7f0d7a2609c93c482da545008dd3c5d11e975ec8f2c5fc6f4b0007a8f2a1128a75aec2f3fcb083
24
25 diff --git a/games-board/gnome-chess/gnome-chess-40.1.ebuild b/games-board/gnome-chess/gnome-chess-40.1.ebuild
26 new file mode 100644
27 index 00000000000..d0026406ab6
28 --- /dev/null
29 +++ b/games-board/gnome-chess/gnome-chess-40.1.ebuild
30 @@ -0,0 +1,56 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +VALA_MIN_API_VERSION="0.52"
37 +
38 +inherit gnome.org gnome2-utils meson python-any-r1 readme.gentoo-r1 vala xdg
39 +
40 +DESCRIPTION="Play the classic two-player boardgame of chess"
41 +HOMEPAGE="https://wiki.gnome.org/Apps/Chess"
42 +
43 +LICENSE="GPL-3+"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
46 +
47 +RDEPEND="
48 + >=dev-libs/glib-2.44:2
49 + gui-libs/gtk:4
50 + >=gnome-base/librsvg-2.46.0:2
51 +"
52 +DEPEND="${RDEPEND}
53 + gnome-base/librsvg:2[vala]
54 +"
55 +BDEPEND="
56 + ${PYTHON_DEPS}
57 + $(vala_depend)
58 + dev-util/itstool
59 + dev-libs/appstream-glib
60 + >=sys-devel/gettext-0.19.8
61 + virtual/pkgconfig
62 +"
63 +
64 +DOC_CONTENTS="To be able to play against a computer you will need
65 +to install a chess engine package, for example games-board/gnuchess"
66 +
67 +src_prepare() {
68 + xdg_src_prepare
69 + vala_src_prepare
70 +}
71 +
72 +src_install() {
73 + meson_src_install
74 + readme.gentoo_create_doc
75 +}
76 +
77 +pkg_postinst() {
78 + xdg_pkg_postinst
79 + gnome2_schemas_update
80 + readme.gentoo_print_elog
81 +}
82 +
83 +pkg_postrm() {
84 + xdg_pkg_postrm
85 + gnome2_schemas_update
86 +}
87
88 diff --git a/profiles/package.mask b/profiles/package.mask
89 index 244d76f49ae..77b93bf70c4 100644
90 --- a/profiles/package.mask
91 +++ b/profiles/package.mask
92 @@ -36,6 +36,7 @@
93 # Masked for testing.
94 >=dev-libs/vala-common-0.51
95 dev-lang/vala:0.52
96 +>=games-board/gnome-chess-40
97
98 # Michał Górny <mgorny@g.o> (2021-04-17)
99 # Superseded by dev-python/pycodestyle. Last revdep masked for removal.
100 @@ -155,6 +156,7 @@ gui-libs/gtk
101 >=gnome-extra/gnome-shell-extensions-40
102 >=x11-wm/mutter-40
103 >=media-sound/gnome-music-40
104 +>=games-board/gnome-chess-40
105
106 # David Seifert <soap@g.o> (2021-04-05)
107 # Completely broken, unmaintained, does not build. Newer version