# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 LLVM_MAX_SLOT=17 PYTHON_COMPAT=( python3_{10..12} ) PYTHON_REQ_USE="xml(+)" inherit cmake flag-o-matic llvm python-any-r1 DESCRIPTION="Documentation system for most programming languages" HOMEPAGE="https://www.doxygen.nl/" if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/doxygen/doxygen.git" else SRC_URI="https://doxygen.nl/files/${P}.src.tar.gz" SRC_URI+=" mirror://sourceforge/doxygen/rel-${PV}/${P}.src.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" fi # GPL-2 also for bundled libmscgen LICENSE="GPL-2" SLOT="0" IUSE="clang debug doc dot doxysearch gui test" # - We need TeX for tests, bug #765472 # - We keep the odd construct of noop USE=test because of # the special relationship b/t RESTRICT & USE for tests. # Also, it's a hint which avoids tests being silently skipped during arch testing. REQUIRED_USE="test? ( doc )" RESTRICT="!test? ( test )" BDEPEND=" app-alternatives/yacc app-alternatives/lex ${PYTHON_DEPS} " RDEPEND=" app-text/ghostscript-gpl dev-db/sqlite:3 dev-lang/perl dev-libs/libfmt:= dev-libs/spdlog:= media-libs/libpng:= virtual/libiconv clang? (