Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-rpg/wasteland2: wasteland2-1.9.0.13.ebuild ChangeLog wasteland2-1.3.0.7.ebuild
Date: Fri, 26 Jun 2015 15:44:47
Message-Id: 20150626154434.D4802A54@oystercatcher.gentoo.org
1 hasufell 15/06/26 15:44:34
2
3 Modified: ChangeLog
4 Added: wasteland2-1.9.0.13.ebuild
5 Removed: wasteland2-1.3.0.7.ebuild
6 Log:
7 update, rm old
8
9 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key BDEED020)
10
11 Revision Changes Path
12 1.7 games-rpg/wasteland2/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/wasteland2/ChangeLog?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/wasteland2/ChangeLog?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/wasteland2/ChangeLog?r1=1.6&r2=1.7
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/games-rpg/wasteland2/ChangeLog,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- ChangeLog 14 Jun 2015 17:12:48 -0000 1.6
25 +++ ChangeLog 26 Jun 2015 15:44:34 -0000 1.7
26 @@ -1,6 +1,12 @@
27 # ChangeLog for games-rpg/wasteland2
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/wasteland2/ChangeLog,v 1.6 2015/06/14 17:12:48 ulm Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/games-rpg/wasteland2/ChangeLog,v 1.7 2015/06/26 15:44:34 hasufell Exp $
31 +
32 +*wasteland2-1.9.0.13 (26 Jun 2015)
33 +
34 + 26 Jun 2015; Julian Ospald <hasufell@g.o> -wasteland2-1.3.0.7.ebuild,
35 + +wasteland2-1.9.0.13.ebuild:
36 + update, rm old
37
38 14 Jun 2015; Ulrich Müller <ulm@g.o> wasteland2-1.3.0.7.ebuild:
39 [QA] Remove emul-linux-x86-* from dependencies.
40
41
42
43 1.1 games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild?rev=1.1&content-type=text/plain
47
48 Index: wasteland2-1.9.0.13.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild,v 1.1 2015/06/26 15:44:34 hasufell Exp $
53
54 EAPI=5
55
56 inherit eutils gnome2-utils check-reqs games
57
58 DESCRIPTION="Direct sequel to 1988's Wasteland, the first-ever post-apocalyptic computer RPG and the inspiration behind the Fallout series"
59 HOMEPAGE="https://wasteland.inxile-entertainment.com/"
60 SRC_URI="gog_wasteland_2_${PV}.tar.gz"
61
62 LICENSE="all-rights-reserved"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE=""
66 RESTRICT="bindist fetch mirror"
67
68 QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/*"
69
70 RDEPEND="
71 >=dev-libs/atk-2.12.0-r1[abi_x86_32(-)]
72 >=dev-libs/glib-2.40.0-r1:2[abi_x86_32(-)]
73 >=media-libs/fontconfig-2.10.92:1.0[abi_x86_32(-)]
74 >=media-libs/freetype-2.5.3-r1:2[abi_x86_32(-)]
75 >=x11-libs/cairo-1.12.16-r2[abi_x86_32(-)]
76 >=x11-libs/gdk-pixbuf-2.30.8:2[abi_x86_32(-)]
77 >=x11-libs/gtk+-2.24.24:2[abi_x86_32(-)]
78 >=x11-libs/pango-1.36.5[abi_x86_32(-)]
79 >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
80 >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
81 >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
82 >=x11-libs/libXrandr-1.4.2[abi_x86_32(-)]
83 >=virtual/glu-9.0-r1[abi_x86_32(-)]
84 virtual/opengl
85 "
86
87 S="${WORKDIR}/Wasteland 2"
88
89 CHECKREQS_DISK_BUILD="22000M"
90 CHECKREQS_DISK_USR="21600M"
91
92 pkg_nofetch() {
93 einfo
94 einfo "Please buy Wasteland 2"
95 einfo "from https://www.gog.com/ and"
96 einfo "download \"${SRC_URI}\""
97 einfo "and move/link it to \"${DISTDIR}\""
98 einfo
99 einfo "This ebuild was tested with the CLASSICAL edition."
100 einfo "If it works with the deluxe edition too, please"
101 einfo "open a bug report. If not, open a bug report too."
102 einfo
103 }
104
105 src_install() {
106 local dir=${GAMES_PREFIX_OPT}/${PN}
107
108 # over 20GB of data
109 dodir "${dir}"
110 mv game/WL2_Data "${D%/}${dir}"/ || die
111 exeinto "${dir}"
112 doexe game/WL2
113
114 games_make_wrapper ${PN} ./WL2 "${dir}"
115 newicon -s 256 support/gog-wasteland-2.png ${PN}.png
116 make_desktop_entry ${PN} "Wasteland 2"
117
118 dodoc docs/*.pdf
119
120 prepgamesdirs
121 }
122
123 pkg_preinst() {
124 games_pkg_preinst
125 gnome2_icon_savelist
126 }
127
128 pkg_postinst() {
129 games_pkg_postinst
130 gnome2_icon_cache_update
131 }
132
133 pkg_postrm() {
134 gnome2_icon_cache_update
135 }