commit:     64b60e7aed19589c06a8ec6e270f88a1310ecafb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 14 20:45:28 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 14 23:06:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b60e7a

games-board/tetzle: Switch from gnome2-utils to xdg, EAPI-7 bump

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 games-board/tetzle/tetzle-2.1.3.ebuild | 29 +++++++++--------------------
 1 file changed, 9 insertions(+), 20 deletions(-)

diff --git a/games-board/tetzle/tetzle-2.1.3.ebuild 
b/games-board/tetzle/tetzle-2.1.3.ebuild
index bc3518d35a8..dfd7e0638d6 100644
--- a/games-board/tetzle/tetzle-2.1.3.ebuild
+++ b/games-board/tetzle/tetzle-2.1.3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit gnome2-utils qmake-utils xdg-utils
+inherit qmake-utils xdg
 
-DESCRIPTION="A jigsaw puzzle game that uses tetrominoes for the pieces"
+DESCRIPTION="Jigsaw puzzle game that uses tetrominoes for the pieces"
 HOMEPAGE="https://gottcode.org/tetzle/";
 SRC_URI="https://gottcode.org/${PN}/${P}-src.tar.bz2";
 
@@ -14,14 +14,15 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-RDEPEND="
+BDEPEND="
+       dev-qt/linguist-tools:5
+"
+DEPEND="
        dev-qt/qtcore:5
        dev-qt/qtgui:5
        dev-qt/qtwidgets:5
 "
-DEPEND="${RDEPEND}
-       dev-qt/linguist-tools:5
-"
+RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
 
@@ -33,15 +34,3 @@ src_install(){
        emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
        einstalldocs
 }
-
-pkg_postinst() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}

Reply via email to