diff options
Diffstat (limited to 'dev-libs/sink')
-rw-r--r-- | dev-libs/sink/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/sink/metadata.xml | 8 | ||||
-rw-r--r-- | dev-libs/sink/sink-0.3.0-r1.ebuild | 49 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-libs/sink/Manifest b/dev-libs/sink/Manifest new file mode 100644 index 000000000000..69f8e71479a9 --- /dev/null +++ b/dev-libs/sink/Manifest @@ -0,0 +1,3 @@ +DIST sink-0.3.0.tar.xz 215636 SHA256 b9f618316a60aae83174188aac63220cf77eb51f32238a55a998cb1db0f81534 SHA512 066050339603b80efd7edb8b903d675f0434a7147cb7ad0fd810c82c29184f39762948bc75c45ea98e0ee4c455fcaeaa326ace95908745d51ad58bead5d70e1a WHIRLPOOL ab819dd7e1e931d4b2b32e055eabf981021b0fe9e54d1c2c41f2911d0388703d01d2725b0bf267c4fd78b31995e174dd21a8496cb961065a02a1016e71bd1c31 +EBUILD sink-0.3.0-r1.ebuild 1181 SHA256 159490fba3abcef884318bf0b179f43a939a57587ffb89495d1d4b515134304f SHA512 8c78a5ebe4d9b17845618a92a2429cdb1cdf5effc9bacd859a44807d8827ff1e9b45dd949d9a2b1101d933e2cb9a9060bbf968397f1897c792d5dcb848adfa1c WHIRLPOOL 54dcc15c338cb5f280c0bd18a918ef036b644c6e826fe44261c24ea9d5d80f26a9dc70c3848d834187c6151ee15106ae49f3c32378e23ee2f034c31af6ef2816 +MISC metadata.xml 249 SHA256 584f1dcf51866dc24a9abf7a89bfba0fad11dde81ae1c1b715da41770d233c99 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 WHIRLPOOL 200c07a8bf7c55b11b7936d5cd30e991a511684913334e72f59def66c0ced5fed0b4a8754e2d98bffbab631cb90d4e17fcccc59d5dcc5a8e988f69e47c85518c diff --git a/dev-libs/sink/metadata.xml b/dev-libs/sink/metadata.xml new file mode 100644 index 000000000000..2fdbf33d963d --- /dev/null +++ b/dev-libs/sink/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>kde@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/sink/sink-0.3.0-r1.ebuild b/dev-libs/sink/sink-0.3.0-r1.ebuild new file mode 100644 index 000000000000..f5b019abd29d --- /dev/null +++ b/dev-libs/sink/sink-0.3.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="true" # build breaks otherwise. tests not isolated. +inherit kde5 + +DESCRIPTION="A data access layer handling synchronization, caching and indexing" +SRC_URI="mirror://kde/unstable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64" +IUSE="" + +# 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 +RDEPEND=" + $(add_frameworks_dep kcoreaddons) + $(add_kdeapps_dep kcontacts) + $(add_kdeapps_dep kmime) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + dev-db/lmdb:= + dev-libs/flatbuffers + dev-libs/kasync + net-libs/kdav2 + net-libs/kimap2 + net-misc/curl + sys-libs/readline:0= +" +DEPEND="${RDEPEND}" + +# fails to build +RESTRICT+=" test" + +src_prepare() { + kde5_src_prepare + # FIXME: sink is useless without its 'examples'. Workaround our eclass + sed -i -e "/add_subdirectory(examples)/ s/#DONOTCOMPILE //" \ + CMakeLists.txt || die "Failed to fix CMakeLists.txt" +} + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Libgit2=ON + ) + kde5_src_configure +} |