summaryrefslogtreecommitdiff
path: root/games-rpg/wasteland2
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /games-rpg/wasteland2
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'games-rpg/wasteland2')
-rw-r--r--games-rpg/wasteland2/Manifest2
-rw-r--r--games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild (renamed from games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild)31
2 files changed, 13 insertions, 20 deletions
diff --git a/games-rpg/wasteland2/Manifest b/games-rpg/wasteland2/Manifest
index e4d91f02e623..40a6e2e1bfce 100644
--- a/games-rpg/wasteland2/Manifest
+++ b/games-rpg/wasteland2/Manifest
@@ -1,3 +1,3 @@
DIST gog_wasteland_2_1.9.0.13.tar.gz 10959158010 BLAKE2B 8a82a608b3530fd2000ebe689b337529630da3c81ac4fc9369d9dd210b48b842658770b16ea451f3eedd63fcc682ad0c898fcff895d119ab4395fad32c04e9c4 SHA512 8b5ed19ffee9505efaf03f7ef3ba55dbdbbeda68b7961e92c22776bbb7e842df8c5e5ee727967e79dec753fd03d39f0a1c98e380e540971834b56066b6a79929
-EBUILD wasteland2-1.9.0.13.ebuild 2048 BLAKE2B d81fbb9360dbe8db0b136d6426359c5dd9ffe762d49007697e0a6d0361d9a4e4f5efc67935395a306a0722d24bb8ebdf6d067e682e73a57fbae8584a18ca637d SHA512 00260bb194578f39fda2249aa030ac3f50e84a61f08c0cdf801bd1791250c305e83175b29a99e7b7c76ddb46e1e2a8ccbafa757ecaa1ab35d76442e5a6364339
+EBUILD wasteland2-1.9.0.13-r1.ebuild 1945 BLAKE2B 19714595fe7c1280a3bada785989138e50b6eb45a389b3078688730c2460dba1892a1fbcc384a08e56e747781ed87d5c8b6faf4718ad9bcc60c04b2b63d59fd8 SHA512 f0fca084083d7d1d43ce4611f5216ec1128093b7f226fdf63a700fad169d0014817130f237fa92f4c1848e65835f681c67c460a791ec82285f3be953ec417e3f
MISC metadata.xml 252 BLAKE2B 1b951d2e730631865ae5f379b19ed9de2c8adf2f2786da3f75d0871d967374198ddd9106433f388bdc7050c37063fb28cda4320ae7bdc9a03854838693d9f952 SHA512 90798aff93ec7e3881b882e7b10bb1680e8cb7d82b0ef4280e562ab0c9e8a2daba8afe57333dc64697322267a4b651c00ee9b4fdeb56278ff70c073da7b91638
diff --git a/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild b/games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild
index b8ddb7e9b2e9..2dffd54fb060 100644
--- a/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild
+++ b/games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild
@@ -1,21 +1,23 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit eutils gnome2-utils check-reqs games
+CHECKREQS_DISK_BUILD="22000M"
+CHECKREQS_DISK_USR="21600M"
+inherit check-reqs desktop gnome2-utils wrapper
DESCRIPTION="Sequel to 1988 Wasteland, post-apocalyptic computer RPG inspiration for Fallout"
HOMEPAGE="https://wasteland.inxile-entertainment.com/"
SRC_URI="gog_wasteland_2_${PV}.tar.gz"
+S="${WORKDIR}/Wasteland 2"
LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
RESTRICT="bindist fetch mirror"
-QA_PREBUILT="${GAMES_PREFIX_OPT}/${PN}/*"
+QA_PREBUILT="opt/${PN}/*"
RDEPEND="
>=dev-libs/atk-2.12.0-r1[abi_x86_32(-)]
@@ -34,11 +36,6 @@ RDEPEND="
virtual/opengl
"
-S="${WORKDIR}/Wasteland 2"
-
-CHECKREQS_DISK_BUILD="22000M"
-CHECKREQS_DISK_USR="21600M"
-
pkg_nofetch() {
einfo
einfo "Please buy Wasteland 2"
@@ -53,30 +50,26 @@ pkg_nofetch() {
}
src_install() {
- local dir=${GAMES_PREFIX_OPT}/${PN}
+ local dir=/opt/${PN}
# over 20GB of data
- dodir "${dir}"
- mv game/WL2_Data "${D%/}${dir}"/ || die
- exeinto "${dir}"
+ dodir ${dir}
+ mv game/WL2_Data "${ED}/${dir}"/ || die
+ exeinto ${dir}
doexe game/WL2
- games_make_wrapper ${PN} ./WL2 "${dir}"
+ make_wrapper ${PN} ./WL2 "${dir}"
newicon -s 256 support/gog-wasteland-2.png ${PN}.png
make_desktop_entry ${PN} "Wasteland 2"
dodoc docs/*.pdf
-
- prepgamesdirs
}
pkg_preinst() {
- games_pkg_preinst
gnome2_icon_savelist
}
pkg_postinst() {
- games_pkg_postinst
gnome2_icon_cache_update
}