1 |
commit: d826d7f8161916edebec89079e70bd7293698652 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 12 18:31:08 2021 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Mon Jul 12 20:45:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=d826d7f8 |
7 |
|
8 |
games-arcade/mars-game: update ebuild for EAPI=7 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
12 |
|
13 |
games-arcade/mars-game/mars-game-0.7.6.ebuild | 15 ++++++--------- |
14 |
1 file changed, 6 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/games-arcade/mars-game/mars-game-0.7.6.ebuild b/games-arcade/mars-game/mars-game-0.7.6.ebuild |
17 |
index bbbd032..af1edc8 100644 |
18 |
--- a/games-arcade/mars-game/mars-game-0.7.6.ebuild |
19 |
+++ b/games-arcade/mars-game/mars-game-0.7.6.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=6 |
26 |
+EAPI=7 |
27 |
|
28 |
-inherit cmake-utils gnome2-utils prefix |
29 |
+inherit cmake prefix |
30 |
|
31 |
MY_PN="marsshooter" |
32 |
MY_P="${MY_PN}-${PV}" |
33 |
@@ -23,6 +23,7 @@ DEPEND=" |
34 |
virtual/opengl |
35 |
" |
36 |
RDEPEND="${DEPEND}" |
37 |
+BDEPEND="virtual/pkgconfig" |
38 |
|
39 |
S="${WORKDIR}/M.A.R.S.-${MY_P}" |
40 |
|
41 |
@@ -31,7 +32,7 @@ PATCHES=( |
42 |
) |
43 |
|
44 |
src_prepare() { |
45 |
- cmake-utils_src_prepare |
46 |
+ cmake_src_prepare |
47 |
hprefixify src/System/settings.cpp |
48 |
} |
49 |
|
50 |
@@ -42,9 +43,5 @@ src_configure() { |
51 |
-DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" |
52 |
) |
53 |
|
54 |
- cmake-utils_src_configure |
55 |
+ cmake_src_configure |
56 |
} |
57 |
- |
58 |
-pkg_preinst() { gnome2_icon_savelist; } |
59 |
-pkg_postinst() { gnome2_icon_cache_update; } |
60 |
-pkg_postrm() { gnome2_icon_cache_update; } |