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