summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Retornaz <gentoo@retornaz.com>2023-06-27 23:57:37 +0200
committerJoonas Niilola <juippis@gentoo.org>2023-07-26 10:20:32 +0300
commit868215bfdf594e07b2b62e3041a5882a668b5233 (patch)
treeebe4f9379adf6b789882ac7bb5308cb48977be30 /net-misc/seafile
parentdev-perl/Perl-LanguageServer: add 2.6.1 (diff)
downloadgentoo-868215bfdf594e07b2b62e3041a5882a668b5233.tar.gz
gentoo-868215bfdf594e07b2b62e3041a5882a668b5233.tar.bz2
gentoo-868215bfdf594e07b2b62e3041a5882a668b5233.zip
net-misc/seafile: version bump to 9.0.3
Signed-off-by: Quentin Retornaz <gentoo@retornaz.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-misc/seafile')
-rw-r--r--net-misc/seafile/Manifest1
-rw-r--r--net-misc/seafile/seafile-9.0.3.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest
index ea382e7a06f5..0b397237b244 100644
--- a/net-misc/seafile/Manifest
+++ b/net-misc/seafile/Manifest
@@ -4,3 +4,4 @@ DIST seafile-9.0.0.tar.gz 749947 BLAKE2B df9e68d1ee46c03d5d7cab35f141b6e7a890e78
DIST seafile-9.0.1.tar.gz 750253 BLAKE2B a076e1ee7df817a47cb2c586025be5126771baf520d66189c640138c9400d9ead04e4d8bcb98ef4071c6115b23f1e835b1cfd3772a305b730e219ffd45bc23de SHA512 69371da95cc66657a83c9fb232c6560424be31d0ddc277870b474379ce3d2dc116c43dc0ab09e4aa79badcb87bb4bfad423f5cf1b466c8dfcc31272afe81b516
DIST seafile-9.0.2.tar.gz 751089 BLAKE2B 92f9329e109c797024c576b95def27db7a22ca1125c4305ca310020f68ecfb393a11c68ef040fe2c5d672a4671d5a5689cb6d15281c781541d8ffd3d2e7c7d50 SHA512 199702fb533e7a95c84ff10aeceb02850704ad18a953a1d27f34cce9536be5297386327f9adbc6b23b44ec051cfdd59c094e8c7923cefd37536f4d50023a07ef
DIST seafile-9.0.2_p1.tar.gz 752398 BLAKE2B e60d543eebfe2113690803baf285e146d66d03477ae93316e24ce5eafd23ddc03fc46998470e447f5b79ec8441baac27008d3e2ad38b600936ee614709ac5b75 SHA512 01fd51de18d63c8142d89ce017e7e6bdd469a3ee1f94341b90f5654ff603c88f8ee19ff4cfa0d5e0b06b17d23d66ed6ac2a3af8b03e8db34f49e18243b9eace7
+DIST seafile-9.0.3.tar.gz 752618 BLAKE2B fc03756934ed36bf6706250e8a41a8d069a4cf0d69fcb76a44acd3a134a80e0705e72cfa1b8e44d1d4cf01e7f94e5781da3e3af88fc9f2cc4cfccbc8ecc15e11 SHA512 07312e56d642de63a5621870d6fe5ff42a0545d5b7def020dabdd36c9a06500c86801a02138de9e3dc6ff16cfdda43b59d651a08395207e108692cfa61db027f
diff --git a/net-misc/seafile/seafile-9.0.3.ebuild b/net-misc/seafile/seafile-9.0.3.ebuild
new file mode 100644
index 000000000000..2513976a7a67
--- /dev/null
+++ b/net-misc/seafile/seafile-9.0.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+# Upstream is moving tags repeatedly, then we use commit hash.
+RELEASE_COMMIT="90a2bc6e30a14ac4c91250da3957330f1051462e"
+
+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"
+
+LICENSE="GPL-2+-with-openssl-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/future[${PYTHON_USEDEP}]
+ ')
+ 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)"
+
+S="${WORKDIR}/${PN}-${RELEASE_COMMIT}"
+
+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
+}