summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Retornaz <gentoo@retornaz.com>2020-11-06 19:12:34 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-11-12 10:30:57 +0200
commit092199e9ce1f0523df46d7d797a86a63d4fb6272 (patch)
tree5e2a94c3f17d7823a9f20ced755e8b021bce6f89 /net-misc
parentnet-misc/seafile: version bump to 7.0.10 (diff)
downloadgentoo-092199e9ce1f0523df46d7d797a86a63d4fb6272.tar.gz
gentoo-092199e9ce1f0523df46d7d797a86a63d4fb6272.tar.bz2
gentoo-092199e9ce1f0523df46d7d797a86a63d4fb6272.zip
net-misc/seafile-client: version bump to 7.0.10
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Quentin Retornaz <gentoo@retornaz.com> Closes: https://github.com/gentoo/gentoo/pull/18157 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/seafile-client/Manifest1
-rw-r--r--net-misc/seafile-client/seafile-client-7.0.10.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest
index 830f5bb17f08..5fdf7b70acd3 100644
--- a/net-misc/seafile-client/Manifest
+++ b/net-misc/seafile-client/Manifest
@@ -1 +1,2 @@
+DIST seafile-client-7.0.10.tar.gz 2368056 BLAKE2B 8b446a818cc3a238bd92831843f1991632e9417ba92d043065aaf43e2a4d74aa00d331e32136a195558dc780ae124c8b1e7b2b2969f3cff8169635df7470f876 SHA512 cab11292ab1957b1682e0d3ee1ddd8e794c52bba7cf08ed39e8f598d3549247c20214d907d1e3792c06a36d8bea55c0bd25ce9aa3a802c262f9af785da7cb340
DIST seafile-client-7.0.9.tar.gz 2367747 BLAKE2B 60a488a22e094d4783c7da50e8852d7204e16791613d113f729bacc21a40883edc25469f8ce1a8dab52b4ed0ea73b691a831fb0c01a885aeeae7bd276e2781ff SHA512 665a252a321744cd84b96230f5318528aad23a0a089e5049913c34a6c254356c7cc996e45e2a50d432d114f13b089b8d12062b3a1a4d1a0b6f1cbf9688ad32b6
diff --git a/net-misc/seafile-client/seafile-client-7.0.10.ebuild b/net-misc/seafile-client/seafile-client-7.0.10.ebuild
new file mode 100644
index 000000000000..e869695c7c6f
--- /dev/null
+++ b/net-misc/seafile-client/seafile-client-7.0.10.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/v${PV}.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/libevent
+ dev-libs/jansson
+ 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"
+)
+
+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
+}