app-crypt/xca: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 21:39:23 +0000 (23:39 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 21:40:24 +0000 (23:40 +0200)
Package-Manager: portage-2.3.3

app-crypt/xca/files/xca-1.0.0-desktop.patch
app-crypt/xca/xca-1.3.2-r2.ebuild

index 0d3516064dedc93e4338a362a074c8bf03ce50d3..e2da3a103cf851cca89a47def3be9b4f753f1b5f 100644 (file)
@@ -1,5 +1,5 @@
---- misc/xca.desktop   2012-05-12 05:37:14.000000000 -0400
-+++ xca.desktop.new    2013-01-03 19:43:35.877856711 -0500
+--- a/misc/xca.desktop 2012-05-12 05:37:14.000000000 -0400
++++ b/misc/xca.desktop 2013-01-03 19:43:35.877856711 -0500
 @@ -7,5 +7,5 @@
  Icon=xca-32x32
  Terminal=false
index 117d698ad86390967d0deab66dc0fb2f3a988f5c..37b4f1b29c044eb35e951540bf13d7b14bd185d4 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI="6"
 
 inherit eutils flag-o-matic toolchain-funcs autotools
 
@@ -25,9 +25,13 @@ RDEPEND="
        qt4? ( dev-qt/qtgui:4 )"
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+       "${FILESDIR}/${PN}-1.0.0-desktop.patch"
+       "${FILESDIR}/${P}-build.patch"
+)
+
 src_prepare() {
-       epatch "${FILESDIR}"/${PN}-1.0.0-desktop.patch
-       epatch "${FILESDIR}"/${P}-build.patch
+       default
        AT_M4DIR="m4" eautoreconf
 }
 
@@ -35,7 +39,6 @@ src_configure() {
        # bug #595440
        use qt5 && append-cxxflags -std=c++11
        econf \
-               --docdir="${EPREFIX}/usr/share/doc/${PF}" \
                --with-qt-version=$(use qt5 && echo 5 || echo 4) \
                $(use_enable doc) \
                STRIP=true
@@ -49,6 +52,7 @@ src_compile() {
 src_install() {
        # non standard destdir
        emake install destdir="${ED}"
+       einstalldocs
 
        insinto /etc/xca
        doins misc/*.txt