Gentoo Archives: gentoo-commits

From: "Azamat H. Hackimov" <winterheart@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-action/psychonauts/
Date: Sat, 29 Feb 2020 14:18:57
Message-Id: 1582985807.fda5ab995420ae367840e0c29a747ce439a3a0e3.winterheart@gentoo
1 commit: fda5ab995420ae367840e0c29a747ce439a3a0e3
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 29 14:16:47 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sat Feb 29 14:16:47 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=fda5ab99
7
8 games-action/psychonauts: update package
9
10 Migrate from deprecated eclass.
11
12 Package-Manager: Portage-2.3.84, Repoman-2.3.20
13 Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
14
15 games-action/psychonauts/metadata.xml | 2 +-
16 ...8.15.ebuild => psychonauts-2012.08.15-r1.ebuild} | 21 ++++++++-------------
17 2 files changed, 9 insertions(+), 14 deletions(-)
18
19 diff --git a/games-action/psychonauts/metadata.xml b/games-action/psychonauts/metadata.xml
20 index 9dfdfbc..58233f7 100644
21 --- a/games-action/psychonauts/metadata.xml
22 +++ b/games-action/psychonauts/metadata.xml
23 @@ -1,7 +1,7 @@
24 <?xml version="1.0" encoding="UTF-8"?>
25 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
26 <pkgmetadata>
27 -<maintainer>
28 +<maintainer type="person">
29 <email>azamat.hackimov@×××××.com</email>
30 <name>Azamat H. Hackimov</name>
31 </maintainer>
32
33 diff --git a/games-action/psychonauts/psychonauts-2012.08.15.ebuild b/games-action/psychonauts/psychonauts-2012.08.15-r1.ebuild
34 similarity index 73%
35 rename from games-action/psychonauts/psychonauts-2012.08.15.ebuild
36 rename to games-action/psychonauts/psychonauts-2012.08.15-r1.ebuild
37 index 0579174..b09f4de 100644
38 --- a/games-action/psychonauts/psychonauts-2012.08.15.ebuild
39 +++ b/games-action/psychonauts/psychonauts-2012.08.15-r1.ebuild
40 @@ -1,16 +1,13 @@
41 -# Copyright 1999-2012 Gentoo Foundation
42 +# Copyright 1999-2020 Gentoo Authors
43 # Distributed under the terms of the GNU General Public License v2
44 -# $Header: $
45
46 -EAPI=3
47 +EAPI=7
48
49 -inherit games versionator
50 -
51 -MY_PV=$(version_format_string '${2}${3}${1}')
52 +inherit desktop eutils multilib-minimal
53
54 DESCRIPTION="A mind-bending platforming adventure from Double Fine Productions."
55 HOMEPAGE="http://www.psychonauts.com/"
56 -SRC_URI="${PN}-linux-${MY_PV}-bin"
57 +SRC_URI="${PN}-linux-$(ver_cut 2)$(ver_cut 3)$(ver_cut 1)-bin"
58
59 LICENSE="Psychonauts-EULA"
60 SLOT="0"
61 @@ -19,8 +16,8 @@ IUSE=""
62
63 DEPEND="app-arch/unzip"
64 RDEPEND="virtual/opengl
65 - amd64? ( app-emulation/emul-linux-x86-sdl )
66 - x86? ( media-libs/openal media-libs/libsdl )"
67 + media-libs/openal[${MULTILIB_USEDEP}]
68 + media-libs/libsdl[${MULTILIB_USEDEP}]"
69
70 RESTRICT="fetch strip"
71
72 @@ -43,7 +40,7 @@ src_unpack() {
73 }
74
75 src_install() {
76 - local dir="${GAMES_PREFIX_OPT}/${PN}"
77 + local dir="/opt/${PN}"
78 dodoc "Psychonauts Manual Win.pdf"
79 dodoc Documents/Readmes/*
80 exeinto ${dir}
81 @@ -51,8 +48,6 @@ src_install() {
82 insinto ${dir}
83 doins -r DisplaySettings.ini PsychonautsData2.pkg WorkResource || die
84 doicon ${PN}.png
85 - games_make_wrapper ${PN} ./Psychonauts "${dir}" "${dir}"
86 + make_wrapper ${PN} ./Psychonauts "${dir}" "${dir}"
87 make_desktop_entry ${PN} Psychonauts ${PN}
88 -
89 - prepgamesdirs
90 }