diff options
author | Sam James <sam@gentoo.org> | 2021-09-07 17:55:28 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-07 17:56:02 +0100 |
commit | 060b7a191dec363d452f2a4abaeffa0eaedd0ebf (patch) | |
tree | 0d90979489bede92613e3b6938dd4aeec8da0ffa /dev-libs/sink/sink-0.8.0-r3.ebuild | |
parent | media-tv/kodi: add flatbuffers subslot operator (diff) | |
download | gentoo-060b7a191dec363d452f2a4abaeffa0eaedd0ebf.tar.gz gentoo-060b7a191dec363d452f2a4abaeffa0eaedd0ebf.tar.bz2 gentoo-060b7a191dec363d452f2a4abaeffa0eaedd0ebf.zip |
dev-libs/sink: add flatbuffers subslot operator
Bug: https://bugs.gentoo.org/812023
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/sink/sink-0.8.0-r3.ebuild')
-rw-r--r-- | dev-libs/sink/sink-0.8.0-r3.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-libs/sink/sink-0.8.0-r3.ebuild b/dev-libs/sink/sink-0.8.0-r3.ebuild new file mode 100644 index 000000000000..78d2b574ac2b --- /dev/null +++ b/dev-libs/sink/sink-0.8.0-r3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 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" +} |