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