diff options
Diffstat (limited to 'dev-libs/sink')
-rw-r--r-- | dev-libs/sink/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/sink/sink-0.5.0.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/sink/Manifest b/dev-libs/sink/Manifest index 3a65a79f394c..19c46527fddf 100644 --- a/dev-libs/sink/Manifest +++ b/dev-libs/sink/Manifest @@ -1,3 +1,5 @@ DIST sink-0.3.0.tar.xz 215636 BLAKE2B 2e63ca47deec9aec97e146c48dce4530d5599e2efaf883e35e950a114cde77501830b0670fce4be75b6282d9b71323b3d18a8ec859c68213abbd3811d9599ecb SHA512 066050339603b80efd7edb8b903d675f0434a7147cb7ad0fd810c82c29184f39762948bc75c45ea98e0ee4c455fcaeaa326ace95908745d51ad58bead5d70e1a +DIST sink-0.5.0.tar.gz 330203 BLAKE2B 5b0448dfb984c1aa4bdb913f8ce5e5e4e3f1a6ee33d840ed3d9fdf9e0ea6003a928970d2e6dc25e824241768da9abed7dce31ef857e4986990aad16e7aecd667 SHA512 e47f3d99b934abb184a5f8293f1a092fccabe0bb550573cd8c35918471a4caa94eaaec0361c43376c93cdb480612dd0f78626d6649077f777c5cccc8c5d4389f EBUILD sink-0.3.0-r1.ebuild 1181 BLAKE2B ad09c23a3bf65184c1e0dec2157cf619371c489ccb1e345a705f7e08af473c06ea7898a9bbe4821fe8b762474aacb4a7397c42d45b1ee92bbeb2da6bb542e2f5 SHA512 8c78a5ebe4d9b17845618a92a2429cdb1cdf5effc9bacd859a44807d8827ff1e9b45dd949d9a2b1101d933e2cb9a9060bbf968397f1897c792d5dcb848adfa1c +EBUILD sink-0.5.0.ebuild 1196 BLAKE2B ec09fa49e1d20266d74b2b314da4ce08282e68082e83768c2dfeb23e09c7d66661ff935fffe12f3a413d6a849ef6f5655793aa109cd7c1e0694c94c2db726abe SHA512 b224fb3e7a56ff03dcf84b30f7b25643c7cc460b725a2d29c2036fdd489a2a8eb835325981ded8b27a5cb20e0cf026dd71f2882b61f275a8e7c7afddf00df95b MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/dev-libs/sink/sink-0.5.0.ebuild b/dev-libs/sink/sink-0.5.0.ebuild new file mode 100644 index 000000000000..06692c9740c7 --- /dev/null +++ b/dev-libs/sink/sink-0.5.0.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="https://github.com/KDE/sink/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +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 +} |