commit: cf078defd35623d5692d15c51d1f7beda41a7f91 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Feb 14 22:21:31 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Feb 14 23:06:33 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf078def
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 <asturm <AT> gentoo.org> app-text/apvlv/apvlv-0.1.5-r2.ebuild | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/app-text/apvlv/apvlv-0.1.5-r2.ebuild b/app-text/apvlv/apvlv-0.1.5-r2.ebuild index ed51cc3d3d6..e952e34db06 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 -}