1 |
commit: 3f47c660668392c1031c2fa89d99b815997c72d8 |
2 |
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Feb 29 13:56:17 2020 +0000 |
4 |
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> |
5 |
CommitDate: Sat Feb 29 13:56:17 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=3f47c660 |
7 |
|
8 |
games-action/shadowgrounds-survivor-bin: update |
9 |
|
10 |
Migrate from deprecated eclass. |
11 |
|
12 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
13 |
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> |
14 |
|
15 |
...uild => shadowgrounds-survivor-bin-1-r1.ebuild} | 24 ++++++++-------------- |
16 |
1 file changed, 8 insertions(+), 16 deletions(-) |
17 |
|
18 |
diff --git a/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-1.ebuild b/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-1-r1.ebuild |
19 |
similarity index 70% |
20 |
rename from games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-1.ebuild |
21 |
rename to games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-1-r1.ebuild |
22 |
index 46c911c..84c5440 100644 |
23 |
--- a/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-1.ebuild |
24 |
+++ b/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-1-r1.ebuild |
25 |
@@ -1,16 +1,15 @@ |
26 |
-# Copyright 1999-2011 Gentoo Foundation |
27 |
+# Copyright 1999-2020 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_beta11.ebuild,v 1.2 2011/04/21 08:50:11 vapier Exp $ |
30 |
|
31 |
-EAPI="5" |
32 |
+EAPI=7 |
33 |
|
34 |
-inherit unpacker games eutils |
35 |
+inherit desktop eutils multilib-minimal unpacker |
36 |
|
37 |
DESCRIPTION="human survivors who battle against the ongoing alien onslaught" |
38 |
HOMEPAGE="http://shadowgroundsgame.com/survivor/" |
39 |
SRC_URI="survivorUpdate${PV}.run" |
40 |
|
41 |
-LICENSE="frozenbyte-eula" |
42 |
+LICENSE="all-rights-reserved" |
43 |
SLOT="0" |
44 |
KEYWORDS="-* ~amd64 ~x86" |
45 |
IUSE="" |
46 |
@@ -19,16 +18,11 @@ RESTRICT="fetch strip" |
47 |
DEPEND="app-arch/unzip" |
48 |
RDEPEND=">=sys-libs/glibc-2.4 |
49 |
>=sys-devel/gcc-4.3.0 |
50 |
- !amd64? ( |
51 |
- gnome-base/libglade |
52 |
- ) |
53 |
- amd64? ( |
54 |
- app-emulation/emul-linux-x86-gtklibs |
55 |
- )" |
56 |
+ gnome-base/libglade[${MULTILIB_USEDEP}]" |
57 |
|
58 |
S="${WORKDIR}" |
59 |
|
60 |
-d="${GAMES_PREFIX_OPT}/${PN}" |
61 |
+d="/opt/${PN}" |
62 |
QA_TEXTRELS_x86="`echo ${d#/}/lib32/lib{avcodec.so.51,avformat.so.52,avutil.so.49,FLAC.so.8}`" |
63 |
QA_TEXTRELS_amd64="${QA_TEXTRELS_x86}" |
64 |
|
65 |
@@ -39,7 +33,7 @@ pkg_nofetch() { |
66 |
|
67 |
src_unpack() { |
68 |
# manually run unzip as the initial seek causes it to exit(1) |
69 |
- unpack_zip "${A}" |
70 |
+ unpack_zip ${A} |
71 |
rm lib*/lib{gcc_s,m,rt,selinux}.so.? |
72 |
} |
73 |
|
74 |
@@ -51,7 +45,7 @@ src_install() { |
75 |
bb="survivor-${b}" |
76 |
exeinto ${d} |
77 |
newexe ${bb} ${bb} || die |
78 |
- games_make_wrapper ${bb} "./${bb}" "${d}" || die |
79 |
+ make_wrapper ${bb} "./${bb}" "${d}" || die |
80 |
make_desktop_entry ${bb} "Shadowgrounds Survivor ${b}" "Shadowgrounds Survivor" |
81 |
done |
82 |
|
83 |
@@ -60,6 +54,4 @@ src_install() { |
84 |
|
85 |
insinto ${d} |
86 |
doins -r Config data Profiles *.fbz *.glade *-logo.png || die |
87 |
- |
88 |
- prepgamesdirs |
89 |
} |