# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-PYTHON_COMPAT=( python3_6 )
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
CMAKE_MAKEFILE_GENERATOR="emake"
LICENSE="GPL-2"
SLOT="0"
-IUSE="clang debug doc dot doxysearch latex qt5 sqlite userland_GNU"
+IUSE="clang debug doc dot doxysearch qt5 sqlite userland_GNU"
RDEPEND="app-text/ghostscript-gpl
dev-lang/perl
media-gfx/graphviz
media-libs/freetype
)
- doxysearch? ( dev-libs/xapian:= )
- latex? (
+ doc? (
dev-texlive/texlive-bibtexextra
dev-texlive/texlive-fontsextra
dev-texlive/texlive-fontutils
dev-texlive/texlive-latex
dev-texlive/texlive-latexextra
)
+ doxysearch? ( dev-libs/xapian:= )
qt5? (
dev-qt/qtgui:5
dev-qt/qtwidgets:5
sqlite? ( dev-db/sqlite:3 )
"
-REQUIRED_USE="doc? ( latex )"
-
DEPEND="sys-devel/flex
sys-devel/bison
doc? ( ${PYTHON_DEPS} )
# src_test() defaults to make -C testing but there is no such directory (bug #504448)
RESTRICT="test"
-PATCHES=( "${FILESDIR}/${PN}-1.8.12-link_with_pthread.patch" )
+PATCHES=(
+ "${FILESDIR}/${PN}-1.8.12-link_with_pthread.patch"
+ "${FILESDIR}/${PN}-1.8.17-ensure_static_support_libraries.patch"
+)
DOCS=( LANGUAGE.HOWTO README.md )
pkg_setup() {