diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-06 01:24:48 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2020-06-06 01:24:48 +0200 |
commit | cd80ac089f1f15e60331985f5d5f14581379a985 (patch) | |
tree | 6f646ef416660629e72a266db9b220fedbe77554 /app-office/kmymoney | |
parent | app-office/kmymoney: Drop IUSE="weboob" (diff) | |
download | kde-cd80ac089f1f15e60331985f5d5f14581379a985.tar.gz kde-cd80ac089f1f15e60331985f5d5f14581379a985.tar.bz2 kde-cd80ac089f1f15e60331985f5d5f14581379a985.zip |
app-office/kmymoney: Add 5.1 stable branch
Closes: https://bugs.gentoo.org/727266
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-office/kmymoney')
-rw-r--r-- | app-office/kmymoney/kmymoney-5.1.9999.ebuild | 126 |
1 files changed, 126 insertions, 0 deletions
diff --git a/app-office/kmymoney/kmymoney-5.1.9999.ebuild b/app-office/kmymoney/kmymoney-5.1.9999.ebuild new file mode 100644 index 0000000000..6045861940 --- /dev/null +++ b/app-office/kmymoney/kmymoney-5.1.9999.ebuild @@ -0,0 +1,126 @@ +# 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.60.0 +QTMIN=5.12.3 +VIRTUALX_REQUIRED="test" +VIRTUALDBUS_TEST="true" +inherit ecm kde.org + +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 ofx quotes webkit" +[[ ${KDE_BUILD_TYPE} = live ]] && IUSE+=" experimental" + +BDEPEND="virtual/pkgconfig" +COMMON_DEPEND=" + >=app-crypt/gpgme-1.7.1-r1[cxx] + >=app-office/libalkimia-7.0.0:= + dev-libs/gmp:0=[cxx] + dev-libs/kdiagram:5 + dev-libs/libgpg-error + >=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/qtwidgets-${QTMIN}:5 + >=dev-qt/qtxml-${QTMIN}:5 + >=kde-frameworks/karchive-${KFMIN}:5 + >=kde-frameworks/kcmutils-${KFMIN}:5 + >=kde-frameworks/kcompletion-${KFMIN}:5 + >=kde-frameworks/kcodecs-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kiconthemes-${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 ) + ofx? ( dev-libs/libofx ) + webkit? ( + >=dev-qt/qtwebkit-5.212.0_pre20180120:5 + >=kde-frameworks/kdewebkit-${KFMIN}:5 + ) + !webkit? ( >=dev-qt/qtwebengine-${QTMIN}:5[widgets] ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost +" +RDEPEND="${COMMON_DEPEND} + !app-office/kmymoney:4 + quotes? ( dev-perl/Finance-Quote ) +" + +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=( + -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) + -DENABLE_OFXIMPORTER=$(usex ofx) + -DENABLE_WEBENGINE=$(usex !webkit) + -DENABLE_WEBOOB=OFF + ) + [[ ${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 +} |