From: Andreas Sturmlechner Date: Thu, 14 Feb 2019 22:21:31 +0000 (+0100) Subject: app-text/apvlv: Switch from gnome2-utils to xdg, EAPI-7 bump X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cf078defd35623d5692d15c51d1f7beda41a7f91;p=gentoo.git app-text/apvlv: Switch from gnome2-utils to xdg, EAPI-7 bump Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- diff --git a/app-text/apvlv/apvlv-0.1.5-r2.ebuild b/app-text/apvlv/apvlv-0.1.5-r2.ebuild index ed51cc3d3d63..e952e34db067 100644 --- a/app-text/apvlv/apvlv-0.1.5-r2.ebuild +++ b/app-text/apvlv/apvlv-0.1.5-r2.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 cmake-utils desktop gnome2-utils xdg-utils +inherit xdg cmake-utils desktop DESCRIPTION="Alf's PDF Viewer Like Vim" HOMEPAGE="https://naihe2010.github.com/apvlv/" @@ -14,15 +14,16 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="debug djvu" -RDEPEND=" +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" >=app-text/poppler-0.18[cairo,xpdf-headers(+)] dev-libs/glib:2 x11-libs/gtk+:3 djvu? ( app-text/djvu:= ) " -DEPEND="${RDEPEND} - virtual/pkgconfig -" +RDEPEND="${DEPEND}" PATCHES=( # preserve cflags @@ -50,13 +51,3 @@ src_install() { cmake-utils_src_install newicon -s 32 icons/pdf.png ${PN}.png } - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -}