Browse Source

net-misc/seafile-client: version bump to 8.0.4

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Quentin Retornaz <gentoo@retornaz.com>
master
Case_Of 3 months ago
parent
commit
2f45094f16
Signed by: qretornaz GPG Key ID: 6D8A6C9787A1EC91
5 changed files with 125 additions and 0 deletions
  1. +1
    -0
      net-misc/seafile-client/Manifest
  2. +37
    -0
      net-misc/seafile-client/files/seafile-client-7.0.9-qt-5.15.patch
  3. +18
    -0
      net-misc/seafile-client/files/seafile-client-select-qt5.patch
  4. +18
    -0
      net-misc/seafile-client/metadata.xml
  5. +51
    -0
      net-misc/seafile-client/seafile-client-8.0.4.ebuild

+ 1
- 0
net-misc/seafile-client/Manifest View File

@ -0,0 +1 @@
DIST seafile-client-8.0.4.tar.gz 11701804 BLAKE2B 4d1647a4c783be634eca79ff3ca0713888c38222c1c571f11393a4cc6067073c4ac2a41256a678482c8e66c16cc88dc04883f432d81e374a06264650fe198ade SHA512 eb9afa97f02cfd6054dab34c0ce7e268b8faca49d364d0051358c3f69ae4c8b4e130025891a4c99e4d6cd5abe6b617ea23bcc0d6f2b07ea438debf9899b6d406

+ 37
- 0
net-misc/seafile-client/files/seafile-client-7.0.9-qt-5.15.patch View File

@ -0,0 +1,37 @@
https://github.com/haiwen/seafile-client/pull/1297
From 86ebea086c6b78738b3140c922c909331d2b9a94 Mon Sep 17 00:00:00 2001
From: Joffrey <j-off@live.fr>
Date: Fri, 29 May 2020 15:59:11 +0000
Subject: [PATCH] Fix build with Qt5 v5.15.0
---
src/ui/events-list-view.cpp | 1 +
src/ui/private-share-dialog.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/ui/events-list-view.cpp b/src/ui/events-list-view.cpp
index b1d04abb..09536b9e 100644
--- a/src/ui/events-list-view.cpp
+++ b/src/ui/events-list-view.cpp
@@ -1,4 +1,5 @@
#include <QPainter>
+#include <QPainterPath>
#include <QApplication>
#include <QPixmap>
#include <QToolTip>
diff --git a/src/ui/private-share-dialog.cpp b/src/ui/private-share-dialog.cpp
index 511d476b..284cc043 100644
--- a/src/ui/private-share-dialog.cpp
+++ b/src/ui/private-share-dialog.cpp
@@ -2,6 +2,7 @@
#include <QCompleter>
#include <QLineEdit>
#include <QPainter>
+#include <QPainterPath>
#include <QResizeEvent>
#include <QStringList>
#include <QStringListModel>
--
2.26.2

+ 18
- 0
net-misc/seafile-client/files/seafile-client-select-qt5.patch View File

@ -0,0 +1,18 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4261fba..24fbbda 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -158,11 +158,8 @@ SET(QT_VERSION_MAJOR 5)
# have to keep using QtWebKit on windows because QtWebEngine can't be
# compiled in msys2/mingw (QtWebEnigne is based on chrome, which has to be
# compiled with MSVC.)
-FIND_PROGRAM(qmake_executable NAMES qmake qmake.exe)
-EXECUTE_PROCESS(COMMAND
- bash -c "${qmake_executable} --version | grep -iE '^using qt version [0-9.]+' | awk '{print $4}'"
- OUTPUT_VARIABLE DETECTED_QT_VERSION
- OUTPUT_STRIP_TRAILING_WHITESPACE)
+FIND_PACKAGE(Qt5Core)
+SET(DETECTED_QT_VERSION ${Qt5Core_VERSION})
MESSAGE("qt5 version: ${DETECTED_QT_VERSION}")
IF(WIN32 OR DETECTED_QT_VERSION VERSION_LESS 5.6.0)
ADD_DEFINITIONS(-DSEAFILE_USE_WEBKIT)

+ 18
- 0
net-misc/seafile-client/metadata.xml View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person" proxied="yes">
<email>gentoo@retornaz.com</email>
<name>Quentin Retornaz</name>
</maintainer>
<maintainer type="project" proxied="proxy">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="shibboleth">Build support for Shibboleth single sign-on</flag>
</use>
<upstream>
<remote-id type="github">haiwen/seafile-client</remote-id>
</upstream>
</pkgmetadata>

+ 51
- 0
net-misc/seafile-client/seafile-client-8.0.4.ebuild View File

@ -0,0 +1,51 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
RELEASE_COMMIT="7317fb425226961708c6dccf5c0607ba2a177797"
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/libevent:=
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
~net-misc/seafile-${PV}
shibboleth? ( dev-qt/qtwebengine:5[widgets] )
sys-libs/zlib"
DEPEND="${RDEPEND}
test? ( dev-qt/qttest:5 )"
BDEPEND="dev-qt/linguist-tools:5"
PATCHES=(
"${FILESDIR}/${PN}-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)"
)
cmake_src_configure
}

Loading…
Cancel
Save