public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/purpose/
Date: Sat, 28 Oct 2017 22:24:54 +0000 (UTC)	[thread overview]
Message-ID: <1509229480.7c79ecd7b07c8640d52bb5234cf7ba4958e221a6.asturm@gentoo> (raw)

commit:     7c79ecd7b07c8640d52bb5234cf7ba4958e221a6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 28 22:24:01 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 28 22:24:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c79ecd7

dev-libs/purpose: 1.2.1 version bump

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 dev-libs/purpose/metadata.xml         |  3 +++
 dev-libs/purpose/purpose-1.2.1.ebuild | 49 +++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-libs/purpose/metadata.xml b/dev-libs/purpose/metadata.xml
index 2fdbf33d963..69186b245f3 100644
--- a/dev-libs/purpose/metadata.xml
+++ b/dev-libs/purpose/metadata.xml
@@ -5,4 +5,7 @@
 		<email>kde@gentoo.org</email>
 		<name>Gentoo KDE Project</name>
 	</maintainer>
+	<use>
+		<flag name="kaccounts">Enable support for system-wide defined KAccounts</flag>
+	</use>
 </pkgmetadata>

diff --git a/dev-libs/purpose/purpose-1.2.1.ebuild b/dev-libs/purpose/purpose-1.2.1.ebuild
new file mode 100644
index 00000000000..10aa6d8a1a1
--- /dev/null
+++ b/dev-libs/purpose/purpose-1.2.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+kaccounts"
+
+DEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_frameworks_dep ki18n)
+	$(add_frameworks_dep kio)
+	$(add_qt_dep qtdeclarative)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork)
+	$(add_qt_dep qtwidgets)
+	kaccounts? (
+		$(add_kdeapps_dep kaccounts-integration)
+		net-libs/accounts-qt
+	)
+"
+RDEPEND="${DEPEND}"
+
+# requires running environment
+RESTRICT+=" test"
+
+src_configure() {
+	local mycmakeargs=(
+		$(cmake-utils_use_find_package kaccounts KAccounts)
+	)
+
+	kde5_src_configure
+}
+
+pkg_postinst(){
+	kde5_pkg_postinst
+
+	if ! has_version "kde-misc/kdeconnect[app]" ; then
+		elog
+		elog "Optional runtime dependency:"
+		elog "kde-misc/kdeconnect[app] (send through KDE Connect)"
+		elog
+	fi
+}


             reply	other threads:[~2017-10-28 22:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-28 22:24 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-12-16 12:41 [gentoo-commits] repo/gentoo:master commit in: dev-libs/purpose/ Michael Palimaka
2017-12-16 12:41 Michael Palimaka
2017-10-28 22:38 Andreas Sturmlechner
2016-07-25 18:33 Michael Palimaka
2016-07-25 15:45 Michael Palimaka
2016-07-20 21:40 Michael Palimaka
2016-06-19 13:42 Michael Palimaka
2016-06-02 14:01 Michael Palimaka
2016-04-08 17:07 Johannes Huber
2016-03-23 17:25 Michael Palimaka
2016-03-22 15:11 Michael Palimaka
2015-09-24 16:48 Michael Palimaka

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=1509229480.7c79ecd7b07c8640d52bb5234cf7ba4958e221a6.asturm@gentoo \
    --to=asturm@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