forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-office/skrooge: Version bump 2.6.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST skrooge-2.5.0.tar.xz 17603860 SHA256 97bebb1b3f1cd791160292bd4689e584c4054db14f0f88039541e67c72ce5e0d SHA512 00fb32f7705c5125803436a21648545154043b6333267ae722c9beac04baf766e1860ce84b4e56d80d81ade1ab3ef8e3ac60a98d0616cae6ec5212d7ad2ef528 WHIRLPOOL 0eef97d2eebcc00155d1505a457e8443df676c93124edbf352b89fa796781ae9e0630294256932e065d2a35eb2d1916ccf733e05bf4f16a237302d0db713073c | ||
DIST skrooge-2.6.0.tar.xz 17878228 SHA256 f76be3a3033190da5324202da2592550cc64bcc8569c7ad3bcce989e93314d8f SHA512 2aad67e2dbc8746c8e8f3dedb05f0c0a0a8eae6deac03dc086c3fa918f4fd7c644b8dbcafc1e4392699e5fe58073c79bc96e57aba045b1a18778501e6ac02bd7 WHIRLPOOL cf054109a10a749acc687b2216373100d81494638e61873c7c8427e574ca049cb19d678663c6580c1a1071c192680373cbabba22dbcb13f35dd08559153ad449 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
# 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="optional" | ||
KDE_TEST="forceoptional" | ||
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 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 ) | ||
|
||
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 | ||
} |