summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-04-29 00:43:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-04-29 01:45:20 +0200
commitf255c6db66e04ee781220591bd87c8c0d7693f31 (patch)
tree36fad2ef9f20e5f06d0c9be85b936343c8258e62 /app-text/kchmviewer
parentapp-text/kchmviewer: Update upstream remote-id (diff)
downloadgentoo-f255c6db66e04ee781220591bd87c8c0d7693f31.tar.gz
gentoo-f255c6db66e04ee781220591bd87c8c0d7693f31.tar.bz2
gentoo-f255c6db66e04ee781220591bd87c8c0d7693f31.zip
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@gentoo.org>
Diffstat (limited to 'app-text/kchmviewer')
-rw-r--r--app-text/kchmviewer/kchmviewer-7.7-r1.ebuild18
1 files 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
-}