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 1151F138351 for ; Thu, 16 Jan 2020 18:20:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 37D64E08EF; Thu, 16 Jan 2020 18:20:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 1E00AE086E for ; Thu, 16 Jan 2020 18:20:25 +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 1F20334E0FB for ; Thu, 16 Jan 2020 18:20:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2B0937 for ; Thu, 16 Jan 2020 18:20:09 +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: <1579198772.b3e3cccb2706c57d2b32cf938916b6ac64130130.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.8.0-r2.ebuild X-VCS-Directories: dev-libs/sink/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: b3e3cccb2706c57d2b32cf938916b6ac64130130 X-VCS-Branch: master Date: Thu, 16 Jan 2020 18:20:09 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cdb54ab4-2fe7-462e-a8b8-92cc2088aadb X-Archives-Hash: 98f756c2703e37a33b5b3a9f338fc31e commit: b3e3cccb2706c57d2b32cf938916b6ac64130130 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jan 16 18:17:25 2020 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jan 16 18:19:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3e3cccb dev-libs/sink: Disable broken tests everywhere Incidentally also changes install image. What a mess. Closes: https://bugs.gentoo.org/704280 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/sink/sink-0.8.0-r2.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/dev-libs/sink/sink-0.8.0-r2.ebuild b/dev-libs/sink/sink-0.8.0-r2.ebuild new file mode 100644 index 00000000000..02e229bc471 --- /dev/null +++ b/dev-libs/sink/sink-0.8.0-r2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Data access layer handling synchronization, caching and indexing" +HOMEPAGE="https://kube-project.com" +SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="LGPL-2+" +SLOT="5" +KEYWORDS="~amd64" + +# 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 +BDEPEND=" + kde-frameworks/extra-cmake-modules:5 +" +RDEPEND=" + dev-db/lmdb:= + dev-libs/flatbuffers + >=dev-libs/kasync-0.3:5 + >=dev-libs/xapian-1.4.4:0= + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + kde-apps/kmime:5 + kde-frameworks/kcalendarcore:5 + kde-frameworks/kcontacts:5 + kde-frameworks/kcoreaddons:5 + >=net-libs/kdav2-0.3:5 + >=net-libs/kimap2-0.3:5 + net-misc/curl + sys-libs/readline:0= +" +DEPEND="${RDEPEND} + dev-qt/qtconcurrent:5 +" + +# fails to build +RESTRICT+=" test" + +src_prepare() { + cmake_src_prepare + # tests are sprinkled all over the place, and examples are needed... + # disabling tests disables installing 'hawd'... what a mess + sed -e "/add_subdirectory(tests)/ s/^/#DONT/" \ + -i CMakeLists.txt examples/imapresource/CMakeLists.txt \ + examples/mail{transport,dir}resource/CMakeLists.txt \ + examples/ca{l,rd}davresource/CMakeLists.txt \ + || die "Failed to disable tests everywhere" +}