summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-02 00:56:07 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-02 01:04:07 +0100
commit3e16a24d63c349d5d784a5c4013a0dc1f9eddca5 (patch)
tree19777b9ad84e66aaf3d09a102d81046904efd891
parentgames-puzzle/ksokoban: Set ECM_HANDBOOK="forceoptional" (diff)
downloadgentoo-3e16a24d63c349d5d784a5c4013a0dc1f9eddca5.tar.gz
gentoo-3e16a24d63c349d5d784a5c4013a0dc1f9eddca5.tar.bz2
gentoo-3e16a24d63c349d5d784a5c4013a0dc1f9eddca5.zip
games-puzzle/meandmyshadow: EAPI-7 bump, switch to cmake, xdg-utils
- New HOMEPAGE - Revert broken/unnecessary patch file change. Closes: https://bugs.gentoo.org/659598 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch6
-rw-r--r--games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild17
2 files changed, 12 insertions, 11 deletions
diff --git a/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
index 504f6c0987a6..0bd66d5d284a 100644
--- a/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
+++ b/games-puzzle/meandmyshadow/files/meandmyshadow-0.4-cmake.patch
@@ -1,6 +1,6 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -15,13 +15,12 @@
+--- meandmyshadow-0.4.orig/CMakeLists.txt
++++ meandmyshadow-0.4/CMakeLists.txt
+@@ -15,13 +15,12 @@
Find_Package(CURL REQUIRED)
Find_Package(LibArchive REQUIRED)
Find_Package(OpenSSL REQUIRED)
diff --git a/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild b/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
index d576bee444ca..809adb120794 100644
--- a/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
+++ b/games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
@@ -1,12 +1,13 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils gnome2-utils
+inherit cmake xdg-utils
-DESCRIPTION="A puzzle/platform game with a player and its shadow"
-HOMEPAGE="http://meandmyshadow.sourceforge.net/"
+DESCRIPTION="Puzzle/platform game with a player and its shadow"
+HOMEPAGE="https://acmepjz.github.io/meandmyshadow/
+https://github.com/acmepjz/meandmyshadow/"
SRC_URI="mirror://sourceforge/meandmyshadow/${PV}/${P}-src.tar.gz"
LICENSE="GPL-3 OFL-1.1 CC-BY-SA-2.5"
@@ -41,13 +42,13 @@ src_configure() {
-DDESKTOPDIR=/usr/share/applications
-DHARDWARE_ACCELERATION=$(usex opengl)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
pkg_postinst() {
- gnome2_icon_cache_update
+ xdg_icon_cache_update
}
pkg_postrm() {
- gnome2_icon_cache_update
+ xdg_icon_cache_update
}