1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
7 inherit python-single-r1
9 DESCRIPTION="Standalone file import filter library for spreadsheet documents"
10 HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md"
12 if [[ ${PV} == *9999* ]]; then
14 EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git"
15 inherit git-r3 autotools
18 SRC_URI="https://kohei.us/files/orcus/src/${P}.tar.xz"
19 KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
23 SLOT="0/0.16" # based on SONAME of liborcus.so
24 IUSE="python +spreadsheet-model tools"
26 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
29 dev-libs/boost:=[zlib(+)]
31 python? ( ${PYTHON_DEPS} )
32 spreadsheet-model? ( dev-libs/libixion:${SLOT} )
35 dev-util/mdds:${MDDS_SLOT}
39 use python && python-single-r1_pkg_setup
44 [[ ${PV} == *9999 ]] && eautoreconf
52 $(use_enable spreadsheet-model)
55 econf "${myeconfargs[@]}"
60 find "${D}" -name '*.la' -type f -delete || die