summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-12-07 20:46:06 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-12-07 20:46:12 +0100
commitdf9c52ff55421beef17440ef43fcf34badf2ceaa (patch)
treeaeb6034c9ba50b28393a196bc0566f502878dfe7
parentsys-kernel/kccmp: EAPI-7 bump, switch to qmake-utils (diff)
downloadkde-sunset-df9c52ff55421beef17440ef43fcf34badf2ceaa.tar.gz
kde-sunset-df9c52ff55421beef17440ef43fcf34badf2ceaa.tar.bz2
kde-sunset-df9c52ff55421beef17440ef43fcf34badf2ceaa.zip
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@gentoo.org>
-rw-r--r--app-dicts/qvortaro/files/qvortaro-0.4.1-gcc45.patch4
-rw-r--r--app-dicts/qvortaro/qvortaro-0.4.1.ebuild14
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