1 |
commit: 16dde2560ee59cf5cb1dceb2ae0adc5af73edc6d |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 1 17:40:44 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 23:41:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16dde256 |
7 |
|
8 |
dev-libs/sink: Switch to kde.org tar.xz, set HOMEPAGE, depend on slots |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
dev-libs/sink/Manifest | 1 + |
14 |
dev-libs/sink/sink-0.8.0-r1.ebuild | 59 ++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 60 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/sink/Manifest b/dev-libs/sink/Manifest |
18 |
index d586120b192..e23d90e39f4 100644 |
19 |
--- a/dev-libs/sink/Manifest |
20 |
+++ b/dev-libs/sink/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST sink-0.8.0.tar.gz 409901 BLAKE2B bf66b00855333ee5a35471968a09a4bab161ea0b765389f1f1291965e318d65da5532335dff033675e38eb302755fba250b1d3b617b4a54b2fca6c4385182956 SHA512 d3fcc9e502996e8730ca372370a9be5e3ff2ffe79e02595a9a02aab281c17f223c435bd7f3c992d11139c272350d1e3ddb7f3a4d18f46ba513465c41c5075cbc |
23 |
+DIST sink-0.8.0.tar.xz 295064 BLAKE2B 8187520979b43966a4e2d782e0ceb651c49eb25a349e2f9f2251b47978b0eebe64a98ce8c04f1854cdd05779f01c2cb68f1fa008568c1e95d292dbcd65fc61fe SHA512 008ca8355ffbed2bf89a906510aac4c505c8e44de49f445db283aa565e233e7652f2e46c5bcf37e680dec940a8c0f1525e6a8f708e1b4742db62522255c8bad6 |
24 |
|
25 |
diff --git a/dev-libs/sink/sink-0.8.0-r1.ebuild b/dev-libs/sink/sink-0.8.0-r1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..4a8951d568b |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/sink/sink-0.8.0-r1.ebuild |
30 |
@@ -0,0 +1,59 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+KDE_TEST="false" # build breaks otherwise. tests not isolated. |
37 |
+inherit kde5 |
38 |
+ |
39 |
+DESCRIPTION="Data access layer handling synchronization, caching and indexing" |
40 |
+HOMEPAGE="https://kube-project.com" |
41 |
+SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="LGPL-2+" |
44 |
+KEYWORDS="~amd64" |
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 |
+ || ( |
50 |
+ $(add_frameworks_dep kcalendarcore) |
51 |
+ $(add_kdeapps_dep kcalcore) |
52 |
+ ) |
53 |
+ || ( |
54 |
+ $(add_frameworks_dep kcontacts) |
55 |
+ $(add_kdeapps_dep kcontacts) |
56 |
+ ) |
57 |
+ $(add_frameworks_dep kcoreaddons) |
58 |
+ $(add_kdeapps_dep kmime) |
59 |
+ $(add_qt_dep qtgui) |
60 |
+ $(add_qt_dep qtnetwork) |
61 |
+ dev-db/lmdb:= |
62 |
+ dev-libs/flatbuffers |
63 |
+ >=dev-libs/kasync-0.3:5 |
64 |
+ >=dev-libs/xapian-1.4.4:0= |
65 |
+ >=net-libs/kdav2-0.3:5 |
66 |
+ >=net-libs/kimap2-0.3:5 |
67 |
+ net-misc/curl |
68 |
+ sys-libs/readline:0= |
69 |
+" |
70 |
+DEPEND="${RDEPEND} |
71 |
+ $(add_qt_dep qtconcurrent) |
72 |
+" |
73 |
+ |
74 |
+# fails to build |
75 |
+RESTRICT+=" test" |
76 |
+ |
77 |
+src_prepare() { |
78 |
+ kde5_src_prepare |
79 |
+ # FIXME: sink is useless without its 'examples'. Workaround our eclass |
80 |
+ sed -i -e "/add_subdirectory(examples)/ s/#DONOTCOMPILE //" \ |
81 |
+ CMakeLists.txt || die "Failed to fix CMakeLists.txt" |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ local mycmakeargs=( |
86 |
+ -DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON |
87 |
+ ) |
88 |
+ kde5_src_configure |
89 |
+} |