Skip to content

Commit

Permalink
games-puzzle/meandmyshadow: EAPI-7 bump, switch to cmake, xdg-utils
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
a17r committed Jan 2, 2021
1 parent 278d2a4 commit 3e16a24
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
17 changes: 9 additions & 8 deletions games-puzzle/meandmyshadow/meandmyshadow-0.4-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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
}

0 comments on commit 3e16a24

Please sign in to comment.