app-crypt/xca: eapi bump

Package-Manager: portage-2.3.3
This commit is contained in:
Alon Bar-Lev
2017-02-04 23:39:23 +02:00
parent 0a62812361
commit 9e0b54b49a
2 changed files with 11 additions and 7 deletions

View 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

View 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