# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 [[ "${PV}" = *_pre20231218 ]] && COMMIT=2135cbf1458bd1b8b8f42bda81222ab57bd66de6 ADA_COMPAT=( gnat_2021 gcc_13 ) LLVM_MAX_SLOT=17 # Check "configure" script for supported LLVM versions. inherit ada edo llvm toolchain-funcs DESCRIPTION="Open-source analyzer, compiler, and simulator for VHDL 2008/93/87" HOMEPAGE="https://ghdl.github.io/ghdl/ https://github.com/ghdl/ghdl/" if [[ "${PV}" == *9999* ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/ghdl/${PN}.git" else SRC_URI="https://github.com/ghdl/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${PN}-${COMMIT}" KEYWORDS="amd64 ~x86" fi LICENSE="GPL-2+" SLOT="0" IUSE="llvm" REQUIRED_USE="${ADA_REQUIRED_USE}" RDEPEND=" ${ADA_DEPS} llvm? (