Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/gnome-nibbles/files/, games-arcade/gnome-nibbles/
Date: Sun, 29 Mar 2020 16:19:20
Message-Id: 1585498694.e52de2378db772c4eb955ec6aad5f6b733b2e094.leio@gentoo
1 commit: e52de2378db772c4eb955ec6aad5f6b733b2e094
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 29 16:17:51 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 29 16:18:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e52de237
7
8 games-arcade/gnome-nibbles: bump to 3.36.0
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 games-arcade/gnome-nibbles/Manifest | 1 +
14 .../files/3.36.0-drop-unnecessary-files.patch | 34 +++++++++++++++
15 .../gnome-nibbles/gnome-nibbles-3.36.0.ebuild | 51 ++++++++++++++++++++++
16 3 files changed, 86 insertions(+)
17
18 diff --git a/games-arcade/gnome-nibbles/Manifest b/games-arcade/gnome-nibbles/Manifest
19 index 30b76d5b16a..730a781931c 100644
20 --- a/games-arcade/gnome-nibbles/Manifest
21 +++ b/games-arcade/gnome-nibbles/Manifest
22 @@ -1 +1,2 @@
23 DIST gnome-nibbles-3.32.0.tar.xz 495180 BLAKE2B dd7c14a1ec3900e25b64f92519c51eadedf5eac6faa9f8a35612876cf2bb796049f278e904e796aba427f579c5bda093a15dd5310141b9dd7be179b0ecf5b629 SHA512 f151b66edcde40e971113cdff7f3b92d740b2f04d943a168cc5471a18fabf5649d31d68beb3ad3ce29f91b36d34ff49725ce0c67f87184f6af1cafd0aed92349
24 +DIST gnome-nibbles-3.36.0.tar.xz 317624 BLAKE2B 6b9a582964ba03520e83900bdf00043133edac3ec3fd63a183687875026f70349efa737fd0f6e27fa2feeaf577f1e2957bd02a24213c2ddd573f6fae7c695922 SHA512 f7753589e2bab5d87528cf5dd4365fdc0920555d480cac225f99a9bb5b6c5670779d43602ce8f715c6a185a304c606a1121fb139eb493df69d17a40dffa8d4a4
25
26 diff --git a/games-arcade/gnome-nibbles/files/3.36.0-drop-unnecessary-files.patch b/games-arcade/gnome-nibbles/files/3.36.0-drop-unnecessary-files.patch
27 new file mode 100644
28 index 00000000000..63ae2102606
29 --- /dev/null
30 +++ b/games-arcade/gnome-nibbles/files/3.36.0-drop-unnecessary-files.patch
31 @@ -0,0 +1,34 @@
32 +From 2ca8c1e70635eba7f667e5d97b6d85bda2374b9e Mon Sep 17 00:00:00 2001
33 +From: Mart Raudsepp <leio@g.o>
34 +Date: Sun, 29 Mar 2020 19:13:14 +0300
35 +Subject: [PATCH] meson: Don't install data files consumed as gresources
36 +
37 +Fixes #36
38 +---
39 + data/meson.build | 10 ----------
40 + 1 file changed, 10 deletions(-)
41 +
42 +diff --git a/data/meson.build b/data/meson.build
43 +index 08fa461..0492411 100644
44 +--- a/data/meson.build
45 ++++ b/data/meson.build
46 +@@ -32,16 +32,6 @@ install_data([
47 + 'teleport.ogg'
48 + ], install_dir: sounddir)
49 +
50 +-# UI files
51 +-install_data([
52 +- 'nibbles.ui',
53 +- 'nibbles.css',
54 +- 'scoreboard.ui',
55 +- 'player-score-box.ui',
56 +- 'controls-grid.ui',
57 +- 'preferences-dialog.ui'
58 +-], install_dir: pkgdatadir)
59 +-
60 + # Icons
61 + foreach size: [ '16x16', '22x22', '24x24', '32x32', '48x48' ]
62 + install_data(join_paths('icons', 'hicolor', size, 'org.gnome.Nibbles.png'),
63 +--
64 +2.20.1
65 +
66
67 diff --git a/games-arcade/gnome-nibbles/gnome-nibbles-3.36.0.ebuild b/games-arcade/gnome-nibbles/gnome-nibbles-3.36.0.ebuild
68 new file mode 100644
69 index 00000000000..a8604f0c04c
70 --- /dev/null
71 +++ b/games-arcade/gnome-nibbles/gnome-nibbles-3.36.0.ebuild
72 @@ -0,0 +1,51 @@
73 +# Copyright 1999-2020 Gentoo Authors
74 +# Distributed under the terms of the GNU General Public License v2
75 +
76 +EAPI=7
77 +
78 +inherit gnome.org gnome2-utils meson vala xdg
79 +
80 +DESCRIPTION="Nibbles clone for Gnome"
81 +HOMEPAGE="https://wiki.gnome.org/Apps/Nibbles"
82 +
83 +LICENSE="GPL-3+ CC-BY-SA-3.0"
84 +SLOT="0"
85 +KEYWORDS="~amd64 ~arm64 ~x86"
86 +IUSE=""
87 +
88 +RDEPEND="
89 + >=dev-libs/glib-2.40.0:2
90 + >=media-libs/clutter-1.22.0:1.0
91 + >=media-libs/clutter-gtk-1.4.0:1.0
92 + dev-libs/libgee:0.8=
93 + >=media-libs/gsound-1.0.2
94 + >=x11-libs/gtk+-3.18.0:3
95 + dev-libs/libgnome-games-support:1=
96 +"
97 +DEPEND="${RDEPEND}"
98 +BDEPEND="
99 + dev-util/itstool
100 + >=sys-devel/gettext-0.19.8
101 + virtual/pkgconfig
102 + $(vala_depend)
103 + media-libs/gsound[vala]
104 +"
105 +
106 +PATCHES=(
107 + "${FILESDIR}"/${PV}-drop-unnecessary-files.patch # https://gitlab.gnome.org/GNOME/gnome-nibbles/merge_requests/11
108 +)
109 +
110 +src_prepare() {
111 + xdg_src_prepare
112 + vala_src_prepare
113 +}
114 +
115 +pkg_postinst() {
116 + xdg_pkg_postinst
117 + gnome2_schemas_update
118 +}
119 +
120 +pkg_postrm() {
121 + xdg_pkg_postrm
122 + gnome2_schemas_update
123 +}