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 5542413835A for ; Tue, 6 Apr 2021 22:47:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69AA7E0943; Tue, 6 Apr 2021 22:47:36 +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 0A1E5E092E for ; Tue, 6 Apr 2021 22:47:36 +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 20A64335D89 for ; Tue, 6 Apr 2021 22:47:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF620641 for ; Tue, 6 Apr 2021 22:47:33 +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: <1617749242.e287dfd160fa079e50f9adf4a7126eb49ba518ca.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/swordandsworcery/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-action/swordandsworcery/swordandsworcery-1.02-r1.ebuild games-action/swordandsworcery/swordandsworcery-1.02.ebuild X-VCS-Directories: games-action/swordandsworcery/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e287dfd160fa079e50f9adf4a7126eb49ba518ca X-VCS-Branch: master Date: Tue, 6 Apr 2021 22:47:33 +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: f9a623e3-9ba1-4bf3-95a0-27018d5c98dd X-Archives-Hash: 6725eb77dc93e7e70bd2e9f2aba80cd4 commit: e287dfd160fa079e50f9adf4a7126eb49ba518ca Author: Sam James gentoo org> AuthorDate: Tue Apr 6 22:20:36 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 6 22:47:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e287dfd1 games-action/swordandsworcery: port to EAPI 7, games.eclass-- Signed-off-by: Sam James gentoo.org> ...1.02.ebuild => swordandsworcery-1.02-r1.ebuild} | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/games-action/swordandsworcery/swordandsworcery-1.02.ebuild b/games-action/swordandsworcery/swordandsworcery-1.02-r1.ebuild similarity index 91% rename from games-action/swordandsworcery/swordandsworcery-1.02.ebuild rename to games-action/swordandsworcery/swordandsworcery-1.02-r1.ebuild index a35edbe92d2..ba249b9f5fd 100644 --- a/games-action/swordandsworcery/swordandsworcery-1.02.ebuild +++ b/games-action/swordandsworcery/swordandsworcery-1.02-r1.ebuild @@ -1,15 +1,14 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# TODO: unbundle liblua-5.1 when available for multilib - -EAPI=5 +EAPI=7 -inherit eutils games +inherit desktop DESCRIPTION="An exploratory action adventure game with an emphasis on audiovisual style" HOMEPAGE="http://www.swordandsworcery.com/" SRC_URI="${PN}_${PV}.tar.gz" +S="${WORKDIR}" LICENSE="CAPYBARA-EULA LGPL-3" SLOT="0" @@ -17,10 +16,13 @@ KEYWORDS="-* ~amd64 ~x86" IUSE="bundled-libs" RESTRICT="bindist fetch splitdebug" -MYGAMEDIR=${GAMES_PREFIX_OPT}/${PN} -QA_PREBUILT="${MYGAMEDIR#/}/bin/* - ${MYGAMEDIR#/}/lib/*" +MYGAMEDIR=opt/${PN} +QA_PREBUILT=" + ${MYGAMEDIR#/}/bin/* + ${MYGAMEDIR#/}/lib/* +" +# TODO: unbundle liblua-5.1 when available for multilib # linked to pulseaudio RDEPEND=" virtual/opengl @@ -74,8 +76,6 @@ RDEPEND=" ) )" -S=${WORKDIR} - pkg_nofetch() { einfo "Please buy & download ${SRC_URI} from:" einfo " ${HOMEPAGE}" @@ -98,11 +98,11 @@ src_install() { insinto "${MYGAMEDIR}" doins -r bin lib res - dogamesbin "${T}"/${PN} + dobin "${T}"/${PN} make_desktop_entry ${PN} - dohtml README.html + docinto html + dodoc README.html fperms +x "${MYGAMEDIR}"/bin/${PN} - prepgamesdirs }