summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-02-14 23:21:31 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-15 00:06:33 +0100
commitcf078defd35623d5692d15c51d1f7beda41a7f91 (patch)
tree3f719af39fe360b7300b6df51c6fd98d3f431b05 /app-text/apvlv
parentapp-text/pdfshuffler: Switch from gnome2-utils to xdg, EAPI-7 bump (diff)
downloadgentoo-cf078defd35623d5692d15c51d1f7beda41a7f91.tar.gz
gentoo-cf078defd35623d5692d15c51d1f7beda41a7f91.tar.bz2
gentoo-cf078defd35623d5692d15c51d1f7beda41a7f91.zip
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@gentoo.org>
Diffstat (limited to 'app-text/apvlv')
-rw-r--r--app-text/apvlv/apvlv-0.1.5-r2.ebuild23
1 files 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 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
-}