commit:     ca7604468ddcc7162aa0cb44a706845751ab44ad
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 17:19:54 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 17:28:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca760446

app-office/libalkimia: Port to ecm.eclass and kde.org.eclass

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

 app-office/libalkimia/libalkimia-7.0.2-r1.ebuild | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/app-office/libalkimia/libalkimia-7.0.2-r1.ebuild 
b/app-office/libalkimia/libalkimia-7.0.2-r1.ebuild
index 4a61fccbf5c..eab11cea7ef 100644
--- a/app-office/libalkimia/libalkimia-7.0.2-r1.ebuild
+++ b/app-office/libalkimia/libalkimia-7.0.2-r1.ebuild
@@ -1,19 +1,21 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-KDE_TEST="forceoptional"
-KMNAME="alkimia"
-inherit kde5
+ECM_TEST="forceoptional"
+KDE_ORG_NAME="alkimia"
+QTMIN=5.12.3
+inherit ecm kde.org
 
 if [[ ${KDE_BUILD_TYPE} = release ]]; then
-       SRC_URI="mirror://kde/stable/${KMNAME}/${PV}/${KMNAME}-${PV}.tar.xz"
+       
SRC_URI="mirror://kde/stable/${KDE_ORG_NAME}/${PV}/${KDE_ORG_NAME}-${PV}.tar.xz"
        KEYWORDS="amd64 x86"
 fi
 
 DESCRIPTION="Library with common classes and functionality used by KDE finance 
applications"
 
HOMEPAGE="https://www.linux-apps.com/content/show.php/libalkimia?content=137323";
+
 LICENSE="LGPL-2.1"
 SLOT="0/7"
 IUSE="doc gmp"
@@ -23,7 +25,7 @@ BDEPEND="
        doc? ( app-doc/doxygen )
 "
 DEPEND="
-       $(add_qt_dep qtdbus)
+       >=dev-qt/qtdbus-${QTMIN}:5
        !gmp? ( sci-libs/mpir:=[cxx] )
        gmp? ( dev-libs/gmp:0=[cxx] )
 "
@@ -34,5 +36,5 @@ src_configure() {
                $(cmake_use_find_package doc Doxygen)
                $(cmake_use_find_package !gmp MPIR)
        )
-       kde5_src_configure
+       ecm_src_configure
 }

Reply via email to