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-puzzle/zenbound2/
Date: Sat, 29 Feb 2020 13:05:07
Message-Id: 1582977660.a87b22b43cd02932b964371d4c7cc16d630483d2.winterheart@gentoo
1 commit: a87b22b43cd02932b964371d4c7cc16d630483d2
2 Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 29 12:01:00 2020 +0000
4 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
5 CommitDate: Sat Feb 29 12:01:00 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=a87b22b4
7
8 games-puzzle/zenbound2: 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-puzzle/zenbound2/metadata.xml | 11 ++++++++++
16 ...0120325.ebuild => zenbound2-20120325-r1.ebuild} | 25 ++++++++++------------
17 2 files changed, 22 insertions(+), 14 deletions(-)
18
19 diff --git a/games-puzzle/zenbound2/metadata.xml b/games-puzzle/zenbound2/metadata.xml
20 new file mode 100644
21 index 0000000..aec4945
22 --- /dev/null
23 +++ b/games-puzzle/zenbound2/metadata.xml
24 @@ -0,0 +1,11 @@
25 +<?xml version="1.0" encoding="UTF-8"?>
26 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 +<pkgmetadata>
28 +<maintainer type="person">
29 +<email>mva@×××.name</email>
30 +<name>Vadim A. Misbakh-Soloviov</name>
31 +</maintainer>
32 +<longdescription lang="en">
33 +</longdescription>
34 +</pkgmetadata>
35 +
36
37 diff --git a/games-puzzle/zenbound2/zenbound2-20120325.ebuild b/games-puzzle/zenbound2/zenbound2-20120325-r1.ebuild
38 similarity index 75%
39 rename from games-puzzle/zenbound2/zenbound2-20120325.ebuild
40 rename to games-puzzle/zenbound2/zenbound2-20120325-r1.ebuild
41 index 177b15f..8835a39 100644
42 --- a/games-puzzle/zenbound2/zenbound2-20120325.ebuild
43 +++ b/games-puzzle/zenbound2/zenbound2-20120325-r1.ebuild
44 @@ -1,10 +1,9 @@
45 -# Copyright 1999-2011 Gentoo Foundation
46 +# Copyright 1999-2020 Gentoo Authors
47 # Distributed under the terms of the GNU General Public License v2
48 -# $Header: games-puzzle/kinetris/kinetris-1.0.0b_pre5.ebuild frostwork Exp $
49
50 -EAPI="5"
51 +EAPI=7
52
53 -inherit multilib games
54 +inherit desktop eutils
55
56 DESCRIPTION="A calm and meditative game of wrapping rope around wooden sculptures."
57 HOMEPAGE="http://zenbound.com/"
58 @@ -13,10 +12,10 @@ SRC_URI="
59 amd64? ( ${P}-amd64.tar.gz )
60 "
61
62 -LICENSE="as-is"
63 +LICENSE="all-rights-reserved"
64 SLOT="0"
65 RESTRICT="fetch"
66 -KEYWORDS="~amd64 ~x86"
67 +KEYWORDS="-* ~amd64 ~x86"
68 IUSE=""
69
70 DEPEND=""
71 @@ -72,7 +71,7 @@ MY_PN="ZenBound2"
72
73 src_install() {
74 local lib="$(get_libdir)"
75 - GAMEDIR="${GAMES_PREFIX_OPT}/${PN}"
76 + local dir="/opt/${PN}"
77
78 # Unbundling
79 rm "./${lib}/libopenal.so.1"
80 @@ -82,15 +81,13 @@ src_install() {
81 rm "./${lib}/libogg.so.0"
82
83 newicon "${MY_PN}.png" "${PN}.png"
84 - exeinto "${GAMEDIR}"
85 - insinto "${GAMEDIR}"
86 + exeinto "${dir}"
87 + insinto "${dir}"
88 doins -r "data_common"
89 doins -r "data_desktop"
90 doexe "${MY_PN}.bin"
91
92 - # install shortcuts
93 - games_make_wrapper "${PN}" "./${MY_PN}.bin" "${GAMEDIR}" "${GAMEDIR}/${lib}" || die "install shortcut"
94 - make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
95 -
96 - prepgamesdirs
97 + # install shortcuts
98 + make_wrapper "${PN}" "./${MY_PN}.bin" "${dir}" "${dir}/${lib}" || die "install shortcut"
99 + make_desktop_entry "${PN}" "${MY_PN}" "${PN}"
100 }