commit: d826d7f8161916edebec89079e70bd7293698652
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Jul 12 18:31:08 2021 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Mon Jul 12 20:45:59 2021 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=d826d7f8
games-arcade/mars-game: update ebuild for EAPI=7
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
games-arcade/mars-game/mars-game-0.7.6.ebuild | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/games-arcade/mars-game/mars-game-0.7.6.ebuild
b/games-arcade/mars-game/mars-game-0.7.6.ebuild
index bbbd032..af1edc8 100644
--- a/games-arcade/mars-game/mars-game-0.7.6.ebuild
+++ b/games-arcade/mars-game/mars-game-0.7.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# 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 prefix
+inherit cmake prefix
MY_PN="marsshooter"
MY_P="${MY_PN}-${PV}"
@@ -23,6 +23,7 @@ DEPEND="
virtual/opengl
"
RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/M.A.R.S.-${MY_P}"
@@ -31,7 +32,7 @@ PATCHES=(
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
hprefixify src/System/settings.cpp
}
@@ -42,9 +43,5 @@ src_configure() {
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
-
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }