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 01DEA13835A for ; Tue, 6 Apr 2021 22:47:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D544FE0974; Tue, 6 Apr 2021 22:47:36 +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 BA017E0974 for ; Tue, 6 Apr 2021 22:47:36 +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 66B2833B864 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 024C3643 for ; Tue, 6 Apr 2021 22:47:34 +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: <1617749244.d42b1b8cc9b18b80697f58b025a2405159d0b48f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/dominions2/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/dominions2/dominions2-2.16-r1.ebuild games-strategy/dominions2/dominions2-2.16.ebuild X-VCS-Directories: games-strategy/dominions2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d42b1b8cc9b18b80697f58b025a2405159d0b48f X-VCS-Branch: master Date: Tue, 6 Apr 2021 22:47:34 +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: 8a1f1350-9501-43ba-83a3-ba3f96808652 X-Archives-Hash: df422c444dce5ad894e7730297223ba5 commit: d42b1b8cc9b18b80697f58b025a2405159d0b48f Author: Sam James gentoo org> AuthorDate: Tue Apr 6 22:38:32 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Apr 6 22:47:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d42b1b8c games-strategy/dominions2: port to EAPI 7, games.eclass-- Signed-off-by: Sam James gentoo.org> ...ions2-2.16.ebuild => dominions2-2.16-r1.ebuild} | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/games-strategy/dominions2/dominions2-2.16.ebuild b/games-strategy/dominions2/dominions2-2.16-r1.ebuild similarity index 87% rename from games-strategy/dominions2/dominions2-2.16.ebuild rename to games-strategy/dominions2/dominions2-2.16-r1.ebuild index eca8acd9d25..0f7d0a64c0f 100644 --- a/games-strategy/dominions2/dominions2-2.16.ebuild +++ b/games-strategy/dominions2/dominions2-2.16-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils cdrom games +EAPI=7 + +inherit cdrom desktop wrapper DESCRIPTION="Dominions 2: The Ascension Wars is an epic turn-based fantasy strategy game" HOMEPAGE="http://www.illwinter.com/dom2/index.html" @@ -22,6 +23,7 @@ LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" + RESTRICT="bindist strip" RDEPEND=" @@ -36,10 +38,11 @@ RDEPEND=" virtual/opengl[abi_x86_32(-)] virtual/glu[abi_x86_32(-)] ) - )" + ) +" -dir=${GAMES_PREFIX_OPT}/${PN} -Ddir=${D}/${dir} +dir=opt/${PN} +Ddir="${ED}"/${dir} src_unpack() { mkdir -p "${S}"/patch || die @@ -61,6 +64,7 @@ src_install() { elif use ppc ; then doexe "${CDROM_ROOT}"/bin_lin/ppc/dom2* fi + insinto "${dir}" doins -r "${CDROM_ROOT}"/dominions2.app/Contents/Resources/* dodoc "${CDROM_ROOT}"/doc/* @@ -75,7 +79,7 @@ src_install() { if use doc; then elog "" - elog "Installing extra documentation to '/usr/share/doc/${P}'" + elog "Installing extra documentation to '/usr/share/doc/${PF}'" elog "" elog "You may want to study 'DOM2_Walkthrough.pdf' carefully if" elog "you are new to Dominions II." @@ -86,17 +90,13 @@ src_install() { doicon "${DISTDIR}"/${PN}.png # update times - find "${D}" -exec touch '{}' \; + find "${D}" -exec touch '{}' \; || die - games_make_wrapper dominions2 ./dom2 "${dir}" "${dir}" + make_wrapper dominions2 ./dom2 "${dir}" "${dir}" make_desktop_entry dominions2 "Dominions II" dominions2 - - prepgamesdirs } pkg_postinst() { - games_pkg_postinst elog "To play the game run:" elog " dominions2" - echo }