app-office/kmymoney: 5.0.6 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 22 Aug 2019 16:46:15 +0000 (18:46 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 22 Aug 2019 16:51:08 +0000 (18:51 +0200)
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
app-office/kmymoney/Manifest
app-office/kmymoney/kmymoney-5.0.6.ebuild [new file with mode: 0644]

index 84b77c053382b25403f8b7b85f4d90121b33fc04..ff9651ab9b16424049270f5aa9aa3454df198140 100644 (file)
@@ -1 +1,2 @@
 DIST kmymoney-5.0.5.tar.xz 11706112 BLAKE2B 7c0e51ad2404a88affd7b99c8ca59b813b646a7d995b5d7f6db311c8813f2966d14b34271f3d9de73d07c763fb191e9f4c0737e64feb35a62cd719856c20bab1 SHA512 ba8033b974b93d47cd2a732a352025715845d3dff016a49babb6b724d5e9b726f84f5e2a1f1f42765a6ff35a00d3d995397f2831981d48cb8468d1407030584c
+DIST kmymoney-5.0.6.tar.xz 11713976 BLAKE2B bfc4aacff79f0c92145257e7398271385f80d9ac7460b35f691c1e45dc115ebe91418a98a1a5e6a6c0cdc376beff7b92c8f7d7a29af3d2529503e7db4dc4b77a SHA512 237918b0844d5d9129d086f403090acf21be6e2ba1f41d575ff9de514a9ddcb7bd616da1377ecc34c4436e12481e425615ab640e7549c783d9010b22c0460480
diff --git a/app-office/kmymoney/kmymoney-5.0.6.ebuild b/app-office/kmymoney/kmymoney-5.0.6.ebuild
new file mode 100644 (file)
index 0000000..1ef5534
--- /dev/null
@@ -0,0 +1,120 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_BRANCH="5.0"
+PYTHON_COMPAT=( python2_7 )
+
+KDE_HANDBOOK="optional"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+VIRTUALDBUS_TEST="true"
+inherit kde5 python-single-r1
+
+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"
+fi
+
+LICENSE="GPL-2"
+KEYWORDS=""
+IUSE="activities addressbook calendar holidays ofx quotes webkit weboob"
+
+REQUIRED_USE="weboob? ( ${PYTHON_REQUIRED_USE} )"
+
+BDEPEND="virtual/pkgconfig"
+COMMON_DEPEND="
+       $(add_frameworks_dep karchive)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kcompletion)
+       $(add_frameworks_dep kcodecs)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kio)
+       $(add_frameworks_dep kiconthemes)
+       $(add_frameworks_dep kitemmodels)
+       $(add_frameworks_dep kitemviews)
+       $(add_frameworks_dep kjobwidgets)
+       $(add_frameworks_dep knotifications)
+       $(add_frameworks_dep kservice)
+       $(add_frameworks_dep ktextwidgets)
+       $(add_frameworks_dep kwallet)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kxmlgui)
+       $(add_frameworks_dep sonnet)
+       $(add_qt_dep qtdbus)
+       $(add_qt_dep qtgui)
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtprintsupport)
+       $(add_qt_dep qtsql)
+       $(add_qt_dep qtsvg)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtxml)
+       >=app-crypt/gpgme-1.7.1-r1[cxx]
+       >=app-office/libalkimia-7.0.0:=
+       dev-libs/gmp:0=
+       dev-libs/kdiagram:5
+       dev-libs/libgpg-error
+       activities? ( $(add_frameworks_dep kactivities) )
+       addressbook? (
+               $(add_kdeapps_dep akonadi)
+               $(add_kdeapps_dep kcontacts)
+               $(add_kdeapps_dep kidentitymanagement)
+       )
+       calendar? ( dev-libs/libical:= )
+       holidays? ( $(add_frameworks_dep kholidays) )
+       ofx? ( dev-libs/libofx )
+       webkit? (
+               $(add_frameworks_dep kdewebkit)
+               >=dev-qt/qtwebkit-5.212.0_pre20180120:5
+       )
+       !webkit? ( $(add_qt_dep qtwebengine 'widgets') )
+       weboob? (
+               ${PYTHON_DEPS}
+               $(add_qt_dep qtconcurrent)
+               www-client/weboob[${PYTHON_USEDEP}]
+       )
+"
+DEPEND="${COMMON_DEPEND}
+       dev-libs/boost
+"
+RDEPEND="${COMMON_DEPEND}
+       !app-office/kmymoney:4
+       quotes? ( dev-perl/Finance-Quote )
+"
+
+pkg_setup() {
+       use weboob && python_setup
+       kde5_pkg_setup
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DUSE_QT_DESIGNER=OFF
+               $(cmake-utils_use_find_package activities KF5Activities)
+               $(cmake-utils_use_find_package addressbook KF5Akonadi)
+               $(cmake-utils_use_find_package addressbook KF5Contacts)
+               $(cmake-utils_use_find_package addressbook KF5IdentityManagement)
+               -DENABLE_KBANKING=OFF
+               -DENABLE_LIBICAL=$(usex calendar)
+               $(cmake-utils_use_find_package holidays KF5Holidays)
+               -DENABLE_OFXIMPORTER=$(usex ofx)
+               -DENABLE_WEBENGINE=$(usex !webkit)
+               -DENABLE_WEBOOB=$(usex weboob)
+               $(cmake-utils_use_find_package weboob PythonLibs)
+       )
+       kde5_src_configure
+}
+
+src_test() {
+       # bug 652636; bug 673052: needs kmymoney installed to succeed
+       local myctestargs=(
+               -E "(reports-chart-test|qsqlcipher-test)"
+       )
+
+       kde5_src_test
+}