net-ftp/oneclickftp: migrate to EAPI 6
authorDavide Pesavento <pesa@gentoo.org>
Mon, 30 May 2016 18:00:37 +0000 (20:00 +0200)
committerDavide Pesavento <pesa@gentoo.org>
Mon, 30 May 2016 18:00:37 +0000 (20:00 +0200)
Package-Manager: portage-2.3.0_rc1

net-ftp/oneclickftp/oneclickftp-0.5.1.ebuild

index 893c2355159507a794d80697c4fed5f59e2b4c10..d6c31dfada8aa00bc3cdaecfcb45613cdf6c23d4 100644 (file)
@@ -1,9 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=2
-inherit eutils qt4-r2
+EAPI=6
+
+inherit eutils qmake-utils
 
 DESCRIPTION="The somehow different FTP client"
 HOMEPAGE="http://oneclickftp.sourceforge.net/"
@@ -15,11 +16,14 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND="
-       || ( app-crypt/qca:2 app-crypt/qca:2[qt4] )
-       dev-qt/qtgui:4"
+       app-crypt/qca:2[qt4(+)]
+       dev-qt/qtcore:4
+       dev-qt/qtgui:4
+"
+RDEPEND="${DEPEND}"
 
 PATCHES=(
-       "${FILESDIR}"/${P}-qt47.patch
+       "${FILESDIR}/${P}-qt47.patch"
 )
 
 src_configure() {
@@ -27,8 +31,10 @@ src_configure() {
 }
 
 src_install() {
-       emake INSTALL_ROOT="${D}" install || die
+       emake INSTALL_ROOT="${D}" install
+
        doicon res/icons/${PN}.png
        make_desktop_entry ${PN} ${PN}
-       dodoc CHANGELOG
+
+       einstalldocs
 }