public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: app-office/skrooge/
Date: Sun,  9 Oct 2016 14:56:15 +0000 (UTC)	[thread overview]
Message-ID: <1476024962.e89a583378434c2e961ecb2ca355e24da4ac5170.kensington@gentoo> (raw)

commit:     e89a583378434c2e961ecb2ca355e24da4ac5170
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Oct  8 21:31:35 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Oct  9 14:56:02 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=e89a5833

app-office/skrooge: Add USE=designer,kde; KDE_HANDBOOK=optional

QT_MINIMAL=5.7.0 allows to drop kdelibs4support and make the KDE_HANDBOOK
change.

Package-Manager: portage-2.3.0

 app-office/skrooge/metadata.xml        |  1 +
 app-office/skrooge/skrooge-9999.ebuild | 20 +++++++++++++-------
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/app-office/skrooge/metadata.xml b/app-office/skrooge/metadata.xml
index fd15ec3..330eaf6 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-9999.ebuild b/app-office/skrooge/skrooge-9999.ebuild
index 81fd308..2ff9248 100644
--- a/app-office/skrooge/skrooge-9999.ebuild
+++ b/app-office/skrooge/skrooge-9999.ebuild
@@ -5,8 +5,9 @@
 EAPI=6
 
 KDE_GCC_MINIMAL="4.9"
-KDE_HANDBOOK="forceoptional"
+KDE_HANDBOOK="optional"
 KDE_TEST="forceoptional"
+QT_MINIMAL="5.7.0"
 VIRTUALX_REQUIRED="test"
 inherit kde5
 
@@ -16,7 +17,7 @@ HOMEPAGE="http://www.skrooge.org/"
 
 LICENSE="GPL-2"
 KEYWORDS=""
-IUSE="activities crypt ofx"
+IUSE="activities crypt designer kde ofx"
 
 COMMON_DEPEND="
 	$(add_frameworks_dep karchive)
@@ -25,7 +26,6 @@ COMMON_DEPEND="
 	$(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)
@@ -34,7 +34,6 @@ COMMON_DEPEND="
 	$(add_frameworks_dep knotifications)
 	$(add_frameworks_dep knotifyconfig)
 	$(add_frameworks_dep kparts)
-	$(add_frameworks_dep krunner)
 	$(add_frameworks_dep kservice)
 	$(add_frameworks_dep ktextwidgets)
 	$(add_frameworks_dep kwallet)
@@ -56,24 +55,29 @@ COMMON_DEPEND="
 	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 kdesignerplugin)
 	$(add_frameworks_dep kguiaddons)
 	$(add_frameworks_dep kjobwidgets)
 	$(add_frameworks_dep kwindowsystem)
-	$(add_qt_dep designer)
 	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"
+RESTRICT+=" test"
 
 DOCS=( AUTHORS CHANGELOG README TODO )
 
@@ -81,7 +85,9 @@ 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)
 	)
 


             reply	other threads:[~2016-10-09 14:56 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-09 14:56 Michael Palimaka [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-10 18:38 [gentoo-commits] proj/kde:master commit in: app-office/skrooge/ Andreas Sturmlechner
2025-02-18 21:54 Andreas Sturmlechner
2025-02-18 21:18 Andreas Sturmlechner
2025-01-12 15:50 Andreas Sturmlechner
2025-01-12 15:50 Andreas Sturmlechner
2025-01-11 10:22 Andreas Sturmlechner
2024-11-23 13:48 Andreas Sturmlechner
2024-10-31  7:43 Andreas Sturmlechner
2024-10-07 23:21 Andreas Sturmlechner
2023-02-19  9:58 Andreas Sturmlechner
2023-02-18 14:09 Andreas Sturmlechner
2022-10-11 15:18 Andreas Sturmlechner
2021-07-29 19:03 Andreas Sturmlechner
2021-07-29 18:57 Andreas Sturmlechner
2020-11-25  9:35 Andreas Sturmlechner
2020-10-10 21:39 Andreas Sturmlechner
2020-09-17 20:07 Andreas Sturmlechner
2019-06-20 10:45 Andreas Sturmlechner
2019-02-07 22:50 Andreas Sturmlechner
2019-01-26 20:29 Andreas Sturmlechner
2018-12-18 23:29 Andreas Sturmlechner
2018-02-03 23:17 Andreas Sturmlechner
2017-09-10 12:21 Johannes Huber
2017-08-26 12:29 Michael Palimaka
2017-06-24 17:07 Andreas Sturmlechner
2017-01-24  0:21 Andreas Sturmlechner
2016-02-23 14:15 Michael Palimaka
2015-12-02 13:41 Michael Palimaka
2015-12-02 12:54 Michael Palimaka
2015-12-02 12:29 Michael Palimaka
2015-12-02 11:06 Michael Palimaka
2015-09-23 14:50 Michael Palimaka
2015-09-17  8:36 Manuel Rüger
2015-06-27 22:13 Johannes Huber
2015-06-27 20:44 Johannes Huber
2015-06-21 15:22 Michael Palimaka
2015-06-21 15:21 Michael Palimaka
2015-06-17 19:43 Michael Palimaka
2015-06-15 18:23 Michael Palimaka
2015-05-15 17:08 Michael Palimaka
2015-05-15 16:34 Michael Palimaka
2015-01-28 23:01 Johannes Huber
2014-12-26 10:30 Michael Palimaka
2014-07-17 13:04 Michael Palimaka
2014-04-12 19:30 Johannes Huber
2013-12-16 18:08 Johannes Huber
2013-10-09 21:38 Johannes Huber
2013-09-03  3:34 Manuel Rüger
2013-08-03 10:55 Manuel Rüger
2013-07-06 17:14 Manuel Rüger
2013-07-06 16:59 Manuel Rüger
2013-05-14 17:37 Johannes Huber
2013-04-13 14:48 Michael Palimaka
2013-03-10  9:04 Michael Palimaka
2012-03-23  9:32 Johannes Huber
2012-01-18 15:35 Johannes Huber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1476024962.e89a583378434c2e961ecb2ca355e24da4ac5170.kensington@gentoo \
    --to=kensington@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox