From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45A961396D1 for ; Sat, 19 Aug 2017 20:21:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95721E0D6F; Sat, 19 Aug 2017 20:21:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72CEBE0D6F for ; Sat, 19 Aug 2017 20:21:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 84D1A341A32 for ; Sat, 19 Aug 2017 20:21:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C98F77B89 for ; Sat, 19 Aug 2017 20:21:06 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1503174005.e0e7c1b084b748b4c84d65177fdce88645111aca.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/sink/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/sink/sink-0.3.0-r1.ebuild X-VCS-Directories: dev-libs/sink/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: e0e7c1b084b748b4c84d65177fdce88645111aca X-VCS-Branch: master Date: Sat, 19 Aug 2017 20:21:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cbf2c4dd-fea4-449e-a285-aca25bfd0d76 X-Archives-Hash: 24f3fcdf49daff1686300a2e3edd0060 commit: e0e7c1b084b748b4c84d65177fdce88645111aca Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Aug 19 19:31:56 2017 +0000 Commit: Andreas Sturmlechner gentoo 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 +}