Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/wasteland2/
Date: Sun, 18 Jul 2021 05:15:55
Message-Id: 1626585292.d6ea4fae5c516080856c753a09b01e30a7664810.ionen@gentoo
1 commit: d6ea4fae5c516080856c753a09b01e30a7664810
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 18 04:40:21 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 18 05:14:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6ea4fae
7
8 games-rpg/wasteland2: tidy, fix eclass usage, add missing abi_x86_32
9
10 Do not own this game (albeit been meaning to), so only sticking
11 to (hopefully) safe changes.
12
13 Was calling gnome2_icon_* despite EAPI-7, adjust so this isn't needed.
14
15 Revbump for missing abi_x86_32 on virtual/opengl.
16
17 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
18
19 ....13-r1.ebuild => wasteland2-1.9.0.13-r2.ebuild} | 55 +++++++++-------------
20 1 file changed, 21 insertions(+), 34 deletions(-)
21
22 diff --git a/games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild b/games-rpg/wasteland2/wasteland2-1.9.0.13-r2.ebuild
23 similarity index 51%
24 rename from games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild
25 rename to games-rpg/wasteland2/wasteland2-1.9.0.13-r2.ebuild
26 index 2dffd54fb06..42082b1444c 100644
27 --- a/games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild
28 +++ b/games-rpg/wasteland2/wasteland2-1.9.0.13-r2.ebuild
29 @@ -5,7 +5,7 @@ EAPI=7
30
31 CHECKREQS_DISK_BUILD="22000M"
32 CHECKREQS_DISK_USR="21600M"
33 -inherit check-reqs desktop gnome2-utils wrapper
34 +inherit check-reqs desktop wrapper
35
36 DESCRIPTION="Sequel to 1988 Wasteland, post-apocalyptic computer RPG inspiration for Fallout"
37 HOMEPAGE="https://wasteland.inxile-entertainment.com/"
38 @@ -15,29 +15,27 @@ S="${WORKDIR}/Wasteland 2"
39 LICENSE="all-rights-reserved"
40 SLOT="0"
41 KEYWORDS="~amd64 ~x86"
42 -RESTRICT="bindist fetch mirror"
43 +RESTRICT="bindist fetch"
44
45 QA_PREBUILT="opt/${PN}/*"
46
47 RDEPEND="
48 - >=dev-libs/atk-2.12.0-r1[abi_x86_32(-)]
49 - >=dev-libs/glib-2.40.0-r1:2[abi_x86_32(-)]
50 - >=media-libs/fontconfig-2.10.92:1.0[abi_x86_32(-)]
51 - >=media-libs/freetype-2.5.3-r1:2[abi_x86_32(-)]
52 - >=x11-libs/cairo-1.12.16-r2[abi_x86_32(-)]
53 - >=x11-libs/gdk-pixbuf-2.30.8:2[abi_x86_32(-)]
54 - >=x11-libs/gtk+-2.24.24:2[abi_x86_32(-)]
55 - >=x11-libs/pango-1.36.5[abi_x86_32(-)]
56 - >=x11-libs/libX11-1.6.2[abi_x86_32(-)]
57 - >=x11-libs/libXcursor-1.1.14[abi_x86_32(-)]
58 - >=x11-libs/libXext-1.3.2[abi_x86_32(-)]
59 - >=x11-libs/libXrandr-1.4.2[abi_x86_32(-)]
60 - >=virtual/glu-9.0-r1[abi_x86_32(-)]
61 - virtual/opengl
62 -"
63 + dev-libs/atk[abi_x86_32(-)]
64 + dev-libs/glib:2[abi_x86_32(-)]
65 + media-libs/fontconfig:1.0[abi_x86_32(-)]
66 + media-libs/freetype:2[abi_x86_32(-)]
67 + virtual/glu[abi_x86_32(-)]
68 + virtual/opengl[abi_x86_32(-)]
69 + x11-libs/cairo[abi_x86_32(-)]
70 + x11-libs/gdk-pixbuf[abi_x86_32(-)]
71 + x11-libs/gtk+:2[abi_x86_32(-)]
72 + x11-libs/libX11[abi_x86_32(-)]
73 + x11-libs/libXcursor[abi_x86_32(-)]
74 + x11-libs/libXext[abi_x86_32(-)]
75 + x11-libs/libXrandr[abi_x86_32(-)]
76 + x11-libs/pango[abi_x86_32(-)]"
77
78 pkg_nofetch() {
79 - einfo
80 einfo "Please buy Wasteland 2"
81 einfo "from https://www.gog.com/ and"
82 einfo "download ${SRC_URI}"
83 @@ -46,7 +44,6 @@ pkg_nofetch() {
84 einfo "This ebuild was tested with the CLASSICAL edition."
85 einfo "If it works with the deluxe edition too, please"
86 einfo "open a bug report. If not, open a bug report too."
87 - einfo
88 }
89
90 src_install() {
91 @@ -54,25 +51,15 @@ src_install() {
92
93 # over 20GB of data
94 dodir ${dir}
95 - mv game/WL2_Data "${ED}/${dir}"/ || die
96 + mv game/WL2_Data "${ED}"/${dir}/ || die
97 +
98 exeinto ${dir}
99 doexe game/WL2
100
101 - make_wrapper ${PN} ./WL2 "${dir}"
102 - newicon -s 256 support/gog-wasteland-2.png ${PN}.png
103 + make_wrapper ${PN} ./WL2 ${dir}
104 +
105 + newicon support/gog-wasteland-2.png ${PN}.png
106 make_desktop_entry ${PN} "Wasteland 2"
107
108 dodoc docs/*.pdf
109 }
110 -
111 -pkg_preinst() {
112 - gnome2_icon_savelist
113 -}
114 -
115 -pkg_postinst() {
116 - gnome2_icon_cache_update
117 -}
118 -
119 -pkg_postrm() {
120 - gnome2_icon_cache_update
121 -}