From aa020431d6e4a11fb4c3b72155bc616fc65a9c33 Mon Sep 17 00:00:00 2001 From: "Z. Liu" Date: Sat, 21 Mar 2026 10:37:02 +0800 Subject: [PATCH] net-misc/seafile: bump to 9.0.16 Signed-off-by: Z. Liu Part-of: https://github.com/gentoo/gentoo/pull/45979 Signed-off-by: Sam James --- net-misc/seafile/Manifest | 1 + net-misc/seafile/seafile-9.0.16.ebuild | 62 ++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 net-misc/seafile/seafile-9.0.16.ebuild diff --git a/net-misc/seafile/Manifest b/net-misc/seafile/Manifest index 23c713bae765e..e2af145aa211b 100644 --- a/net-misc/seafile/Manifest +++ b/net-misc/seafile/Manifest @@ -1,2 +1,3 @@ DIST seafile-9.0.13.tar.gz 767210 BLAKE2B 2aaaca2479553eae6e54bab7fdb14e7f2893f45959231c000d9d72bfd3837538faecd51dcdc861b19dceebae344cd4963f3dd8783857e7878fb6982e55b7d2f8 SHA512 c5bf41fc6812a49a9b0b45ff77c9ff3628a85005074f159b9b93bb8b4cde4ef79e7caf6de26cc1501e64c993dd9e6bb3411873db2c34665db6d05a82cdfd08ed DIST seafile-9.0.15.tar.gz 771034 BLAKE2B a08b3d7500ea375451c44b5c2d65cabf4c1c51c5ebadb9cb02edd97a08d31fad185dc1c6cc09d0a422bf23ed48611f2a4a8151003b52f3459fd4c945457bef6e SHA512 76e58f8a26a231d9eec6fd192a7705eac409a1e0b99fc32773c2dd1b9637c5298b3ba568dd260d5cb9879a8581cbceaaeecf4b1c4804feb18cae13f1aa4c9567 +DIST seafile-9.0.16.tar.gz 772971 BLAKE2B 52b9043f83c6131479324fa5c2583ed3c7f62d5490750f885f2efbdab9c9b3fc111070e26303b7fd57ad1d315fbdf398168ad77352561e594a4dac4e50ec8cb8 SHA512 28046918fd45d3c1d82c6f8f407b58cfabcd43563338c2c36df4b1c01e7d1499cb4cb1f0bdec379642f24ab67d435849c291e24286c233c8e64beeadf7e8f846 diff --git a/net-misc/seafile/seafile-9.0.16.ebuild b/net-misc/seafile/seafile-9.0.16.ebuild new file mode 100644 index 0000000000000..caf2a9b014ff1 --- /dev/null +++ b/net-misc/seafile/seafile-9.0.16.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) + +# Upstream is moving tags repeatedly, then we use commit hash. +RELEASE_COMMIT="88d583d17ea4685aae47beb9b7e92bbf0f7da116" + +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} + app-crypt/argon2:= + 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 + virtual/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 +}