Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-board/openriichi/
Date: Tue, 31 May 2022 07:27:06
Message-Id: 1653982006.e5619f452d0da7a3595dc6846de62f6ec3888640.cybertailor@gentoo
1 commit: e5619f452d0da7a3595dc6846de62f6ec3888640
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Tue May 31 06:05:48 2022 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Tue May 31 07:26:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5619f45
7
8 games-board/openriichi: update EAPI 7 -> 8
9
10 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
11
12 games-board/openriichi/openriichi-0.2.1.1.ebuild | 13 ++++---------
13 1 file changed, 4 insertions(+), 9 deletions(-)
14
15 diff --git a/games-board/openriichi/openriichi-0.2.1.1.ebuild b/games-board/openriichi/openriichi-0.2.1.1.ebuild
16 index 4e745a705..a56bc710d 100644
17 --- a/games-board/openriichi/openriichi-0.2.1.1.ebuild
18 +++ b/games-board/openriichi/openriichi-0.2.1.1.ebuild
19 @@ -1,9 +1,7 @@
20 # Copyright 1999-2021 Gentoo Authors
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI=7
24 -
25 -VALA_MIN_API_VERSION="0.44"
26 +EAPI=8
27
28 inherit desktop meson vala xdg
29
30 @@ -16,15 +14,12 @@ SRC_URI="
31 https://github.com/FluffyStuff/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
32 https://github.com/FluffyStuff/Engine/archive/${Engine_sha}.tar.gz -> ${P}-Engine.tar.gz
33 "
34 +S="${WORKDIR}/${MY_PN}-${PV}"
35
36 LICENSE="GPL-3"
37 SLOT="0"
38 KEYWORDS="~amd64 ~x86"
39
40 -RESTRICT="mirror"
41 -
42 -S="${WORKDIR}/${MY_PN}-${PV}"
43 -
44 RDEPEND="
45 $(vala_depend)
46 dev-libs/libgee:0.8
47 @@ -45,12 +40,12 @@ src_prepare() {
48 #switch vsync ON by default
49 sed -i -e "s/v_sync = OnOffEnum.OFF/v_sync = OnOffEnum.ON/" "${S}/source/Game/Options.vala" || die
50
51 - vala_src_prepare
52 + vala_setup
53 }
54
55 src_install() {
56 meson_src_install
57
58 newicon -s 64 "bin/Data/Icon.png" "${MY_PN}.png"
59 - make_desktop_entry "${MY_PN}" "${MY_PN}" "${MY_PN}" "Game;BoardGame" || die "Failed making desktop entry!"
60 + make_desktop_entry "${MY_PN}" "${MY_PN}" "${MY_PN}" "Game;BoardGame"
61 }