Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pokerth/
Date: Sun, 11 Aug 2019 19:12:31
Message-Id: 1565550728.ce5832b57c718f259d4cbaf00e2e9f5128d0d70f.soap@gentoo
1 commit: ce5832b57c718f259d4cbaf00e2e9f5128d0d70f
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 11 19:12:08 2019 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 11 19:12:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5832b5
7
8 games-board/pokerth: Port to EAPI 7
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 games-board/pokerth/pokerth-1.1.2.ebuild | 10 +++-------
14 1 file changed, 3 insertions(+), 7 deletions(-)
15
16 diff --git a/games-board/pokerth/pokerth-1.1.2.ebuild b/games-board/pokerth/pokerth-1.1.2.ebuild
17 index 685ac05c300..c133c405644 100644
18 --- a/games-board/pokerth/pokerth-1.1.2.ebuild
19 +++ b/games-board/pokerth/pokerth-1.1.2.ebuild
20 @@ -1,9 +1,9 @@
21 # Copyright 1999-2019 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=6
25 +EAPI=7
26
27 -inherit desktop gnome2-utils qmake-utils
28 +inherit desktop qmake-utils xdg
29
30 DESCRIPTION="Texas Hold'em poker game"
31 HOMEPAGE="https://www.pokerth.net/"
32 @@ -47,7 +47,7 @@ PATCHES=(
33 )
34
35 src_prepare() {
36 - default
37 + xdg_src_prepare
38 sed -i 's/!client//' *.pro || die
39
40 # delete bundled dev-cpp/websocketpp to be safe
41 @@ -73,7 +73,3 @@ src_install() {
42 doicon -s 128 ${PN}.png
43 fi
44 }
45 -
46 -pkg_preinst() { gnome2_icon_savelist; }
47 -pkg_postinst() { gnome2_icon_cache_update; }
48 -pkg_postrm() { gnome2_icon_cache_update; }