commit:     e1c0c1e27eb16948b932beb4984f4f275faefd5e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 12 07:53:14 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jun 12 07:58:10 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c0c1e2

app-text/apvlv: EAPI-6 bump, eutils->desktop

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-text/apvlv/apvlv-0.1.5-r2.ebuild | 14 +++++---------
 1 file 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 2b8f04dccb9..f369b25891e 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
 }

Reply via email to