diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-03-19 18:00:58 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-03-19 18:15:40 +0100 |
commit | e7f7da88a13f7160f8289f377e997abf10b4897c (patch) | |
tree | 98e9dbdd8a2f9fbb5ccf450110215b572e3fa4f9 /app-office | |
parent | net-irc/konversation: Fix build with Qt 5.11 (diff) | |
download | gentoo-e7f7da88a13f7160f8289f377e997abf10b4897c.tar.gz gentoo-e7f7da88a13f7160f8289f377e997abf10b4897c.tar.bz2 gentoo-e7f7da88a13f7160f8289f377e997abf10b4897c.zip |
app-office/kmymoney: Fix USE=weboob
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/kmymoney/files/kmymoney-5.0.1-cmake.patch | 34 | ||||
-rw-r--r-- | app-office/kmymoney/kmymoney-5.0.1-r1.ebuild | 116 |
2 files changed, 150 insertions, 0 deletions
diff --git a/app-office/kmymoney/files/kmymoney-5.0.1-cmake.patch b/app-office/kmymoney/files/kmymoney-5.0.1-cmake.patch new file mode 100644 index 000000000000..7ba8349b0fed --- /dev/null +++ b/app-office/kmymoney/files/kmymoney-5.0.1-cmake.patch @@ -0,0 +1,34 @@ +From b4053d2b41c3ff5c3e3f3cc452eef0e72202b5ad Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Mon, 19 Mar 2018 17:51:27 +0100 +Subject: [PATCH] Fix weboob option in custom configure summary + +--- + CMakeLists.txt | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index eff5b22d..ac466943 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -317,7 +317,7 @@ nice_yesno("KMM_ADDRESSBOOK_FOUND") + nice_yesno("LIBOFX_FOUND") + nice_yesno("LIBOFX_HAVE_CLIENTUID") + nice_yesno("KBANKING_FOUND") +-nice_yesno("WEBOOB_FOUND") ++nice_yesno("ENABLE_WEBOOB") + nice_yesno("LIBICAL_FOUND") + nice_yesno("ENABLE_SQLCIPHER") + nice_yesno("USE_QT_DESIGNER") +@@ -340,7 +340,7 @@ OFX plugin: ${nice_LIBOFX_FOUND} + + KBanking plugin: ${nice_KBANKING_FOUND} + +-weboob plugin: ${nice_WEBOOB_FOUND} ++weboob plugin: ${nice_ENABLE_WEBOOB} + + iCalendar export plugin: ${nice_LIBICAL_FOUND} + +-- +2.16.2 + diff --git a/app-office/kmymoney/kmymoney-5.0.1-r1.ebuild b/app-office/kmymoney/kmymoney-5.0.1-r1.ebuild new file mode 100644 index 000000000000..76c12cf2c4f4 --- /dev/null +++ b/app-office/kmymoney/kmymoney-5.0.1-r1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +KDE_GCC_MINIMAL="6.4" +KDE_HANDBOOK="optional" +KDE_TEST="forceoptional" +VIRTUALX_REQUIRED="test" +VIRTUALDBUS_TEST="true" +inherit kde5 python-r1 + +DESCRIPTION="Personal finance manager based on KDE Frameworks" +HOMEPAGE="https://kmymoney.org" +SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="activities addressbook calendar hbci holidays ofx quotes weboob" + +REQUIRED_USE="weboob? ( ${PYTHON_REQUIRED_USE} )" + +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 kdewebkit) + $(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 qtwebkit) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + >=app-crypt/gpgme-1.7.1-r1[cxx] + >=app-office/libalkimia-6.0.0 + dev-libs/gmp:0= + dev-libs/kdiagram:5 + dev-libs/libgpg-error + x11-misc/shared-mime-info + activities? ( $(add_frameworks_dep kactivities) ) + addressbook? ( + $(add_kdeapps_dep akonadi) + $(add_kdeapps_dep kcontacts) + $(add_kdeapps_dep kidentitymanagement) + ) + calendar? ( dev-libs/libical:= ) + hbci? ( + >=net-libs/aqbanking-5.6.5 + >=sys-libs/gwenhywfar-4.15.3-r1[qt5] + ) + holidays? ( || ( + $(add_frameworks_dep kholidays) + $(add_kdeapps_dep kholidays) + ) ) + ofx? ( dev-libs/libofx ) + weboob? ( + ${PYTHON_DEPS} + $(add_qt_dep qtconcurrent) + www-client/weboob + ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + virtual/pkgconfig +" +RDEPEND="${COMMON_DEPEND} + !app-office/kmymoney:4 + quotes? ( dev-perl/Finance-Quote ) +" + +PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) + +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=$(usex hbci) + -DENABLE_LIBICAL=$(usex calendar) + $(cmake-utils_use_find_package holidays KF5Holidays) + -DENABLE_OFXIMPORTER=$(usex ofx) + -DENABLE_WEBENGINE=OFF + -DENABLE_WEBOOB=$(usex weboob) + $(cmake-utils_use_find_package weboob PythonLibs) + ) + kde5_src_configure +} |