commit:     ce5832b57c718f259d4cbaf00e2e9f5128d0d70f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 11 19:12:08 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 19:12:08 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5832b5

games-board/pokerth: Port to EAPI 7

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 games-board/pokerth/pokerth-1.1.2.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/games-board/pokerth/pokerth-1.1.2.ebuild 
b/games-board/pokerth/pokerth-1.1.2.ebuild
index 685ac05c300..c133c405644 100644
--- a/games-board/pokerth/pokerth-1.1.2.ebuild
+++ b/games-board/pokerth/pokerth-1.1.2.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit desktop gnome2-utils qmake-utils
+inherit desktop qmake-utils xdg
 
 DESCRIPTION="Texas Hold'em poker game"
 HOMEPAGE="https://www.pokerth.net/";
@@ -47,7 +47,7 @@ PATCHES=(
 )
 
 src_prepare() {
-       default
+       xdg_src_prepare
        sed -i 's/!client//' *.pro || die
 
        # delete bundled dev-cpp/websocketpp to be safe
@@ -73,7 +73,3 @@ src_install() {
                doicon -s 128 ${PN}.png
        fi
 }
-
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }

Reply via email to