Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/sink/
Date: Thu, 11 Oct 2018 19:02:44
Message-Id: 1539284532.8fff8c25875b1652304e6f527c3b619b622a29aa.asturm@gentoo
1 commit: 8fff8c25875b1652304e6f527c3b619b622a29aa
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 11 18:53:22 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 11 19:02:12 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fff8c25
7
8 dev-libs/sink: 0.7.0 version bump
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-libs/sink/Manifest | 1 +
14 dev-libs/sink/sink-0.7.0.ebuild | 53 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 54 insertions(+)
16
17 diff --git a/dev-libs/sink/Manifest b/dev-libs/sink/Manifest
18 index 1bbca381387..66068870c71 100644
19 --- a/dev-libs/sink/Manifest
20 +++ b/dev-libs/sink/Manifest
21 @@ -1 +1,2 @@
22 DIST sink-0.5.0.tar.gz 330203 BLAKE2B 5b0448dfb984c1aa4bdb913f8ce5e5e4e3f1a6ee33d840ed3d9fdf9e0ea6003a928970d2e6dc25e824241768da9abed7dce31ef857e4986990aad16e7aecd667 SHA512 e47f3d99b934abb184a5f8293f1a092fccabe0bb550573cd8c35918471a4caa94eaaec0361c43376c93cdb480612dd0f78626d6649077f777c5cccc8c5d4389f
23 +DIST sink-0.7.0.tar.gz 383090 BLAKE2B b853609889ead6f623c7288b9dfe8dba0388dc0d5e8f28d9967fa9be1d78b10bafd9d4674f11355bfe60506843d2abe033149c448ff293329db558ed00fef18b SHA512 591838cb9c76d89c1794b94b02bff3d67155e1f27ae32b7ac9369d15aa109130c7792f30e74b61009765e7b7cb78141bf5e3c93304d814bce22bf91059339fd0
24
25 diff --git a/dev-libs/sink/sink-0.7.0.ebuild b/dev-libs/sink/sink-0.7.0.ebuild
26 new file mode 100644
27 index 00000000000..c2e8a3d3fa4
28 --- /dev/null
29 +++ b/dev-libs/sink/sink-0.7.0.ebuild
30 @@ -0,0 +1,53 @@
31 +# Copyright 1999-2018 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +KDE_TEST="false" # build breaks otherwise. tests not isolated.
37 +inherit kde5
38 +
39 +DESCRIPTION="A data access layer handling synchronization, caching and indexing"
40 +SRC_URI="https://github.com/KDE/sink/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +LICENSE="LGPL-2+"
43 +KEYWORDS="~amd64"
44 +IUSE=""
45 +
46 +# qtgui is bogus but is required because something else in the deptree
47 +# uses it as a public dependency but doesn't search for it properly
48 +RDEPEND="
49 + $(add_frameworks_dep kcoreaddons)
50 + $(add_kdeapps_dep kcalcore)
51 + $(add_kdeapps_dep kcontacts)
52 + $(add_kdeapps_dep kmime)
53 + $(add_qt_dep qtgui)
54 + $(add_qt_dep qtnetwork)
55 + dev-db/lmdb:=
56 + dev-libs/flatbuffers
57 + dev-libs/kasync
58 + >=dev-libs/xapian-1.4.4:0=
59 + net-libs/kdav2
60 + net-libs/kimap2
61 + net-misc/curl
62 + sys-libs/readline:0=
63 +"
64 +DEPEND="${RDEPEND}
65 + $(add_qt_dep qtconcurrent)
66 +"
67 +
68 +# fails to build
69 +RESTRICT+=" test"
70 +
71 +src_prepare() {
72 + kde5_src_prepare
73 + # FIXME: sink is useless without its 'examples'. Workaround our eclass
74 + sed -i -e "/add_subdirectory(examples)/ s/#DONOTCOMPILE //" \
75 + CMakeLists.txt || die "Failed to fix CMakeLists.txt"
76 +}
77 +
78 +src_configure() {
79 + local mycmakeargs=(
80 + -DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON
81 + )
82 + kde5_src_configure
83 +}