app-office/kmymoney: 4.8.1.1 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 28 Dec 2017 22:03:26 +0000 (23:03 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 28 Dec 2017 22:07:24 +0000 (23:07 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-office/kmymoney/Manifest
app-office/kmymoney/kmymoney-4.8.1.1.ebuild [new file with mode: 0644]

index 2a1734f19ec85b5ad4db10d8b670a77179167a7d..736e8aee315cd2579d83a78b13983aeee4e3cc53 100644 (file)
@@ -1 +1,2 @@
 DIST kmymoney-4.8.0.tar.xz 20785888 BLAKE2B 23819f5ef4f1ec0951f8b598041b7516efae94ccc6677404b133039023e6141e078226938d2c6d6fa6332803d4ee23d1c855e4db1945ada3d02d8302103876d0 SHA512 883635a94333341cbe3d6c835fe1dbc1cc5ed5cc834f76c945030ec680aee4fc6ceb367fdde811672a392eb5cd7b735c858e0be5a7f7964a4ccf5f9ba8865381
+DIST kmymoney-4.8.1.1.tar.xz 20963444 BLAKE2B d2be72a1c7dc41f48405ee406c419b9eb74cc02a80949965b8241331c00fbec23c32177aea0a401a76ef64a97e25e9e532c28e4f29bf88c9c2fd04f608790df6 SHA512 1f730f7db9117469aebaab33891f6064f648fa0ad25afff9ac1fab8d638c376d8e1f013401512c4be060436d6bbdfdacad6427b1e0911ac6b46288db1e242783
diff --git a/app-office/kmymoney/kmymoney-4.8.1.1.ebuild b/app-office/kmymoney/kmymoney-4.8.1.1.ebuild
new file mode 100644 (file)
index 0000000..24a7abd
--- /dev/null
@@ -0,0 +1,75 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+SQL_REQUIRED="always"
+VIRTUALX_REQUIRED="test"
+VIRTUALDBUS_TEST="true"
+inherit kde4-base
+
+DESCRIPTION="Personal finance manager by KDE"
+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"
+SLOT="4"
+KEYWORDS="~amd64 ~x86"
+IUSE="calendar debug doc hbci ofx quotes weboob"
+
+COMMON_DEPEND="
+       >=app-crypt/gpgme-1.7.0[cxx]
+       <app-office/libalkimia-6.0.0
+       dev-libs/gmp:0=
+       dev-libs/libgpg-error
+       x11-misc/shared-mime-info
+       calendar? ( dev-libs/libical:= )
+       hbci? (
+               >=net-libs/aqbanking-5.5.1
+               >=sys-libs/gwenhywfar-4.15.3[qt4]
+       )
+       ofx? ( >=dev-libs/libofx-0.9.4 )
+       weboob? ( www-client/weboob )
+"
+RDEPEND="${COMMON_DEPEND}
+       quotes? ( dev-perl/Finance-Quote )
+"
+DEPEND="${COMMON_DEPEND}
+       dev-libs/boost
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+"
+
+src_prepare() {
+       kde4-base_src_prepare
+
+       # don't install as executable
+       sed -i kmymoney/CMakeLists.txt \
+               -e "/install.*kmymoney.appdata/ s/PROGRAMS/FILES/" || die
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DUSE_QT_DESIGNER=OFF
+               -DENABLE_LIBICAL=$(usex calendar)
+               -DUSE_DEVELOPER_DOC=$(usex doc)
+               -DENABLE_KBANKING=$(usex hbci)
+               -DENABLE_LIBOFX=$(usex ofx)
+               -DCMAKE_DISABLE_FIND_PACKAGE_KdepimLibs=ON
+               -DENABLE_WEBOOB=$(usex weboob)
+       )
+       kde4-base_src_configure
+}
+
+src_compile() {
+       kde4-base_src_compile
+       use doc && kde4-base_src_compile apidoc
+}
+
+src_install() {
+       use doc && HTML_DOCS=("${BUILD_DIR}/apidocs/html/")
+       kde4-base_src_install
+}