mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
seafile-client-8.0.1.ebuild
This commit is contained in:
parent
4616f9ecb0
commit
4cbb1562dc
4 changed files with 98 additions and 0 deletions
|
|
@ -1,2 +1,3 @@
|
|||
DIST seafile-client-7.0.10.tar.gz 2368056 BLAKE2B 8b446a818cc3a238bd92831843f1991632e9417ba92d043065aaf43e2a4d74aa00d331e32136a195558dc780ae124c8b1e7b2b2969f3cff8169635df7470f876 SHA512 cab11292ab1957b1682e0d3ee1ddd8e794c52bba7cf08ed39e8f598d3549247c20214d907d1e3792c06a36d8bea55c0bd25ce9aa3a802c262f9af785da7cb340
|
||||
DIST seafile-client-7.0.9.tar.gz 2367747 BLAKE2B 60a488a22e094d4783c7da50e8852d7204e16791613d113f729bacc21a40883edc25469f8ce1a8dab52b4ed0ea73b691a831fb0c01a885aeeae7bd276e2781ff SHA512 665a252a321744cd84b96230f5318528aad23a0a089e5049913c34a6c254356c7cc996e45e2a50d432d114f13b089b8d12062b3a1a4d1a0b6f1cbf9688ad32b6
|
||||
DIST seafile-client-8.0.1.tar.gz 2388266 BLAKE2B 758862bbf95eb7fe65d0a99b1e8cc790002ad5f4dc47b80c2b612a21ab5439e6ae75337602345a199f3bb6dd81f3d84ac48f7172eac035fca1bd5749a6adb7e2 SHA512 d4300b58253a0f05993f5062080aab622320d685e49eef873961b46171d5b230ff7e5c6a83384489f0c8de115b6eddd92b0d25ae1de6cdd74e2446195ea138c1
|
||||
|
|
|
|||
50
net-misc/seafile-client/seafile-client-8.0.1.ebuild
Normal file
50
net-misc/seafile-client/seafile-client-8.0.1.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 ~arm64 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,2 +1,3 @@
|
|||
DIST seafile-7.0.10.tar.gz 707294 BLAKE2B 7f31d09480a7be09c957a79442bc0c952a4b3802fe17d660cb4ae7d157fcb656280751ed5033e399a705fc24c8b0a232e55e5f289792bdb69abec304c85d3473 SHA512 6c5870e75d52f4409fc6f7e3884d3e9208693997b25a6347980a8d164ec6a3348f4b3f5a532f11b9221822aa0ec9125b9d9af8ba7abc4d392cd5b5f602df9289
|
||||
DIST seafile-7.0.9.tar.gz 706859 BLAKE2B 2cbd12bfdda9c2cc13d38233a56d0d2f52ad04e03bd14c90c6ff086756fb7ab4f63319906030f9a5f4ec2625dbe23b2892c069f2b5d50c6997b23deaf2cb61d7 SHA512 4c87e7a4a6a4cef631cbfbeb1bde3c8c9e0915d5fe4597d5b3a4b8aa15e9650e97b51ee6a3b0bae4d235ec53149dca01aed7acd704da593c97da0a17e352a75d
|
||||
DIST seafile-8.0.1.tar.gz 731105 BLAKE2B ac4b79112e40196cce2dbc64bb94a852b3f81ea08e0a833d45a297c02f5f66432345647b9a34aef67d8108d16eb5e3648002a070bb556a70be63b8c0314af9bb SHA512 dd6366c06bfa25f16f5d3b2ef83b39b5886e834697891c274a3b4eafec3aabf72858dd4d341452e8d4fb8cd1166d30bb8a783dddb4370c02526e3a00ed9fdb3c
|
||||
|
|
|
|||
46
net-misc/seafile/seafile-8.0.1.ebuild
Normal file
46
net-misc/seafile/seafile-8.0.1.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 ~arm64 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