From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5F11D1382C5 for ; Tue, 6 Apr 2021 22:54:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D5DAE0995; Tue, 6 Apr 2021 22:54:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3C479E0995 for ; Tue, 6 Apr 2021 22:54:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8FF1335D79 for ; Tue, 6 Apr 2021 22:54:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 09F09633 for ; Tue, 6 Apr 2021 22:54:44 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617749674.a3481884746f4d1d37d2480f6e5a3f02764436fe.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/wasteland2/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild X-VCS-Directories: games-rpg/wasteland2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a3481884746f4d1d37d2480f6e5a3f02764436fe X-VCS-Branch: master Date: Tue, 6 Apr 2021 22:54:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8121c9c8-d1f2-48ef-8e2b-91c1fc7fe481 X-Archives-Hash: 7cfebbee2275744e5c2175dd8b9ead17 commit: a3481884746f4d1d37d2480f6e5a3f02764436fe Author: Sam James gentoo org> AuthorDate: Tue Apr 6 22:50:18 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 6 22:54:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3481884 games-rpg/wasteland2: port to EAPI 7, games.eclass-- Signed-off-by: Sam James gentoo.org> ...9.0.13.ebuild => wasteland2-1.9.0.13-r1.ebuild} | 31 +++++++++------------- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild b/games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild similarity index 82% rename from games-rpg/wasteland2/wasteland2-1.9.0.13.ebuild rename to games-rpg/wasteland2/wasteland2-1.9.0.13-r1.ebuild index b8ddb7e9b2e..0b6cef86831 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 }