Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/meandmyshadow/files/, games-puzzle/meandmyshadow/
Date: Sat, 02 Jan 2021 00:07:21
Message-Id: 1609545847.3e16a24d63c349d5d784a5c4013a0dc1f9eddca5.asturm@gentoo
1 commit: 3e16a24d63c349d5d784a5c4013a0dc1f9eddca5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 1 23:56:07 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 00:04:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e16a24d
7
8 games-puzzle/meandmyshadow: EAPI-7 bump, switch to cmake, xdg-utils
9
10 - New HOMEPAGE
11 - Revert broken/unnecessary patch file change.
12
13 Closes: https://bugs.gentoo.org/659598
14 Package-Manager: Portage-3.0.12, Repoman-3.0.2
15 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
16
17 .../meandmyshadow/files/meandmyshadow-0.4-cmake.patch | 6 +++---
18 games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild | 17 +++++++++--------
19 2 files changed, 12 insertions(+), 11 deletions(-)
20
21 diff --git a/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
22 index 504f6c0987a..0bd66d5d284 100644
23 --- a/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
24 +++ b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
25 @@ -1,6 +1,6 @@
26 ---- a/CMakeLists.txt
27 -+++ b/CMakeLists.txt
28 -@@ -15,13 +15,12 @@
29 +--- meandmyshadow-0.4.orig/CMakeLists.txt
30 ++++ meandmyshadow-0.4/CMakeLists.txt
31 +@@ -15,13 +15,12 @@
32 Find_Package(CURL REQUIRED)
33 Find_Package(LibArchive REQUIRED)
34 Find_Package(OpenSSL REQUIRED)
35
36 diff --git a/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild b/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
37 index d576bee444c..809adb12079 100644
38 --- a/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
39 +++ b/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
40 @@ -1,12 +1,13 @@
41 -# Copyright 1999-2020 Gentoo Authors
42 +# Copyright 1999-2021 Gentoo Authors
43 # Distributed under the terms of the GNU General Public License v2
44
45 -EAPI=6
46 +EAPI=7
47
48 -inherit cmake-utils gnome2-utils
49 +inherit cmake xdg-utils
50
51 -DESCRIPTION="A puzzle/platform game with a player and its shadow"
52 -HOMEPAGE="http://meandmyshadow.sourceforge.net/"
53 +DESCRIPTION="Puzzle/platform game with a player and its shadow"
54 +HOMEPAGE="https://acmepjz.github.io/meandmyshadow/
55 +https://github.com/acmepjz/meandmyshadow/"
56 SRC_URI="mirror://sourceforge/meandmyshadow/${PV}/${P}-src.tar.gz"
57
58 LICENSE="GPL-3 OFL-1.1 CC-BY-SA-2.5"
59 @@ -41,13 +42,13 @@ src_configure() {
60 -DDESKTOPDIR=/usr/share/applications
61 -DHARDWARE_ACCELERATION=$(usex opengl)
62 )
63 - cmake-utils_src_configure
64 + cmake_src_configure
65 }
66
67 pkg_postinst() {
68 - gnome2_icon_cache_update
69 + xdg_icon_cache_update
70 }
71
72 pkg_postrm() {
73 - gnome2_icon_cache_update
74 + xdg_icon_cache_update
75 }