mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-24 15:51:03 +02:00
seafile: 7.0.7 bump
This commit is contained in:
parent
09d100a531
commit
34035b6595
7 changed files with 185 additions and 0 deletions
2
net-misc/seafile-client/Manifest
Normal file
2
net-misc/seafile-client/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST seafile-client-7.0.5.tar.gz 2359779 BLAKE2B 58fa532668859c4413bb931146a58eb51ede7c1faa3ea2a9cafb94be44a8819261570ef16cc9f62f584f9ff483aa0832a63a99bb53380dd9efa4f82d25dea553 SHA512 b79cde3f98ebb1a0cb1035131cf95735f01c63bcb4bb658d5c40c36cdf85705d2c6fd2f7787fbdb3d965a25d60ee98e020e33c4f9423295c7ef1ab36ee5c7c27
|
||||
DIST seafile-client-7.0.7.tar.gz 2365877 BLAKE2B 60d4abf578de98b82f5107ba0c638c6e74bd62e71310d70b0369b380102cc749fe12cbb371ad12129f21e5ed020f21d1fde26b8fab0405033bd86eabb1f5990b SHA512 80d0a711e72eb39c65ae4a7cbfc576a10c4f6b30b7cf81ad7b2c0831e1a505fa500ce2ecd802dd79b80ef9e1ebb749585d1a82ac9999a0791f166300b1b0f6ed
|
||||
|
|
@ -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
net-misc/seafile-client/metadata.xml
Normal file
18
net-misc/seafile-client/metadata.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<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>
|
||||
<upstream>
|
||||
<remote-id type="github">haiwen/seafile-client</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
50
net-misc/seafile-client/seafile-client-7.0.5.ebuild
Normal file
50
net-misc/seafile-client/seafile-client-7.0.5.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# 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="shibboleth test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="net-libs/libsearpc
|
||||
~net-misc/seafile-${PV}
|
||||
dev-libs/libevent
|
||||
dev-libs/jansson
|
||||
dev-libs/openssl
|
||||
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}
|
||||
test? ( dev-qt/qttest:5 )"
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-select-qt5.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
|
||||
}
|
||||
50
net-misc/seafile-client/seafile-client-7.0.7.ebuild
Normal file
50
net-misc/seafile-client/seafile-client-7.0.7.ebuild
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# 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="shibboleth test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="net-libs/libsearpc
|
||||
~net-misc/seafile-${PV}
|
||||
dev-libs/libevent
|
||||
dev-libs/jansson
|
||||
dev-libs/openssl
|
||||
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}
|
||||
test? ( dev-qt/qttest:5 )"
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
|
||||
PATCHES=("${FILESDIR}/${PN}-select-qt5.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
|
||||
}
|
||||
|
|
@ -1 +1,2 @@
|
|||
DIST seafile-7.0.5.tar.gz 706430 BLAKE2B 49402de13660bcda9a6fad35879bd0e9ba4e491e921525a9cb16498f833d0d8e4177e615afa95780da040c9617d2795a3aa97ce389edae54621d8079033fd24e SHA512 c51c5f3f4a4b316fdf21d8eec12d42e7e1c76cf1271393658dd447c4b0ba77e6149eb7770a99af6aa23f6ebcb1572f4b847f8de44320d8bae8960bde7f429920
|
||||
DIST seafile-7.0.7.tar.gz 706915 BLAKE2B f700a23e22909aabdc2b15a80fabfc3e9452ee01cdbb3818cae7c52f5454c2d64dc45c9681dd00a7e2786ea5e06c7a0c4a41a37b6558d850b81c15c86992a8f9 SHA512 f0191790dac5a3dade554f6a12db7cef353d8ad31a96e5bb7da82b3498f2f9fe5ed6997e4d0613d3c931e078d5de7021b1e8b1b02e44725696218f0fed84b071
|
||||
|
|
|
|||
46
net-misc/seafile/seafile-7.0.7.ebuild
Normal file
46
net-misc/seafile/seafile-7.0.7.ebuild
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=(python3_{6,7,8})
|
||||
|
||||
WANT_AUTOMAKE=1.16
|
||||
|
||||
inherit autotools python-single-r1 vala
|
||||
|
||||
DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
|
||||
HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/"
|
||||
SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+-with-openssl-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libevent
|
||||
dev-libs/jansson
|
||||
sys-libs/zlib
|
||||
net-misc/curl
|
||||
dev-libs/openssl
|
||||
dev-db/sqlite:3"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's/valac /${VALAC} /' lib/Makefile.am || die
|
||||
eautoreconf
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# Remove unnecessary .la files, as recommended by ltprune.eclass
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
python_fix_shebang "${ED}"/usr/bin
|
||||
}
|
||||
Loading…
Reference in a new issue