From f255c6db66e04ee781220591bd87c8c0d7693f31 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 29 Apr 2019 00:43:24 +0200 Subject: [PATCH] app-text/kchmviewer: EAPI-7 bump, eutils -> desktop eclass Package-Manager: Portage-2.3.65, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- 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 f9d3ca256aad..f38835061d77 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 -} -- 2.26.2