summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Retornaz <gentoo@retornaz.com>2023-05-27 00:37:35 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-05-28 14:37:19 +0300
commit0bdb03b54450dbd8a1c386f2ca32c76148fabcee (patch)
tree2c933ec36e2c04d9dbfdcda0c6ace5b6950aa657 /net-misc/seafile-client
parentnet-misc/seafile: version bump to 9.0.2_p1 (diff)
downloadgentoo-0bdb03b54450dbd8a1c386f2ca32c76148fabcee.tar.gz
gentoo-0bdb03b54450dbd8a1c386f2ca32c76148fabcee.tar.bz2
gentoo-0bdb03b54450dbd8a1c386f2ca32c76148fabcee.zip
net-misc/seafile-client: version bump to 9.0.2_p1
Signed-off-by: Quentin Retornaz <gentoo@retornaz.com> Closes: https://github.com/gentoo/gentoo/pull/31179 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/seafile-client')
-rw-r--r--net-misc/seafile-client/Manifest1
-rw-r--r--net-misc/seafile-client/seafile-client-9.0.2_p1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest
index f6ee5c970fc5..e71b98ebc277 100644
--- a/net-misc/seafile-client/Manifest
+++ b/net-misc/seafile-client/Manifest
@@ -3,3 +3,4 @@ DIST seafile-client-8.0.9.tar.gz 11716754 BLAKE2B 2087d2b31ce4696fdaaaa723da7a35
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
DIST seafile-client-9.0.2.tar.gz 11720252 BLAKE2B cb31d863b0b99a1e79845eb02adf8d7a4ea9ff7cbc25499d70d0aca2ea0dd5aaa61b37f21cf4e3b51ea09a2df55bc010817f7892448240b2447e177b344ba153 SHA512 8a0b64abc12f4c3a512486332a126dbf2028b70f5675d4224f9fcd5a0e767d2cb4364cc375e267e131b87843074a556ba814e179b90be9bab1a658b8cf8e168d
+DIST seafile-client-9.0.2_p1.tar.gz 11718007 BLAKE2B dc31e7060b70e20dd288725273d6563df587d084fc8ac5b7e9df865cf5a2869c935b014b78094633d900c7e98e1929eee1e5cde26393684de257aba34910e35b SHA512 32a4afcf6456a4f64e5a0ab6cf6cb29eb0cad8ef548c744e14d53c14e8042ba24d296e781fda9f46bfa468490c2dd37c56faa4559c2e814da8d1334fea1057a8
diff --git a/net-misc/seafile-client/seafile-client-9.0.2_p1.ebuild b/net-misc/seafile-client/seafile-client-9.0.2_p1.ebuild
new file mode 100644
index 000000000000..c41a733f88a8
--- /dev/null
+++ b/net-misc/seafile-client/seafile-client-9.0.2_p1.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="e0817802502097f085b8ece7e14a04ec77772332"
+
+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
+}