summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-10-09 11:48:55 +0200
committerMichael Palimaka <kensington@gentoo.org>2016-10-10 03:04:36 +1100
commitacf8ee1af24b4112c5328777deea5852dec9d6d5 (patch)
tree5e87244186e7e37f9273138af0449ae544315c54 /app-office/skrooge
parentkde-frameworks/networkmanager-qt: More fixes for NM-1.4.0 (diff)
downloadgentoo-acf8ee1af24b4112c5328777deea5852dec9d6d5.tar.gz
gentoo-acf8ee1af24b4112c5328777deea5852dec9d6d5.tar.bz2
gentoo-acf8ee1af24b4112c5328777deea5852dec9d6d5.zip
app-office/skrooge: Version bump to 2.5.0, add USE=designer,kde
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-office/skrooge')
-rw-r--r--app-office/skrooge/Manifest1
-rw-r--r--app-office/skrooge/files/skrooge-2.5.0-cmake.patch28
-rw-r--r--app-office/skrooge/metadata.xml1
-rw-r--r--app-office/skrooge/skrooge-2.5.0.ebuild105
4 files changed, 135 insertions, 0 deletions
diff --git a/app-office/skrooge/Manifest b/app-office/skrooge/Manifest
index 0aafff9e5e08..4272da92da1b 100644
--- a/app-office/skrooge/Manifest
+++ b/app-office/skrooge/Manifest
@@ -1 +1,2 @@
DIST skrooge-2.4.0.tar.xz 18000104 SHA256 132d022337140f841f51420536c31dfe07c90fa3a38878279026825f5d2526fe SHA512 ce2a9aaf67ed8b751ce062bea020c999da0232aca7d1ddcf58294f76435123231c65cc07f818c92499d142941327253f491cbec48fa504541fe91effde8b78c0 WHIRLPOOL 4cc00833e5df03d8d6b071b1ba612258749852f8acf5bf94c2cefd61680516c2a3a53c8d05273c2687886849dac1c562d5a17b1015090876ab9b570130dd73f7
+DIST skrooge-2.5.0.tar.xz 17603860 SHA256 97bebb1b3f1cd791160292bd4689e584c4054db14f0f88039541e67c72ce5e0d SHA512 00fb32f7705c5125803436a21648545154043b6333267ae722c9beac04baf766e1860ce84b4e56d80d81ade1ab3ef8e3ac60a98d0616cae6ec5212d7ad2ef528 WHIRLPOOL 0eef97d2eebcc00155d1505a457e8443df676c93124edbf352b89fa796781ae9e0630294256932e065d2a35eb2d1916ccf733e05bf4f16a237302d0db713073c
diff --git a/app-office/skrooge/files/skrooge-2.5.0-cmake.patch b/app-office/skrooge/files/skrooge-2.5.0-cmake.patch
new file mode 100644
index 000000000000..a68b8e590e6a
--- /dev/null
+++ b/app-office/skrooge/files/skrooge-2.5.0-cmake.patch
@@ -0,0 +1,28 @@
+commit 7c8d47023fc34e02b6d2564696d8dc0d51f019f9
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sat Oct 8 23:17:54 2016 +0200
+
+ KF5DocTools -> KF5Runner conditional
+
+ REVIEW: 129129
+
+diff --git a/plugins/krunner/skrooge_add_operation/CMakeLists.txt b/plugins/krunner/skrooge_add_operation/CMakeLists.txt
+index 6faec90..f9c41bf 100644
+--- a/plugins/krunner/skrooge_add_operation/CMakeLists.txt
++++ b/plugins/krunner/skrooge_add_operation/CMakeLists.txt
+@@ -20,7 +20,7 @@ PROJECT(plugin_add_operation)
+
+ FIND_PACKAGE(KF5Runner)
+
+-IF(KF5DOCTOOLS_FOUND)
++IF(KF5Runner_FOUND)
+ LINK_DIRECTORIES (${LIBRARY_OUTPUT_PATH})
+
+ ADD_LIBRARY(skrooge_add_operation MODULE skgaddoperation.cpp)
+@@ -29,4 +29,4 @@ IF(KF5DOCTOOLS_FOUND)
+ ########### install files ###############
+ INSTALL(TARGETS skrooge_add_operation DESTINATION ${KDE_INSTALL_QTPLUGINDIR})
+ INSTALL(FILES ${PROJECT_SOURCE_DIR}/org.kde.plasma-runner-skrooge-add-operation.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
+-ENDIF()
+\ No newline at end of file
++ENDIF()
diff --git a/app-office/skrooge/metadata.xml b/app-office/skrooge/metadata.xml
index fd15ec3f2756..330eaf630fb9 100644
--- a/app-office/skrooge/metadata.xml
+++ b/app-office/skrooge/metadata.xml
@@ -8,5 +8,6 @@
<use>
<flag name="activities">Enable kactivities support</flag>
<flag name="crypt">Enable encryption using <pkg>dev-db/sqlcipher</pkg></flag>
+ <flag name="designer">Build plugins for <pkg>dev-qt/designer</pkg></flag>
</use>
</pkgmetadata>
diff --git a/app-office/skrooge/skrooge-2.5.0.ebuild b/app-office/skrooge/skrooge-2.5.0.ebuild
new file mode 100644
index 000000000000..588d21b1e3ff
--- /dev/null
+++ b/app-office/skrooge/skrooge-2.5.0.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_GCC_MINIMAL="4.9"
+KDE_HANDBOOK="forceoptional" # not optional until kdelibs4support is gone
+KDE_TEST="forceoptional"
+# TODO: Drop kdelibs4support when QT_MINIMAL=5.7.0
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Personal finances manager, aiming at being simple and intuitive"
+HOMEPAGE="http://www.skrooge.org/"
+[[ ${PV} == 9999 ]] || SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="activities crypt designer kde ofx"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep karchive)
+ $(add_frameworks_dep kcompletion)
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep kdbusaddons)
+ $(add_frameworks_dep kdelibs4support)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kiconthemes)
+ $(add_frameworks_dep kio)
+ $(add_frameworks_dep kitemviews)
+ $(add_frameworks_dep knewstuff)
+ $(add_frameworks_dep knotifications)
+ $(add_frameworks_dep knotifyconfig)
+ $(add_frameworks_dep kparts)
+ $(add_frameworks_dep kservice)
+ $(add_frameworks_dep ktextwidgets)
+ $(add_frameworks_dep kwallet)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_qt_dep qtconcurrent)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtdeclarative 'widgets')
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtprintsupport)
+ $(add_qt_dep qtscript)
+ $(add_qt_dep qtsql)
+ $(add_qt_dep qtsvg)
+ $(add_qt_dep qtwebkit)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ app-crypt/qca:2[qt5]
+ dev-libs/grantlee:5
+ activities? ( $(add_frameworks_dep kactivities) )
+ crypt? ( dev-db/sqlcipher )
+ !crypt? ( dev-db/sqlite:3 )
+ kde? ( $(add_frameworks_dep krunner) )
+ ofx? ( >=dev-libs/libofx-0.9.1 )
+"
+DEPEND="${COMMON_DEPEND}
+ $(add_frameworks_dep kguiaddons)
+ $(add_frameworks_dep kjobwidgets)
+ $(add_frameworks_dep kwindowsystem)
+ dev-libs/libxslt
+ virtual/pkgconfig
+ x11-misc/shared-mime-info
+ designer? (
+ $(add_frameworks_dep kdesignerplugin)
+ $(add_qt_dep designer)
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ !app-office/skrooge:4
+"
+
+REQUIRED_USE="test? ( designer )"
+
+# hangs + installs files
+RESTRICT+=" test"
+
+DOCS=( AUTHORS CHANGELOG README TODO )
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DSKG_BUILD_TEST=$(usex test)
+ -DSKG_CIPHER=$(usex crypt)
+ -DSKG_DESIGNER=$(usex designer)
+ $(cmake-utils_use_find_package activities KF5Activities)
+ $(cmake-utils_use_find_package kde KF5Runner)
+ $(cmake-utils_use_find_package ofx LibOfx)
+ )
+
+ kde5_src_configure
+}
+
+src_test() {
+ local mycmakeargs=(
+ -DSKG_BUILD_TEST=ON
+ )
+ kde5_src_test
+}