summaryrefslogtreecommitdiff
path: root/net-misc/seafile-client
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-04-28 20:21:43 +0100
commit40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch)
tree758c221bad35c9288d0bd6df9c7dfc226728e52c /net-misc/seafile-client
parent8d5dbd847cbc704a6a06405856e94b461011afe3 (diff)
gentoo resync : 28.04.2021
Diffstat (limited to 'net-misc/seafile-client')
-rw-r--r--net-misc/seafile-client/Manifest5
-rw-r--r--net-misc/seafile-client/files/seafile-client-8.0.1-glib-2.68.0.patch12
-rw-r--r--net-misc/seafile-client/seafile-client-8.0.1-r2.ebuild (renamed from net-misc/seafile-client/seafile-client-8.0.1-r1.ebuild)2
-rw-r--r--net-misc/seafile-client/seafile-client-8.0.2.ebuild60
4 files changed, 77 insertions, 2 deletions
diff --git a/net-misc/seafile-client/Manifest b/net-misc/seafile-client/Manifest
index b061db633969..c4344f689988 100644
--- a/net-misc/seafile-client/Manifest
+++ b/net-misc/seafile-client/Manifest
@@ -1,6 +1,9 @@
AUX seafile-client-7.0.9-libressl.patch 558 BLAKE2B 92ab8e75e83a3693861e3b1c4f390fe5287140520867940b2bfa0615f65294cfc0328fd0a285c6e66941e040dc09b8164fb58ab092f5645628811227a30993fc SHA512 67cbcddb7d8610d29fcb308ebd0bc648ad0526101a2540e743232500880f276b0c07f50f20bcdf31d49f422057f99e310a84384ef47f52abe90be8ef0b8b6e6f
AUX seafile-client-7.0.9-qt-5.15.patch 1036 BLAKE2B dc81224ff712d12c19dc90edb0371853dac4a7c6604f40ae2cc82fbbe59c36d91b776a0e05e31b874b6b5abad84687009d82461e708faa98a3c399b8e0acac11 SHA512 f4a06d788682ccb13ed10485a20322ec074b40dbe4f6f7b9b88f199d6fe64f2dfbaf7f9f7575bbfdd5f309eb58aa9a03453c679b56c52582cdd99ce22b9df57f
+AUX seafile-client-8.0.1-glib-2.68.0.patch 530 BLAKE2B 936c032a129a65cdfaa64779f45113996f06f7a3bc155a101f312275d70c89edf0042172adbec253c13a571e0e68cd76b1d414823ccc4b975c990e5969e660c9 SHA512 c6eb836b46a3e9aefb89c7e824420695bf44994a6c668a1378598c226b45a6e894f1fe429c3957c6a6cf7463a425a01131d2caa46595d3779cb2f387187fd733
AUX seafile-client-select-qt5.patch 807 BLAKE2B bc28c24a114899fa4d864a3ea10d1d2ab08410d0360e8499d40aee2a26358b5bc401edd8e57121306a5e840b674c50930840c3b8723eae1930421eaf3dbfe919 SHA512 565cd7a3b4f187ef52b9a95b0d657a35cc9722c78e92dfc413b64f781c3cae129aba23ab302f80c7526ccab234b0354709e95d1e79d356a502cce47370524f41
DIST seafile-client-8.0.1.tar.gz 11679293 BLAKE2B 52ad28fb316d99240692883218e626a8ca33f8265d62dadfc2eed400c889d47e9aa7887ea6c6fd994596537a5db163b334fb72c791b38529f7219c5a25c813d3 SHA512 ca5dd5a6b27316e1f6fb670e3286d24015d99391c0e1447e2ed42f3d4f72769d6a3dda78bc388ad8d303d4ab1167e4e50844574ecd6f61149b1966e99a3a7719
-EBUILD seafile-client-8.0.1-r1.ebuild 1232 BLAKE2B 626f398d06141b00468e4196d8efbac83a4d385f239f1e8995a40a0de4676db963555cf32dec21a520fd6b050a157935a19552f894541447a8bdca70989108d2 SHA512 3f2d7544b363d21fb5743e7d178c7d48c39609d93164be51b2eb8941702bcc7361e79a7913e1b9927ac8d7b37078ab376e5498775aff932a02211d7047937f52
+DIST seafile-client-8.0.2.tar.gz 11694494 BLAKE2B 7230b17e9b85a990b87b9fae7d2d7bfc3a388ae82a777b3fa3abf8a2e88bb3ad6d73c8ff60aef34587ced6665594a71c0020c90065f6bd4fcaac79e15b41f923 SHA512 f66ea240816ec09b56bf3b121947a26bfbafeacd34c1cdb77f8244c713f0aea3f920c6eb6c3cf161034001a7d8ddb451e507acfb6f97e21ac5ebbb792da7ebf4
+EBUILD seafile-client-8.0.1-r2.ebuild 1247 BLAKE2B 4e661cbea213e41412e741bf08abc6b125c6a519fff42cbbcaf0416acd78f71dccdc879164fc91d753d03fd7cf66fe5b21dfc825fb50b0d3e0773d0e9b1dde11 SHA512 49c8b44c86ceef8ce7af89725bd85add0e46d895af8eb743e8eb43852fd937f16a14b47c10aae46ff2dad3bf3febdd9f4a45dcd7acc8a39482f8fe51f39e901e
+EBUILD seafile-client-8.0.2.ebuild 1364 BLAKE2B ee1257a912d04dbaf79703dd0f6a137ac43e68568675642a72eb126a7d8f0de7bd4475cade5837162334692648faf0d4327acdd7389dce776acb5623046cbb4b SHA512 b701938134c7bf7096cc7fcc993666efdd1c782a64f11ff5fa9b1d56697cf38f916be48e07dee4135673fb2ee5575a56d90071d1178d037f8f1d498fe07e2247
MISC metadata.xml 576 BLAKE2B 2174b676e97ee6712305427fc4ffa5d11007872d943b3fada1d05d67d3c83a218c385559e4c24cf12b318e4b1eb4192cae79a33c86329c5442caf72af86c932b SHA512 1e0f7a2c1f0ea6011b55ab213d1783677307468ceb44d594ecade76c36ccdfb97ee94feb3ad8d90b451a7349b48f8372a92ff8bd669d257ddbbab77d1a75e4dc
diff --git a/net-misc/seafile-client/files/seafile-client-8.0.1-glib-2.68.0.patch b/net-misc/seafile-client/files/seafile-client-8.0.1-glib-2.68.0.patch
new file mode 100644
index 000000000000..9b2dd42cc926
--- /dev/null
+++ b/net-misc/seafile-client/files/seafile-client-8.0.1-glib-2.68.0.patch
@@ -0,0 +1,12 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fbf1d2f..05e8d4d 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -6,6 +6,7 @@ SET(SEAFILE_CLIENT_VERSION_MINOR 0)
+ SET(SEAFILE_CLIENT_VERSION_PATCH 1)
+ SET(PROJECT_VERSION "${SEAFILE_CLIENT_VERSION_MAJOR}.${SEAFILE_CLIENT_VERSION_MINOR}.${SEAFILE_CLIENT_VERSION_PATCH}")
+ ADD_DEFINITIONS(-DSEAFILE_CLIENT_VERSION=${PROJECT_VERSION})
++ADD_DEFINITIONS(-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26)
+ INCLUDE(FindPkgConfig)
+
+ ## Build crash repoter on release build as default
diff --git a/net-misc/seafile-client/seafile-client-8.0.1-r1.ebuild b/net-misc/seafile-client/seafile-client-8.0.1-r2.ebuild
index b26abb8f4490..a36fc7d452eb 100644
--- a/net-misc/seafile-client/seafile-client-8.0.1-r1.ebuild
+++ b/net-misc/seafile-client/seafile-client-8.0.1-r2.ebuild
@@ -16,7 +16,6 @@ IUSE="libressl shibboleth test"
RESTRICT="!test? ( test )"
RDEPEND="dev-db/sqlite:3
- <dev-libs/glib-2.68.0
dev-libs/jansson
dev-libs/libevent
dev-qt/qtcore:5
@@ -37,6 +36,7 @@ PATCHES=(
"${FILESDIR}/${PN}-select-qt5.patch"
"${FILESDIR}/${PN}-7.0.9-libressl.patch"
"${FILESDIR}/${PN}-7.0.9-qt-5.15.patch"
+ "${FILESDIR}/${P}-glib-2.68.0.patch"
)
src_configure() {
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 000000000000..db03f840bc9d
--- /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
+}