1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs flag-o-matic
8 DESCRIPTION="Converts DVI files to SVG"
9 HOMEPAGE="http://dvisvgm.bplaced.net/"
10 SRC_URI="https://github.com/mgieseki/dvisvgm/releases/download/${PV}/${P}.tar.gz"
14 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
16 # Tests don't work from $WORKDIR: kpathsea tries to search in relative
17 # directories from where the binary is executed.
18 # We cannot really use absolute paths in the kpathsea configuration since that
19 # would make it harder for prefix installs.
22 # TODO unbundle app-arch/brotli
23 RDEPEND="virtual/tex-base
24 app-text/ghostscript-gpl
26 >=media-gfx/potrace-1.10-r1
35 test? ( dev-cpp/gtest )"