summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-12-22 11:06:52 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-12-22 12:18:08 +0100
commit06b0d8a809f73fb68fe2683677a533c300130705 (patch)
tree44a9789dca9273d4d1a5a75cfcb045c0cce31cc6 /app-office/kmymoney
parentgnome-extra/pch-session: Bump to 3.38.1 (diff)
downloadgentoo-06b0d8a809f73fb68fe2683677a533c300130705.tar.gz
gentoo-06b0d8a809f73fb68fe2683677a533c300130705.tar.bz2
gentoo-06b0d8a809f73fb68fe2683677a533c300130705.zip
app-office/kmymoney: 5.1.1 version bump
- Dropping IUSE=quotes, using optfeature instead - Minor: Fix HOMEPAGE, some better sorting See also: https://kmymoney.org/2020/12/20/kmymoney-5-1-1-released.html Reported-by: Jack Ostroff <ostroffjh@users.sourceforge.net> Closes: https://bugs.gentoo.org/758839 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-office/kmymoney')
-rw-r--r--app-office/kmymoney/Manifest1
-rw-r--r--app-office/kmymoney/kmymoney-5.1.1.ebuild133
2 files changed, 134 insertions, 0 deletions
diff --git a/app-office/kmymoney/Manifest b/app-office/kmymoney/Manifest
index 83cfafc91fab..62dad7356e20 100644
--- a/app-office/kmymoney/Manifest
+++ b/app-office/kmymoney/Manifest
@@ -1 +1,2 @@
DIST kmymoney-5.1.0.tar.xz 12005824 BLAKE2B 4eaeefba29d4df85c485d8d94db80b418c0086f6cac81295f1251e3d4883a78c71d0401286a918831ee2a39571a70583675ee303775bffdb3333e11d5624bbf6 SHA512 143161efd708ae05923d68510945c24f08d85cd6482b3e6015c6061bc28c80e095ca56b768e595bfae50ea3340855e021dde5c715546c0641f94adcd91639334
+DIST kmymoney-5.1.1.tar.xz 12059768 BLAKE2B 8b41bce8804d757ba9c801c7b1eeb214a8983c4686a9663a4b5255460139593b7f70e29f08294df810a02eab4190dc6de852be091760981fd84ff8191fda82a3 SHA512 2ed3e47b2e65c9d9e5a11b55f0d425192331b21d64f8a4a4f8921fdd67eac219bf3ae1418026071218d823acc9a36905dc5c499cb0ae2af4ced0e32d1720bf59
diff --git a/app-office/kmymoney/kmymoney-5.1.1.ebuild b/app-office/kmymoney/kmymoney-5.1.1.ebuild
new file mode 100644
index 000000000000..79899dc65afd
--- /dev/null
+++ b/app-office/kmymoney/kmymoney-5.1.1.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_BRANCH="5.1"
+ECM_HANDBOOK="optional"
+ECM_TEST="forceoptional"
+KFMIN=5.74.0
+QTMIN=5.15.1
+VIRTUALX_REQUIRED="test"
+VIRTUALDBUS_TEST="true"
+inherit ecm kde.org optfeature
+
+DESCRIPTION="Personal finance manager based on KDE Frameworks"
+HOMEPAGE="https://kmymoney.org/"
+
+if [[ ${KDE_BUILD_TYPE} = release ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="5"
+IUSE="activities addressbook calendar hbci holidays"
+[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+ >=app-crypt/gpgme-1.7.1-r1[cxx]
+ >=app-office/libalkimia-7.0.0:=
+ dev-db/sqlcipher
+ dev-libs/gmp:0=[cxx]
+ dev-libs/kdiagram:5
+ dev-libs/libgpg-error
+ dev-libs/libofx:=
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtprintsupport-${QTMIN}:5
+ >=dev-qt/qtsql-${QTMIN}:5
+ >=dev-qt/qtsvg-${QTMIN}:5
+ >=dev-qt/qtwebengine-${QTMIN}:5[widgets]
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/karchive-${KFMIN}:5
+ >=kde-frameworks/kcmutils-${KFMIN}:5
+ >=kde-frameworks/kcodecs-${KFMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kiconthemes-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kitemmodels-${KFMIN}:5
+ >=kde-frameworks/kitemviews-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kservice-${KFMIN}:5
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=kde-frameworks/sonnet-${KFMIN}:5
+ activities? ( >=kde-frameworks/kactivities-${KFMIN}:5 )
+ addressbook? (
+ kde-apps/akonadi:5
+ kde-apps/kidentitymanagement:5
+ >=kde-frameworks/kcontacts-${KFMIN}:5
+ )
+ calendar? ( dev-libs/libical:= )
+ hbci? (
+ >=net-libs/aqbanking-6.0.1
+ >=sys-libs/gwenhywfar-5.1.2:=[qt5]
+ )
+ holidays? ( >=kde-frameworks/kholidays-${KFMIN}:5 )
+"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+"
+
+pkg_setup() {
+ ecm_pkg_setup
+
+ if [[ ${KDE_BUILD_TYPE} = live ]] && use experimental; then
+ ewarn "USE experimental set: Building unfinished features."
+ ewarn "This *will* chew up your data. You have been warned."
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_OFXIMPORTER=ON
+ -DENABLE_WEBENGINE=ON
+ -DENABLE_WEBOOB=OFF
+ -DUSE_QT_DESIGNER=OFF
+ $(cmake_use_find_package activities KF5Activities)
+ $(cmake_use_find_package addressbook KF5Akonadi)
+ $(cmake_use_find_package addressbook KF5Contacts)
+ $(cmake_use_find_package addressbook KF5IdentityManagement)
+ -DENABLE_LIBICAL=$(usex calendar)
+ -DENABLE_KBANKING=$(usex hbci)
+ $(cmake_use_find_package holidays KF5Holidays)
+ )
+ [[ ${KDE_BUILD_TYPE} = live ]] &&
+ mycmakeargs+=( -DENABLE_UNFINISHEDFEATURES=$(usex experimental) )
+
+ ecm_src_configure
+}
+
+src_test() {
+ # bug 652636; bug 673052: needs kmymoney installed to succeed
+ local myctestargs=(
+ -E "(reports-chart-test|qsqlcipher-test)"
+ )
+
+ ecm_src_test
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "More options for online stock quote retrieval" dev-perl/Finance-Quote
+ fi
+ if has_version "app-office/kmymoney[quotes]"; then
+ elog "Please note: IUSE=quotes flag is gone in ${PN}-5.1.1. ${PN} still"
+ elog "does online stock quote retrieval without it, but dev-perl/Finance-Quote"
+ elog "may provide additional sources. To keep the functionality, run:"
+ elog " emerge --noreplace dev-perl/Finance-Quote"
+ fi
+ ecm_pkg_postinst
+}