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 F02CA13835A for ; Wed, 7 Apr 2021 01:58:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54B31E0966; Wed, 7 Apr 2021 01:58:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 7E04DE08FA for ; Wed, 7 Apr 2021 01:58:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3807E340A5D for ; Wed, 7 Apr 2021 01:58:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F97B642 for ; Wed, 7 Apr 2021 01:58:20 +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: <1617760648.66f63f420241bfd08e2a76817d4a5e3a1cd5805c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/shadowgrounds-survivor-bin/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1-r1.ebuild games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1.ebuild X-VCS-Directories: games-action/shadowgrounds-survivor-bin/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 66f63f420241bfd08e2a76817d4a5e3a1cd5805c X-VCS-Branch: master Date: Wed, 7 Apr 2021 01:58:20 +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: 0ff83944-146a-43bf-b8d0-f114b2676f77 X-Archives-Hash: 9b0693ffefde8883b7b595ae55cb5ddb commit: 66f63f420241bfd08e2a76817d4a5e3a1cd5805c Author: Sam James gentoo org> AuthorDate: Tue Apr 6 23:26:06 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Apr 7 01:57:28 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66f63f42 games-action/shadowgrounds-survivor-bin: port to EAPI 7, games.eclass-- Signed-off-by: Sam James gentoo.org> ...d => shadowgrounds-survivor-bin-0_p1-r1.ebuild} | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1.ebuild b/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1-r1.ebuild similarity index 73% rename from games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1.ebuild rename to games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1-r1.ebuild index 242be142fe4..09beed77b70 100644 --- a/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1.ebuild +++ b/games-action/shadowgrounds-survivor-bin/shadowgrounds-survivor-bin-0_p1-r1.ebuild @@ -1,34 +1,35 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit unpacker eutils games versionator +EAPI=7 -DIST_PV=$(get_version_component_range 2) +inherit desktop unpacker wrapper + +DIST_PV=$(ver_cut 2-) DESCRIPTION="human survivors who battle against the ongoing alien onslaught" HOMEPAGE="http://shadowgroundsgame.com/survivor/" SRC_URI="survivorUpdate${DIST_PV/p/}.run" +S="${WORKDIR}" LICENSE="frozenbyte-eula" SLOT="0" KEYWORDS="-* ~amd64 ~x86" -IUSE="" RESTRICT="fetch strip" -DEPEND="app-arch/unzip" -RDEPEND=">=sys-libs/glibc-2.4 +RDEPEND=" >=sys-devel/gcc-4.3.0 + >=sys-libs/glibc-2.4 !amd64? ( gnome-base/libglade ) amd64? ( >=gnome-base/libglade-2.6.4-r1[abi_x86_32(-)] - )" - -S=${WORKDIR} + ) +" +BDEPEND="app-arch/unzip" -d="${GAMES_PREFIX_OPT}/${PN}" +d="opt/${PN}" QA_TEXTRELS_x86="`echo ${d#/}/lib32/lib{avcodec.so.51,avformat.so.52,avutil.so.49,FLAC.so.8}`" QA_TEXTRELS_amd64=${QA_TEXTRELS_x86} @@ -38,9 +39,9 @@ pkg_nofetch() { } src_unpack() { - # manually run unzip as the initial seek causes it to exit(1) + # Manually run unzip as the initial seek causes it to exit(1) unpack_zip ${A} - rm lib*/lib{gcc_s,m,rt,selinux}.so.? + rm lib*/lib{gcc_s,m,rt,selinux}.so.? || die } src_install() { @@ -51,7 +52,8 @@ src_install() { bb="survivor-${b}" exeinto ${d} newexe ${bb} ${bb} - games_make_wrapper ${bb} "./${bb}" "${d}" + + make_wrapper ${bb} "./${bb}" "${d}" make_desktop_entry ${bb} "Shadowgrounds Survivor ${b}" "Shadowgrounds Survivor" done @@ -60,6 +62,4 @@ src_install() { insinto ${d} doins -r Config data Profiles *.fbz *.glade *-logo.png - - prepgamesdirs }