commit:     df9c52ff55421beef17440ef43fcf34badf2ceaa
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  7 19:46:06 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec  7 19:46:12 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=df9c52ff

app-dicts/qvortaro: Port to EAPI-7, qmake-utils, xdg eclass, fix SRC_URI

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-dicts/qvortaro/files/qvortaro-0.4.1-gcc45.patch |  4 ++--
 app-dicts/qvortaro/qvortaro-0.4.1.ebuild            | 14 ++++++++++----
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/app-dicts/qvortaro/files/qvortaro-0.4.1-gcc45.patch 
b/app-dicts/qvortaro/files/qvortaro-0.4.1-gcc45.patch
index 431cdc49..dd43bfab 100644
--- a/app-dicts/qvortaro/files/qvortaro-0.4.1-gcc45.patch
+++ b/app-dicts/qvortaro/files/qvortaro-0.4.1-gcc45.patch
@@ -1,7 +1,7 @@
 http://bugs.gentoo.org/322213
 
---- src/eolistbrowser.cpp
-+++ src/eolistbrowser.cpp
+--- a/src/eolistbrowser.cpp
++++ b/src/eolistbrowser.cpp
 @@ -28,7 +28,7 @@
  {
    ui.setupUi(this);

diff --git a/app-dicts/qvortaro/qvortaro-0.4.1.ebuild 
b/app-dicts/qvortaro/qvortaro-0.4.1.ebuild
index ac098c56..a2d3c1ae 100644
--- a/app-dicts/qvortaro/qvortaro-0.4.1.ebuild
+++ b/app-dicts/qvortaro/qvortaro-0.4.1.ebuild
@@ -1,12 +1,13 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils qt4-r2
+EAPI=7
+
+inherit desktop qmake-utils xdg
 
 DESCRIPTION="Esperanto Dictionary"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage";
-SRC_URI="mirror://gentoo/${P}.tar.gz"
+HOMEPAGE="https://sourceforge.net/projects/qvortaro.berlios/";
+SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz"
 
 LICENSE="GPL-3"
 SLOT="0"
@@ -14,12 +15,17 @@ KEYWORDS="~amd64 ~x86"
 IUSE=""
 
 DEPEND="
+       dev-qt/qtcore:4
        dev-qt/qtgui:4
        dev-qt/qtsql:4
 "
 
 PATCHES=( "${FILESDIR}/${P}-gcc45.patch" )
 
+src_configure() {
+       eqmake4
+}
+
 src_install() {
        dobin qvortaro
        newicon src/img/icon_16.png ${PN}.png

Reply via email to