mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 02:50:26 +02:00
seafile-client-9.0.6.ebuild
This commit is contained in:
parent
1c518aaaf6
commit
a9d1f10ec0
8 changed files with 121 additions and 8 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST seafile-client-9.0.4.tar.gz 11720648 BLAKE2B 3bdcf84a9f8aedeae29ad8e8f01b7cbc18a1c274f3f89b9a115f6066f76d479c7754c42e8b16b17e151de525098e8c125712bcdca9368b24dd6966e47c6bee0b SHA512 e75508f8d57dec0f4df2e9fddb4a6f522f52dfa181323926df0588f505b62c4053d90218f6c49ca40a17eb9835dc8ae8779012ef007e5f840a88847e65791bcd
|
||||
DIST seafile-client-9.0.5.tar.gz 11727384 BLAKE2B ff5bf5607439726cdbb70c5c1fe96b975c6705282e049dd545ccfc2e338fdfe651736c295e91f7541897fd4b9acc4c27e0374b6cfe73394e5f4ae8583f269f8c SHA512 df10b362ca9f9249b176474bb064435690e3b301e528e8d6be0353c4b8344819061c92104085d497d93936e37e980006890e3daf4f054be5bf9810f13c8329c5
|
||||
DIST seafile-client-9.0.6.tar.gz 11727384 BLAKE2B ff5bf5607439726cdbb70c5c1fe96b975c6705282e049dd545ccfc2e338fdfe651736c295e91f7541897fd4b9acc4c27e0374b6cfe73394e5f4ae8583f269f8c SHA512 df10b362ca9f9249b176474bb064435690e3b301e528e8d6be0353c4b8344819061c92104085d497d93936e37e980006890e3daf4f054be5bf9810f13c8329c5
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ 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"
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
|
@ -42,8 +43,6 @@ PATCHES=(
|
|||
"${FILESDIR}/${PN}-7.0.9-qt-5.15.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ 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"
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
|
@ -42,8 +43,6 @@ PATCHES=(
|
|||
"${FILESDIR}/${PN}-7.0.9-qt-5.15.patch"
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)"
|
||||
|
|
|
|||
54
net-misc/seafile-client/seafile-client-9.0.6.ebuild
Normal file
54
net-misc/seafile-client/seafile-client-9.0.6.ebuild
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Upstream is moving tags repeatedly, then we use commit hash.
|
||||
RELEASE_COMMIT="47533e06ff8bca5e0f7895581b3bbad1b78cfcea"
|
||||
|
||||
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"
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
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/openssl:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
>=net-libs/libsearpc-3.2.0_p1
|
||||
~net-misc/seafile-${PV}
|
||||
sys-libs/zlib
|
||||
virtual/opengl
|
||||
elibc_musl? ( sys-libs/fts-standalone )
|
||||
shibboleth? ( dev-qt/qtwebengine:5[widgets] )"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-qt/qttest:5 )"
|
||||
BDEPEND="dev-qt/linguist-tools:5"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-8.0.6-select-qt5.patch"
|
||||
"${FILESDIR}/${PN}-7.0.9-qt-5.15.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_SHIBBOLETH_SUPPORT="$(usex shibboleth)"
|
||||
-DBUILD_TESTING="$(usex test)"
|
||||
)
|
||||
# 863554
|
||||
use elibc_musl && mycmakeargs+=( -DCMAKE_CXX_STANDARD_LIBRARIES="-lfts" )
|
||||
cmake_src_configure
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
DIST seafile-9.0.4.tar.gz 752960 BLAKE2B 3baebf086e3fc50e7eeacffbfcec65889409ec2b899aa7b7739dd3e28f499f5cd13f7099e8fd2636c1a5c304ca56811d29059d83c604a36f3e281d43e9bb7a35 SHA512 e184058d65a70e9eaff8a2115e1f8c8c939c18be961c5ef54d1acd0439db005c0083f06184fa266848ba0f6f695ca66d2d42b79287cf54e7d6fd645b864e6cdb
|
||||
DIST seafile-9.0.5.tar.gz 753080 BLAKE2B 45ec5d844c31449b08f921c97e5931e931b96b523c6abdfee062f46f91bc50b449355cc692eec2e533d7c7f0494b2931eb59df072bf60b53c0b49a72dd93f08f SHA512 1ee064b68ce4f8aa9fc33aeefc8da90bc0bc9a36bfc4a3c40414eb85a5842e968f71dd21349c51fd428a313bfe60d9bb7943e661224bbdf3d7200065bc1fb743
|
||||
DIST seafile-9.0.6.tar.gz 753080 BLAKE2B 45ec5d844c31449b08f921c97e5931e931b96b523c6abdfee062f46f91bc50b449355cc692eec2e533d7c7f0494b2931eb59df072bf60b53c0b49a72dd93f08f SHA512 1ee064b68ce4f8aa9fc33aeefc8da90bc0bc9a36bfc4a3c40414eb85a5842e968f71dd21349c51fd428a313bfe60d9bb7943e661224bbdf3d7200065bc1fb743
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ 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/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
LICENSE="GPL-2+-with-openssl-exception"
|
||||
SLOT="0"
|
||||
|
|
@ -35,8 +36,6 @@ DEPEND="${RDEPEND}"
|
|||
BDEPEND="${PYTHON_DEPS}
|
||||
$(vala_depend)"
|
||||
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
vala_setup
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ 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/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
LICENSE="GPL-2+-with-openssl-exception"
|
||||
SLOT="0"
|
||||
|
|
@ -35,8 +36,6 @@ DEPEND="${RDEPEND}"
|
|||
BDEPEND="${PYTHON_DEPS}
|
||||
$(vala_depend)"
|
||||
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
vala_setup
|
||||
|
|
|
|||
61
net-misc/seafile/seafile-9.0.6.ebuild
Normal file
61
net-misc/seafile/seafile-9.0.6.ebuild
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
# Upstream is moving tags repeatedly, then we use commit hash.
|
||||
RELEASE_COMMIT="b5c8e027ad50a1422f27d218c13f82a8f10018d2"
|
||||
|
||||
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/${RELEASE_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
|
||||
|
||||
LICENSE="GPL-2+-with-openssl-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-libs/openssl:=
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
dev-libs/jansson:=
|
||||
dev-libs/libevent:=
|
||||
net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
|
||||
net-libs/libwebsockets[client]
|
||||
net-misc/curl
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
elibc_musl? ( sys-libs/fts-standalone )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="${PYTHON_DEPS}
|
||||
$(vala_depend)"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
vala_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-static
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
# Remove unnecessary .la files
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
python_fix_shebang "${ED}"/usr/bin/seaf-cli
|
||||
}
|
||||
Loading…
Reference in a new issue