commit: aaa50096e26081baf263285ed0ab2524990b7d83 Author: Quentin Retornaz <gentoo <AT> retornaz <DOT> com> AuthorDate: Tue Mar 21 19:31:20 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 22 05:45:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaa50096
net-misc/seafile-client: version bump to 9.0.1 Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com> Closes: https://github.com/gentoo/gentoo/pull/30292 Signed-off-by: Sam James <sam <AT> gentoo.org> net-misc/seafile-client/Manifest | 1 + .../seafile-client/seafile-client-9.0.1.ebuild | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest index ebe8ef2f229a..aa53a69d719e 100644 --- a/net-misc/seafile-client/Manifest +++ b/net-misc/seafile-client/Manifest @@ -1,3 +1,4 @@ DIST seafile-client-8.0.10.tar.gz 11718520 BLAKE2B b8163085c9973df6965b194c964d2b326d4faea3191bf9b62a147bd0a49670f1eb3d0758fbe6f822f99f54c95c32717d9c3533cbc15e71cd8251c1c6ef67f662 SHA512 c4efb1698ed6dfbf3199e4e03293035c8052bd66632a1d04d9020bd226cce748fbcfc8d90c10284c9b1ee6bad20546263a9e09819fc420365625a2fbd4f4a697 DIST seafile-client-8.0.9.tar.gz 11716754 BLAKE2B 2087d2b31ce4696fdaaaa723da7a353c54ebebef86c84b62146d806692066165d0499f5fd6d3be108130d28c297020eafc3497be03131c8a8751f34f33eece90 SHA512 d0b55883f8d00138c092309994047652c6a5aa8b66182f83b6c852f1721794d9d8125da5fba282e9efdb92a0a97a55ecd6e225ab6a7916718a05ea2b7f4bd944 DIST seafile-client-9.0.0.tar.gz 11714587 BLAKE2B 3432c5b1a971b794379953392689a8451335b1e31a23d09a762b181d66d99a8ee1a2694bcd0cdeb31e2d3c5d98e11d582c9464c11e558c9febb894361dfebfce SHA512 42975fcae3691ffa69671e39c75af1dd863f43cbab65f2022f3c4ee72462c6725107bda77856d16caa4db1e9b5e81c45fe629ffe362a88bbfae8fef558118cae +DIST seafile-client-9.0.1.tar.gz 11713910 BLAKE2B 9a9cd710327a853295c6320a2c161b96d8a359cc9eea0272b65a9c0749c4c25f2f7287b8312d1dd11a7740145a036a596f48ccc1fae850447133ea67fa454a10 SHA512 27533dfdd3657470e3eb3f80814bec7a9ae9176978941651104a526630d70c4747d4e859c16f7af9a046d3a7ae4152e0ba17f11106aa34bb1f0cfd05cba44f88 diff --git a/net-misc/seafile-client/seafile-client-9.0.1.ebuild b/net-misc/seafile-client/seafile-client-9.0.1.ebuild new file mode 100644 index 000000000000..dd99f3b10724 --- /dev/null +++ b/net-misc/seafile-client/seafile-client-9.0.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Upstream is moving tags repeatedly, then we use commit hash. +RELEASE_COMMIT="c72a52f34fea1ed58c977121edafdaee5c2588dd" + +inherit xdg cmake + +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="shibboleth test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/glib:2 + dev-libs/jansson:= + dev-libs/openssl:= + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + >=net-libs/libsearpc-3.2.0_p1 + ~net-misc/seafile-${PV} + sys-libs/zlib + virtual/opengl + elibc_musl? ( sys-libs/fts-standalone ) + shibboleth? ( dev-qt/qtwebengine:5[widgets] )" +DEPEND="${RDEPEND} + test? ( dev-qt/qttest:5 )" +BDEPEND="dev-qt/linguist-tools:5" + +PATCHES=( + "${FILESDIR}/${PN}-8.0.6-select-qt5.patch" + "${FILESDIR}/${PN}-7.0.9-qt-5.15.patch" +) + +S="${WORKDIR}/${PN}-${RELEASE_COMMIT}" + +src_configure() { + local mycmakeargs=( + -DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)" + -DBUILD_TESTING="$(usex test)" + ) + # 863554 + use elibc_musl && mycmakeargs+=( -DCMAKE_CXX_STANDARD_LIBRARIES="-lfts" ) + cmake_src_configure +}