summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Efremov <efremov@linux.com>2019-09-30 00:09:29 +0300
committerJoonas Niilola <juippis@gentoo.org>2019-10-16 08:22:04 +0300
commitc5c6054347866a72d57a0ca5f3992c24d31b592a (patch)
tree88b6b681b2487182aa47e710ebff03becc368009 /net-misc/seafile-client
parentnet-misc/seafile: Bump to version 7.0.2 (diff)
downloadgentoo-c5c6054347866a72d57a0ca5f3992c24d31b592a.tar.gz
gentoo-c5c6054347866a72d57a0ca5f3992c24d31b592a.tar.bz2
gentoo-c5c6054347866a72d57a0ca5f3992c24d31b592a.zip
net-misc/seafile-client: Bump to version 7.0.2
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Denis Efremov <efremov@linux.com> Closes: https://github.com/gentoo/gentoo/pull/13095 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/metadata.xml9
-rw-r--r--net-misc/seafile-client/seafile-client-7.0.2.ebuild52
3 files changed, 61 insertions, 1 deletions
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest
index 07c258f7d019..5813cc0c81e7 100644
--- a/net-misc/seafile-client/Manifest
+++ b/net-misc/seafile-client/Manifest
@@ -1 +1,2 @@
DIST seafile-client-6.2.11.tar.gz 2346059 BLAKE2B 107ed7af53a8e0244a9d9805d3c84f66e273f00d306663cfaa07983f94ed98f0dc23cce7d1ff7592bdb64915d1e7dd32cb5a2e9bb10f4b36b87bd28f8f3a9082 SHA512 4ba39c33c41cb95e2ff5bb9704cdac1f95561bb4ff0b59d0993364070c5ee10284c51d640591195b7361b595221fd899a4aeafcac1c917625b175e98b9a894a2
+DIST seafile-client-7.0.2.tar.gz 2365981 BLAKE2B 9e11d3e2b770f2b85bb55f0108344c1c69e1fb28ea69ea8a5022efc7811f6336a2fee0de4f38981343d7a29270051e292c14f656d7a7b99e0d646d0f3fee9a9b SHA512 3edafb9728eb39e1b2adbcb0526758279599d25020c5303aa6b610aac1296eef0ebe66447f6555c21dbe125aa5ac1d605736359b52f2bd8933187efd04c2e8df
diff --git a/net-misc/seafile-client/metadata.xml b/net-misc/seafile-client/metadata.xml
index f8cd338dfd6d..b8aedb1fc8fa 100644
--- a/net-misc/seafile-client/metadata.xml
+++ b/net-misc/seafile-client/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>efremov@linux.com</email>
+ <name>Denis Efremov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<use>
<flag name="shibboleth">Build support for Shibboleth single sign-on</flag>
</use>
diff --git a/net-misc/seafile-client/seafile-client-7.0.2.ebuild b/net-misc/seafile-client/seafile-client-7.0.2.ebuild
new file mode 100644
index 000000000000..362f229b176c
--- /dev/null
+++ b/net-misc/seafile-client/seafile-client-7.0.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils xdg-utils
+
+DESCRIPTION="Seafile desktop client"
+HOMEPAGE="https://github.com/haiwen/seafile-client/ http://www.seafile.com/"
+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="shibboleth test"
+
+RDEPEND="net-libs/libsearpc
+ ~net-misc/seafile-${PV}
+ dev-libs/libevent
+ dev-libs/jansson
+ dev-libs/openssl:0
+ dev-db/sqlite:3
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtdbus:5
+ shibboleth? ( dev-qt/qtwebengine:5[widgets] )"
+DEPEND="${RDEPEND}
+ dev-qt/linguist-tools:5
+ test? ( dev-qt/qttest:5 )"
+
+src_prepare() {
+ eapply "${FILESDIR}/${PN}-select-qt5.patch"
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)"
+ -DBUILD_TESTING="$(usex test)"
+ )
+ cmake-utils_src_configure
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}