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/sink/
Date: Sat, 19 Aug 2017 20:21:06 +0000 (UTC)	[thread overview]
Message-ID: <1503174005.e0e7c1b084b748b4c84d65177fdce88645111aca.asturm@gentoo> (raw)

commit:     e0e7c1b084b748b4c84d65177fdce88645111aca
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 19 19:31:56 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 20:20:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0e7c1b0

dev-libs/sink: Add missing DEPENDs, workaround kde5.eclass for now

What a great new way for upstream to hide actual runtime necessities!
'example implementations' much.

Gentoo-bug: 624436
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-libs/sink/sink-0.3.0-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/dev-libs/sink/sink-0.3.0-r1.ebuild b/dev-libs/sink/sink-0.3.0-r1.ebuild
new file mode 100644
index 00000000000..f5b019abd29
--- /dev/null
+++ b/dev-libs/sink/sink-0.3.0-r1.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="true" # build breaks otherwise. tests not isolated.
+inherit kde5
+
+DESCRIPTION="A data access layer handling synchronization, caching and indexing"
+SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64"
+IUSE=""
+
+# qtgui is bogus but is required because something else in the deptree
+# uses it as a public dependency but doesn't search for it properly
+RDEPEND="
+	$(add_frameworks_dep kcoreaddons)
+	$(add_kdeapps_dep kcontacts)
+	$(add_kdeapps_dep kmime)
+	$(add_qt_dep qtgui)
+	$(add_qt_dep qtnetwork)
+	dev-db/lmdb:=
+	dev-libs/flatbuffers
+	dev-libs/kasync
+	net-libs/kdav2
+	net-libs/kimap2
+	net-misc/curl
+	sys-libs/readline:0=
+"
+DEPEND="${RDEPEND}"
+
+# fails to build
+RESTRICT+=" test"
+
+src_prepare() {
+	kde5_src_prepare
+	# FIXME: sink is useless without its 'examples'. Workaround our eclass
+	sed -i -e "/add_subdirectory(examples)/ s/#DONOTCOMPILE //" \
+		CMakeLists.txt || die "Failed to fix CMakeLists.txt"
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON
+	)
+	kde5_src_configure
+}


             reply	other threads:[~2017-08-19 20:21 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-19 20:21 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-06-22 18:23 [gentoo-commits] repo/gentoo:master commit in: dev-libs/sink/ Sam James
2021-09-07 16:56 Sam James
2020-01-16 18:20 Andreas Sturmlechner
2020-01-16 18:20 Andreas Sturmlechner
2019-10-01 23:43 Andreas Sturmlechner
2019-10-01 23:43 Andreas Sturmlechner
2019-10-01 23:43 Andreas Sturmlechner
2019-09-29 20:07 Andreas Sturmlechner
2019-09-29 20:07 Andreas Sturmlechner
2019-03-30 19:28 Andreas Sturmlechner
2018-10-11 19:02 Andreas Sturmlechner
2018-10-11 19:02 Andreas Sturmlechner
2018-07-01  9:35 Andreas Sturmlechner
2018-05-18 14:31 Andreas Sturmlechner
2018-05-03 14:11 Andreas Sturmlechner
2018-02-02 11:40 Michael Palimaka
2017-08-19 20:21 Andreas Sturmlechner
2017-08-19 15:49 Andreas Sturmlechner
2017-07-06 12:37 Michael Palimaka
2017-03-04 12:30 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=1503174005.e0e7c1b084b748b4c84d65177fdce88645111aca.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