commit: fda5ab995420ae367840e0c29a747ce439a3a0e3 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Sat Feb 29 14:16:47 2020 +0000 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> CommitDate: Sat Feb 29 14:16:47 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=fda5ab99
games-action/psychonauts: update package Migrate from deprecated eclass. Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> games-action/psychonauts/metadata.xml | 2 +- ...8.15.ebuild => psychonauts-2012.08.15-r1.ebuild} | 21 ++++++++------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/games-action/psychonauts/metadata.xml b/games-action/psychonauts/metadata.xml index 9dfdfbc..58233f7 100644 --- a/games-action/psychonauts/metadata.xml +++ b/games-action/psychonauts/metadata.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer> +<maintainer type="person"> <email>[email protected]</email> <name>Azamat H. Hackimov</name> </maintainer> diff --git a/games-action/psychonauts/psychonauts-2012.08.15.ebuild b/games-action/psychonauts/psychonauts-2012.08.15-r1.ebuild similarity index 73% rename from games-action/psychonauts/psychonauts-2012.08.15.ebuild rename to games-action/psychonauts/psychonauts-2012.08.15-r1.ebuild index 0579174..b09f4de 100644 --- a/games-action/psychonauts/psychonauts-2012.08.15.ebuild +++ b/games-action/psychonauts/psychonauts-2012.08.15-r1.ebuild @@ -1,16 +1,13 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Header: $ -EAPI=3 +EAPI=7 -inherit games versionator - -MY_PV=$(version_format_string '${2}${3}${1}') +inherit desktop eutils multilib-minimal DESCRIPTION="A mind-bending platforming adventure from Double Fine Productions." HOMEPAGE="http://www.psychonauts.com/" -SRC_URI="${PN}-linux-${MY_PV}-bin" +SRC_URI="${PN}-linux-$(ver_cut 2)$(ver_cut 3)$(ver_cut 1)-bin" LICENSE="Psychonauts-EULA" SLOT="0" @@ -19,8 +16,8 @@ IUSE="" DEPEND="app-arch/unzip" RDEPEND="virtual/opengl - amd64? ( app-emulation/emul-linux-x86-sdl ) - x86? ( media-libs/openal media-libs/libsdl )" + media-libs/openal[${MULTILIB_USEDEP}] + media-libs/libsdl[${MULTILIB_USEDEP}]" RESTRICT="fetch strip" @@ -43,7 +40,7 @@ src_unpack() { } src_install() { - local dir="${GAMES_PREFIX_OPT}/${PN}" + local dir="/opt/${PN}" dodoc "Psychonauts Manual Win.pdf" dodoc Documents/Readmes/* exeinto ${dir} @@ -51,8 +48,6 @@ src_install() { insinto ${dir} doins -r DisplaySettings.ini PsychonautsData2.pkg WorkResource || die doicon ${PN}.png - games_make_wrapper ${PN} ./Psychonauts "${dir}" "${dir}" + make_wrapper ${PN} ./Psychonauts "${dir}" "${dir}" make_desktop_entry ${PN} Psychonauts ${PN} - - prepgamesdirs }
