summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-02-29 17:16:47 +0300
committerAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-02-29 17:16:47 +0300
commitfda5ab995420ae367840e0c29a747ce439a3a0e3 (patch)
treeccfa7f03032c281ed1e5221de46b74e49151fbb5
parentgames-action/overgrowth: remove package (diff)
downloadgamerlay-fda5ab995420ae367840e0c29a747ce439a3a0e3.tar.gz
gamerlay-fda5ab995420ae367840e0c29a747ce439a3a0e3.tar.bz2
gamerlay-fda5ab995420ae367840e0c29a747ce439a3a0e3.zip
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@gmail.com>
-rw-r--r--games-action/psychonauts/metadata.xml2
-rw-r--r--games-action/psychonauts/psychonauts-2012.08.15-r1.ebuild (renamed from games-action/psychonauts/psychonauts-2012.08.15.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>azamat.hackimov@gmail.com</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
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
}