summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-06-12 09:53:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-06-12 09:58:10 +0200
commite1c0c1e27eb16948b932beb4984f4f275faefd5e (patch)
tree544c23616bb59d65f8f473fa4faaee998b9e4ed2 /app-text
parentdev-lang/ghc: stable 8.0.2 for ia64, bug #631138 (diff)
downloadgentoo-e1c0c1e27eb16948b932beb4984f4f275faefd5e.tar.gz
gentoo-e1c0c1e27eb16948b932beb4984f4f275faefd5e.tar.bz2
gentoo-e1c0c1e27eb16948b932beb4984f4f275faefd5e.zip
app-text/apvlv: EAPI-6 bump, eutils->desktop
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'app-text')
-rw-r--r--app-text/apvlv/apvlv-0.1.5-r2.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/app-text/apvlv/apvlv-0.1.5-r2.ebuild b/app-text/apvlv/apvlv-0.1.5-r2.ebuild
index 2b8f04dccb92..f369b25891e7 100644
--- a/app-text/apvlv/apvlv-0.1.5-r2.ebuild
+++ b/app-text/apvlv/apvlv-0.1.5-r2.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils cmake-utils gnome2-utils
+EAPI=6
+
+inherit cmake-utils desktop gnome2-utils
DESCRIPTION="Alf's PDF Viewer Like Vim"
HOMEPAGE="https://naihe2010.github.com/apvlv/"
@@ -38,22 +39,17 @@ src_configure() {
-DAPVLV_WITH_HTML=OFF
-DAPVLV_WITH_UMD=OFF
-DAPVLV_WITH_TXT=ON
- $(cmake-utils_use djvu APVLV_WITH_DJVU)
- $(cmake-utils_use debug APVLV_ENABLE_DEBUG)
+ -DAPVLV_WITH_DJVU=$(usex djvu)
+ -DAPVLV_ENABLE_DEBUG=$(usex debug)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
- dodoc AUTHORS NEWS README THANKS TODO
newicon -s 32 icons/pdf.png ${PN}.png
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
gnome2_icon_cache_update
}