commit:     e52de2378db772c4eb955ec6aad5f6b733b2e094
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 29 16:17:51 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 29 16:18:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e52de237

games-arcade/gnome-nibbles: bump to 3.36.0

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 games-arcade/gnome-nibbles/Manifest                |  1 +
 .../files/3.36.0-drop-unnecessary-files.patch      | 34 +++++++++++++++
 .../gnome-nibbles/gnome-nibbles-3.36.0.ebuild      | 51 ++++++++++++++++++++++
 3 files changed, 86 insertions(+)

diff --git a/games-arcade/gnome-nibbles/Manifest 
b/games-arcade/gnome-nibbles/Manifest
index 30b76d5b16a..730a781931c 100644
--- a/games-arcade/gnome-nibbles/Manifest
+++ b/games-arcade/gnome-nibbles/Manifest
@@ -1 +1,2 @@
 DIST gnome-nibbles-3.32.0.tar.xz 495180 BLAKE2B 
dd7c14a1ec3900e25b64f92519c51eadedf5eac6faa9f8a35612876cf2bb796049f278e904e796aba427f579c5bda093a15dd5310141b9dd7be179b0ecf5b629
 SHA512 
f151b66edcde40e971113cdff7f3b92d740b2f04d943a168cc5471a18fabf5649d31d68beb3ad3ce29f91b36d34ff49725ce0c67f87184f6af1cafd0aed92349
+DIST gnome-nibbles-3.36.0.tar.xz 317624 BLAKE2B 
6b9a582964ba03520e83900bdf00043133edac3ec3fd63a183687875026f70349efa737fd0f6e27fa2feeaf577f1e2957bd02a24213c2ddd573f6fae7c695922
 SHA512 
f7753589e2bab5d87528cf5dd4365fdc0920555d480cac225f99a9bb5b6c5670779d43602ce8f715c6a185a304c606a1121fb139eb493df69d17a40dffa8d4a4

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
new file mode 100644
index 00000000000..63ae2102606
--- /dev/null
+++ b/games-arcade/gnome-nibbles/files/3.36.0-drop-unnecessary-files.patch
@@ -0,0 +1,34 @@
+From 2ca8c1e70635eba7f667e5d97b6d85bda2374b9e Mon Sep 17 00:00:00 2001
+From: Mart Raudsepp <l...@gentoo.org>
+Date: Sun, 29 Mar 2020 19:13:14 +0300
+Subject: [PATCH] meson: Don't install data files consumed as gresources
+
+Fixes #36
+---
+ data/meson.build | 10 ----------
+ 1 file changed, 10 deletions(-)
+
+diff --git a/data/meson.build b/data/meson.build
+index 08fa461..0492411 100644
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -32,16 +32,6 @@ install_data([
+     'teleport.ogg'
+ ], install_dir: sounddir)
+ 
+-# UI files
+-install_data([
+-    'nibbles.ui',
+-    'nibbles.css',
+-    'scoreboard.ui',
+-    'player-score-box.ui',
+-    'controls-grid.ui',
+-    'preferences-dialog.ui'
+-], install_dir: pkgdatadir)
+-
+ # Icons
+ foreach size: [ '16x16', '22x22', '24x24', '32x32', '48x48' ]
+     install_data(join_paths('icons', 'hicolor', size, 
'org.gnome.Nibbles.png'),
+-- 
+2.20.1
+

diff --git a/games-arcade/gnome-nibbles/gnome-nibbles-3.36.0.ebuild 
b/games-arcade/gnome-nibbles/gnome-nibbles-3.36.0.ebuild
new file mode 100644
index 00000000000..a8604f0c04c
--- /dev/null
+++ b/games-arcade/gnome-nibbles/gnome-nibbles-3.36.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome.org gnome2-utils meson vala xdg
+
+DESCRIPTION="Nibbles clone for Gnome"
+HOMEPAGE="https://wiki.gnome.org/Apps/Nibbles";
+
+LICENSE="GPL-3+ CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+RDEPEND="
+       >=dev-libs/glib-2.40.0:2
+       >=media-libs/clutter-1.22.0:1.0
+       >=media-libs/clutter-gtk-1.4.0:1.0
+       dev-libs/libgee:0.8=
+       >=media-libs/gsound-1.0.2
+       >=x11-libs/gtk+-3.18.0:3
+       dev-libs/libgnome-games-support:1=
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       dev-util/itstool
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+       $(vala_depend)
+       media-libs/gsound[vala]
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PV}-drop-unnecessary-files.patch # 
https://gitlab.gnome.org/GNOME/gnome-nibbles/merge_requests/11
+)
+
+src_prepare() {
+       xdg_src_prepare
+       vala_src_prepare
+}
+
+pkg_postinst() {
+       xdg_pkg_postinst
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_pkg_postrm
+       gnome2_schemas_update
+}

Reply via email to