Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/shadowgrounds-survivor-bin: shadowgrounds-survivor-bin-0_beta11-r1.ebuild ChangeLog
Date: Wed, 25 Jun 2014 13:18:48
Message-Id: 20140625131837.9A4712004E@flycatcher.gentoo.org
1 mgorny 14/06/25 13:18:37
2
3 Modified: ChangeLog
4 Added: shadowgrounds-survivor-bin-0_beta11-r1.ebuild
5 Log:
6 Support multilib dependencies aside to emul-linux-x86.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.4 games-action/shadowgrounds-survivor-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-survivor-bin/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-survivor-bin/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-survivor-bin/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-action/shadowgrounds-survivor-bin/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 29 Mar 2013 15:36:41 -0000 1.3
24 +++ ChangeLog 25 Jun 2014 13:18:37 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for games-action/shadowgrounds-survivor-bin
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-action/shadowgrounds-survivor-bin/ChangeLog,v 1.3 2013/03/29 15:36:41 hasufell Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/games-action/shadowgrounds-survivor-bin/ChangeLog,v 1.4 2014/06/25 13:18:37 mgorny Exp $
31 +
32 +*shadowgrounds-survivor-bin-0_beta11-r1 (25 Jun 2014)
33 +
34 + 25 Jun 2014; Michał Górny <mgorny@g.o>
35 + +shadowgrounds-survivor-bin-0_beta11-r1.ebuild:
36 + Support multilib dependencies aside to emul-linux-x86.
37
38 29 Mar 2013; Julian Ospald <hasufell@g.o>
39 shadowgrounds-survivor-bin-0_beta11.ebuild:
40
41
42
43 1.1 games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_beta11-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_beta11-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_beta11-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: shadowgrounds-survivor-bin-0_beta11-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_beta11-r1.ebuild,v 1.1 2014/06/25 13:18:37 mgorny Exp $
53
54 EAPI=5
55
56 inherit unpacker games eutils
57
58 DESCRIPTION="human survivors who battle against the ongoing alien onslaught"
59 HOMEPAGE="http://shadowgroundsgame.com/survivor/"
60 SRC_URI="Survivor${PV/*_b/B}.run"
61
62 LICENSE="frozenbyte-eula"
63 SLOT="0"
64 KEYWORDS="-* ~amd64 ~x86"
65 IUSE=""
66 RESTRICT="fetch strip"
67
68 DEPEND="app-arch/unzip"
69 RDEPEND=">=sys-libs/glibc-2.4
70 >=sys-devel/gcc-4.3.0
71 !amd64? (
72 gnome-base/libglade
73 )
74 amd64? (
75 || (
76 app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)]
77 gnome-base/libglade[abi_x86_32(-)]
78 )
79 )"
80
81 S=${WORKDIR}
82
83 d="${GAMES_PREFIX_OPT}/${PN}"
84 QA_TEXTRELS_x86="`echo ${d#/}/lib32/lib{avcodec.so.51,avformat.so.52,avutil.so.49,FLAC.so.8}`"
85 QA_TEXTRELS_amd64=${QA_TEXTRELS_x86}
86
87 pkg_nofetch() {
88 einfo "Fetch ${SRC_URI} and put it into ${DISTDIR}"
89 einfo "See http://www.humblebundle.com/ for more info."
90 }
91
92 src_unpack() {
93 # manually run unzip as the initial seek causes it to exit(1)
94 unpack_zip ${A}
95 rm lib*/lib{gcc_s,m,rt,selinux}.so.?
96 }
97
98 src_install() {
99 local b bb
100
101 doicon Survivor.xpm || die
102 for b in bin launcher ; do
103 bb="survivor-${b}"
104 exeinto ${d}
105 newexe ${bb} ${bb}
106 games_make_wrapper ${bb} "./${bb}" "${d}"
107 make_desktop_entry ${bb} "Shadowgrounds Survivor ${b}" "Shadowgrounds Survivor"
108 done
109
110 exeinto ${d}/lib32
111 doexe lib32/*
112
113 insinto ${d}
114 doins -r Config data Profiles *.fbz *.glade *-logo.png
115
116 prepgamesdirs
117 }