commit:     34df7f4403e31b73e327757a7a45089bab2b2a2d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 18 21:09:11 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Dec 18 23:29:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34df7f44

app-office/skrooge: 2.17.0 version bump

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-office/skrooge/Manifest              |  1 +
 app-office/skrooge/metadata.xml          |  1 +
 app-office/skrooge/skrooge-2.17.0.ebuild | 99 ++++++++++++++++++++++++++++++++
 3 files changed, 101 insertions(+)

diff --git a/app-office/skrooge/Manifest b/app-office/skrooge/Manifest
index 22b69ba3585..65c7394d25a 100644
--- a/app-office/skrooge/Manifest
+++ b/app-office/skrooge/Manifest
@@ -1 +1,2 @@
 DIST skrooge-2.16.2.tar.xz 21005424 BLAKE2B 
c8e11df29defc714fe71ad4f488cd6207dcc8bfc0cbee28422682f9c683ed7af8200b84f90cfdd0ca6d0bd0292dab46724c6b9afa0155c9f1603bbbe189b001d
 SHA512 
4bc7de279cf55888a258700c2a8450270904066684b1ce0b121cf5eb966da174d969daa3db432781de62d94420e706ab5364e386e053dde7617d967442eae397
+DIST skrooge-2.17.0.tar.xz 23421972 BLAKE2B 
c0e08ef7235a6e05e945fcb92a222cc89e7a99ead4b30ba112fea7b420e150545e002e174b747bf7955415241eb55e8007d97e7fd92fa547a1f596360ab68156
 SHA512 
e65a1e1ed30af7c76776dbdf22f62d475ec3aece9c866453634d2692c6d1f1d6c00cb04376861cb3b09a990a3202f08dcb70ffe28f3c146cce17ade3a3a67a47

diff --git a/app-office/skrooge/metadata.xml b/app-office/skrooge/metadata.xml
index 6afd808cbbb..5156b3be98f 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="designer">Build plugins for 
<pkg>dev-qt/designer</pkg></flag>
+               <flag name="webkit">Build with <pkg>dev-qt/qtwebkit</pkg> 
instead of <pkg>dev-qt/qtwebengine</pkg></flag>
        </use>
 </pkgmetadata>

diff --git a/app-office/skrooge/skrooge-2.17.0.ebuild 
b/app-office/skrooge/skrooge-2.17.0.ebuild
new file mode 100644
index 00000000000..adde622d056
--- /dev/null
+++ b/app-office/skrooge/skrooge-2.17.0.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+KDE_TEST="forceoptional"
+VIRTUALX_REQUIRED="test"
+inherit kde5
+
+DESCRIPTION="Personal finances manager, aiming at being simple and intuitive"
+HOMEPAGE="https://skrooge.org/";
+[[ ${PV} == 9999 ]] || SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="activities designer kde ofx webkit"
+
+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 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 qtnetwork)
+       $(add_qt_dep qtprintsupport)
+       $(add_qt_dep qtscript)
+       $(add_qt_dep qtsql)
+       $(add_qt_dep qtsvg)
+       $(add_qt_dep qtwidgets)
+       $(add_qt_dep qtxml)
+       app-crypt/qca:2[qt5(+)]
+       dev-db/sqlcipher
+       dev-libs/grantlee:5
+       activities? ( $(add_frameworks_dep kactivities) )
+       kde? ( $(add_frameworks_dep krunner) )
+       ofx? ( dev-libs/libofx )
+       webkit? ( $(add_qt_dep qtwebkit) )
+       !webkit? ( $(add_qt_dep qtwebengine 'widgets') )
+"
+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
+       $(add_qt_dep qtquickcontrols)
+"
+
+REQUIRED_USE="test? ( designer )"
+
+# hangs + installs files
+RESTRICT+=" test"
+
+src_configure() {
+       local mycmakeargs=(
+               -DSKG_BUILD_TEST=$(usex test)
+               -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)
+               -DSKG_WEBENGINE=$(usex !webkit)
+       )
+
+       kde5_src_configure
+}
+
+src_test() {
+       local mycmakeargs=(
+               -DSKG_BUILD_TEST=ON
+       )
+       kde5_src_test
+}

Reply via email to