1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libfreehand.git"
9 [[ ${PV} == 9999 ]] && inherit autotools git-r3
11 DESCRIPTION="Library for import of FreeHand drawings"
12 HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand"
13 [[ ${PV} == 9999 ]] || SRC_URI="https://dev-www.libreoffice.org/src/libfreehand/${P}.tar.xz"
17 [[ ${PV} == 9999 ]] || \
18 KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~sparc x86"
19 IUSE="doc static-libs test"
20 RESTRICT="!test? ( test )"
33 doc? ( app-doc/doxygen )
34 test? ( dev-util/cppunit )
37 PATCHES=( "${FILESDIR}/${P}-icu-65.patch" )
41 [[ -d m4 ]] || mkdir "m4"
42 [[ ${PV} == 9999 ]] && eautoreconf
47 append-cxxflags -std=c++14
51 $(use_with doc docs) \
52 $(use_enable static-libs static) \
53 $(use_enable test tests)
58 find "${D}" -name '*.la' -delete || die