1 |
commit: cb03fa2ffb85e396b804edcd716f9191fd00cc70 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 29 19:01:36 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 29 20:07:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb03fa2f |
7 |
|
8 |
dev-libs/sink: 0.8.0 version bump |
9 |
|
10 |
Sigh... if upstream will not bless us with a release... |
11 |
|
12 |
Closes: https://bugs.gentoo.org/693988 |
13 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
dev-libs/sink/Manifest | 1 + |
17 |
dev-libs/sink/sink-0.8.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 60 insertions(+) |
19 |
|
20 |
diff --git a/dev-libs/sink/Manifest b/dev-libs/sink/Manifest |
21 |
index 25227f56723..7be40474d16 100644 |
22 |
--- a/dev-libs/sink/Manifest |
23 |
+++ b/dev-libs/sink/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST sink-0.7.0.tar.gz 383090 BLAKE2B b853609889ead6f623c7288b9dfe8dba0388dc0d5e8f28d9967fa9be1d78b10bafd9d4674f11355bfe60506843d2abe033149c448ff293329db558ed00fef18b SHA512 591838cb9c76d89c1794b94b02bff3d67155e1f27ae32b7ac9369d15aa109130c7792f30e74b61009765e7b7cb78141bf5e3c93304d814bce22bf91059339fd0 |
26 |
+DIST sink-0.8.0.tar.gz 409901 BLAKE2B bf66b00855333ee5a35471968a09a4bab161ea0b765389f1f1291965e318d65da5532335dff033675e38eb302755fba250b1d3b617b4a54b2fca6c4385182956 SHA512 d3fcc9e502996e8730ca372370a9be5e3ff2ffe79e02595a9a02aab281c17f223c435bd7f3c992d11139c272350d1e3ddb7f3a4d18f46ba513465c41c5075cbc |
27 |
|
28 |
diff --git a/dev-libs/sink/sink-0.8.0.ebuild b/dev-libs/sink/sink-0.8.0.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..09e0228f9d8 |
31 |
--- /dev/null |
32 |
+++ b/dev-libs/sink/sink-0.8.0.ebuild |
33 |
@@ -0,0 +1,59 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+KDE_TEST="false" # build breaks otherwise. tests not isolated. |
40 |
+inherit kde5 |
41 |
+ |
42 |
+DESCRIPTION="Data access layer handling synchronization, caching and indexing" |
43 |
+SRC_URI="https://github.com/KDE/sink/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-2+" |
46 |
+KEYWORDS="~amd64" |
47 |
+IUSE="" |
48 |
+ |
49 |
+# qtgui is bogus but is required because something else in the deptree |
50 |
+# uses it as a public dependency but doesn't search for it properly |
51 |
+RDEPEND=" |
52 |
+ || ( |
53 |
+ $(add_frameworks_dep kcalendarcore) |
54 |
+ $(add_kdeapps_dep kcalcore) |
55 |
+ ) |
56 |
+ || ( |
57 |
+ $(add_frameworks_dep kcontacts) |
58 |
+ $(add_kdeapps_dep kcontacts) |
59 |
+ ) |
60 |
+ $(add_frameworks_dep kcoreaddons) |
61 |
+ $(add_kdeapps_dep kmime) |
62 |
+ $(add_qt_dep qtgui) |
63 |
+ $(add_qt_dep qtnetwork) |
64 |
+ dev-db/lmdb:= |
65 |
+ dev-libs/flatbuffers |
66 |
+ >=dev-libs/kasync-0.3 |
67 |
+ >=dev-libs/xapian-1.4.4:0= |
68 |
+ >=net-libs/kdav2-0.3 |
69 |
+ >=net-libs/kimap2-0.3 |
70 |
+ net-misc/curl |
71 |
+ sys-libs/readline:0= |
72 |
+" |
73 |
+DEPEND="${RDEPEND} |
74 |
+ $(add_qt_dep qtconcurrent) |
75 |
+" |
76 |
+ |
77 |
+# fails to build |
78 |
+RESTRICT+=" test" |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ kde5_src_prepare |
82 |
+ # FIXME: sink is useless without its 'examples'. Workaround our eclass |
83 |
+ sed -i -e "/add_subdirectory(examples)/ s/#DONOTCOMPILE //" \ |
84 |
+ CMakeLists.txt || die "Failed to fix CMakeLists.txt" |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ local mycmakeargs=( |
89 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON |
90 |
+ ) |
91 |
+ kde5_src_configure |
92 |
+} |