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 74B1D138350 for ; Sat, 29 Feb 2020 01:15:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE4B2E08CD; Sat, 29 Feb 2020 01:15:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 80C64E08CD for ; Sat, 29 Feb 2020 01:15:38 +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 6AEBF34F4B3 for ; Sat, 29 Feb 2020 01:15:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A07E0165 for ; Sat, 29 Feb 2020 01:15:33 +0000 (UTC) From: "Azamat H. Hackimov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Azamat H. Hackimov" Message-ID: <1582930414.03549c3500c11e13773cfb5aa2532ec3b9fd99c0.winterheart@gentoo> Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/capsized/ X-VCS-Repository: proj/gamerlay X-VCS-Files: games-arcade/capsized/capsized-06102013.ebuild games-arcade/capsized/capsized-2013.10.06.ebuild X-VCS-Directories: games-arcade/capsized/ X-VCS-Committer: winterheart X-VCS-Committer-Name: Azamat H. Hackimov X-VCS-Revision: 03549c3500c11e13773cfb5aa2532ec3b9fd99c0 X-VCS-Branch: master Date: Sat, 29 Feb 2020 01:15: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: 096e14c9-e5bc-4d5c-a992-5ef28d37cb10 X-Archives-Hash: 132cce8d3b5ae372d4e0454ca7e52e71 commit: 03549c3500c11e13773cfb5aa2532ec3b9fd99c0 Author: Azamat H. Hackimov gmail com> AuthorDate: Fri Feb 28 22:53:34 2020 +0000 Commit: Azamat H. Hackimov gentoo ru> CommitDate: Fri Feb 28 22:53:34 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=03549c35 games-arcade/capsized: update package Migrate from deprecated eclass. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov gmail.com> ...-06102013.ebuild => capsized-2013.10.06.ebuild} | 54 +++++++++------------- 1 file changed, 22 insertions(+), 32 deletions(-) diff --git a/games-arcade/capsized/capsized-06102013.ebuild b/games-arcade/capsized/capsized-2013.10.06.ebuild similarity index 55% rename from games-arcade/capsized/capsized-06102013.ebuild rename to games-arcade/capsized/capsized-2013.10.06.ebuild index c461bc6..3c68caf 100644 --- a/games-arcade/capsized/capsized-06102013.ebuild +++ b/games-arcade/capsized/capsized-2013.10.06.ebuild @@ -1,32 +1,32 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI="5" +EAPI=7 -inherit unpacker games multilib +inherit desktop eutils multilib-minimal unpacker + +MY_PN=Capsized DESCRIPTION="A fast paced 2d platformer, focused on intense action and exploration." HOMEPAGE="http://www.capsizedgame.com/" -SRC_URI="${PN}-${PV}-bin" +SRC_URI="${PN}-$(ver_cut 3)$(ver_cut 2)$(ver_cut 1)-bin" -LICENSE="as-is" +LICENSE="all-rights-reserved" SLOT="0" KEYWORDS="-* ~amd64 ~x86" -IUSE="linguas_de linguas_es linguas_fr linguas_it" +IUSE="l10n_de l10n_es l10n_fr l10n_it" RESTRICT="fetch" DEPEND="app-arch/zip" RDEPEND=" - ${DEPEND} - media-libs/libtheora - media-libs/libogg - media-libs/libvorbis - dev-lang/mono - media-libs/openal - media-libs/libsdl2 - media-libs/sdl2-mixer + media-libs/libtheora[${MULTILIB_USEDEP}] + media-libs/libogg[${MULTILIB_USEDEP}] + media-libs/libvorbis[${MULTILIB_USEDEP}] + dev-lang/mono[${MULTILIB_USEDEP}] + media-libs/openal[${MULTILIB_USEDEP}] + media-libs/libsdl2[${MULTILIB_USEDEP}] + media-libs/sdl2-mixer[${MULTILIB_USEDEP}] " # dev-dotnet/monogame # someday # dev-dotnet/monogame-theoraplay # someday @@ -35,9 +35,6 @@ RDEPEND=" DOCS=( "Linux.README" ) S="${WORKDIR}/data" -GAMEDIR="${GAMES_PREFIX_OPT}/${PN}" - -MY_PN=Capsized pkg_nofetch() { einfo "Please download ${A}" @@ -47,11 +44,12 @@ pkg_nofetch() { } src_unpack() { - unpack_zip "${A}" + unpack_zip ${A} } src_install() { - insinto "${GAMEDIR}" + local dir="/opt/${PN}" + insinto "${dir}" doins -r Content doins "${MY_PN}.bmp" \ NePlusUltra.exe \ @@ -65,22 +63,14 @@ src_install() { 'TheoraPlay#'.dll.config for lang in fr it es de; do - use "linguas_${lang}" && doins -r "${lang}" + use "l10n_${lang}" && doins -r "${lang}" done - # Installing bundled sdl-mixer-2, since it is still not released as - # tarball [hg only]. - # btw, can be inserted in ${GAMEDIR} without subdir. - # - # Also installing bundled theoraplay, since in is no such package in - # portage. - insinto "${GAMEDIR}/$(get_libdir)" -# doins "$(get_libdir)/libSDL2_mixer-2.0.so.0" + # Installing bundled theoraplay, since in is no such package in portage. + insinto "${dir}/$(get_libdir)" doins "$(get_libdir)/libtheoraplay.so" - games_make_wrapper "${PN}" "mono ./NePlusUltra.exe" "${GAMEDIR}" "${GAMEDIR}/$(get_libdir)" + make_wrapper "${PN}" "mono ./NePlusUltra.exe" "${dir}" "${dir}/$(get_libdir)" doicon "${FILESDIR}/${PN}.png" make_desktop_entry "${PN}" "${MY_PN}" "${PN}" - - prepgamesdirs }