commit: a394f87c3aea988b28dae769719f320ca87eddab Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> AuthorDate: Thu Apr 1 23:15:09 2021 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sun Apr 11 07:42:03 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a394f87c
net-misc/seafile-client: version bump to 8.0.2 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> Closes: https://github.com/gentoo/gentoo/pull/20223 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> net-misc/seafile-client/Manifest | 1 + .../seafile-client/seafile-client-8.0.2.ebuild | 60 ++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest index a3e730273a2..43d5a11f8a3 100644 --- a/net-misc/seafile-client/Manifest +++ b/net-misc/seafile-client/Manifest @@ -1 +1,2 @@ DIST seafile-client-8.0.1.tar.gz 11679293 BLAKE2B 52ad28fb316d99240692883218e626a8ca33f8265d62dadfc2eed400c889d47e9aa7887ea6c6fd994596537a5db163b334fb72c791b38529f7219c5a25c813d3 SHA512 ca5dd5a6b27316e1f6fb670e3286d24015d99391c0e1447e2ed42f3d4f72769d6a3dda78bc388ad8d303d4ab1167e4e50844574ecd6f61149b1966e99a3a7719 +DIST seafile-client-8.0.2.tar.gz 11694494 BLAKE2B 7230b17e9b85a990b87b9fae7d2d7bfc3a388ae82a777b3fa3abf8a2e88bb3ad6d73c8ff60aef34587ced6665594a71c0020c90065f6bd4fcaac79e15b41f923 SHA512 f66ea240816ec09b56bf3b121947a26bfbafeacd34c1cdb77f8244c713f0aea3f920c6eb6c3cf161034001a7d8ddb451e507acfb6f97e21ac5ebbb792da7ebf4 diff --git a/net-misc/seafile-client/seafile-client-8.0.2.ebuild b/net-misc/seafile-client/seafile-client-8.0.2.ebuild new file mode 100644 index 00000000000..db03f840bc9 --- /dev/null +++ b/net-misc/seafile-client/seafile-client-8.0.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +RELEASE_COMMIT="837be8efd5cab4aea8fc1138ab91e93539a4e010" + +inherit cmake xdg-utils + +DESCRIPTION="Seafile desktop client" +HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile-client/" +SRC_URI="https://github.com/haiwen/${PN}/archive/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl shibboleth test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/jansson + dev-libs/libevent + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + !libressl? ( dev-libs/openssl:= ) + libressl? ( dev-libs/libressl:= ) + net-libs/libsearpc + ~net-misc/seafile-${PV} + shibboleth? ( dev-qt/qtwebengine:5[widgets] )" +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:5 )" +BDEPEND="dev-qt/linguist-tools:5" + +PATCHES=( + "${FILESDIR}/${PN}-select-qt5.patch" + "${FILESDIR}/${PN}-7.0.9-libressl.patch" + "${FILESDIR}/${PN}-7.0.9-qt-5.15.patch" + "${FILESDIR}/${PN}-8.0.1-glib-2.68.0.patch" +) + +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" + +src_configure() { + local mycmakeargs=( + -DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)" + -DBUILD_TESTING="$(usex test)" + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}