commit:     f255c6db66e04ee781220591bd87c8c0d7693f31
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 22:43:24 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 23:45:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f255c6db

app-text/kchmviewer: EAPI-7 bump, eutils -> desktop eclass

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

 app-text/kchmviewer/kchmviewer-7.7-r1.ebuild | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/app-text/kchmviewer/kchmviewer-7.7-r1.ebuild 
b/app-text/kchmviewer/kchmviewer-7.7-r1.ebuild
index f9d3ca256aa..f38835061d7 100644
--- a/app-text/kchmviewer/kchmviewer-7.7-r1.ebuild
+++ b/app-text/kchmviewer/kchmviewer-7.7-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils qmake-utils xdg-utils
+inherit desktop qmake-utils xdg-utils
 
 DESCRIPTION="Feature rich chm file viewer, based on Qt"
 HOMEPAGE="https://www.ulduzsoft.com/kchmviewer/";
@@ -14,7 +14,7 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-RDEPEND="
+DEPEND="
        dev-libs/chmlib
        dev-libs/libzip:=
        dev-qt/qtcore:5
@@ -26,7 +26,7 @@ RDEPEND="
        dev-qt/qtwidgets:5
        dev-qt/qtxml:5
 "
-DEPEND="${RDEPEND}"
+RDEPEND="${DEPEND}"
 
 PATCHES=(
        "${FILESDIR}/${P}-force-qtwebkit.patch"
@@ -43,11 +43,3 @@ src_install() {
        dobin bin/kchmviewer
        domenu packages/kchmviewer.desktop
 }
-
-pkg_postinst() {
-       xdg_desktop_database_update
-}
-
-pkg_postrm() {
-       xdg_desktop_database_update
-}

Reply via email to