1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=(python3_6)
10 inherit autotools python-single-r1 vala
12 DESCRIPTION="File syncing and sharing software with file encryption and group sharing"
13 HOMEPAGE="https://www.seafile.com/ https://github.com/haiwen/seafile/"
14 SRC_URI="https://github.com/haiwen/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
16 LICENSE="GPL-2+-with-openssl-exception"
18 KEYWORDS="~amd64 ~x86"
20 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
22 RDEPEND="${PYTHON_DEPS}
23 net-libs/libsearpc[${PYTHON_SINGLE_USEDEP}]
36 sed -i -e 's/valac /${VALAC} /' lib/Makefile.am || die
43 # Remove unnecessary .la files, as recommended by ltprune.eclass
44 find "${ED}" -name '*.la' -delete || die
45 python_fix_shebang "${ED}"/usr/bin