diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2019-05-31 14:35:16 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2019-05-31 14:35:16 +0200 |
commit | 3014ea80e719e71e332c82daec86852236a2d0e3 (patch) | |
tree | ffeafc7feac6dd6926d70099de8b597d72f92c88 /dev-ada/asis | |
parent | media-radio/xastir: Version bump (diff) | |
download | gentoo-3014ea80e719e71e332c82daec86852236a2d0e3.tar.gz gentoo-3014ea80e719e71e332c82daec86852236a2d0e3.tar.bz2 gentoo-3014ea80e719e71e332c82daec86852236a2d0e3.zip |
dev-ada/asis: enable build with gnat-gpl-2019
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ada/asis')
-rw-r--r-- | dev-ada/asis/asis-2018-r1.ebuild | 55 | ||||
-rw-r--r-- | dev-ada/asis/metadata.xml | 1 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-ada/asis/asis-2018-r1.ebuild b/dev-ada/asis/asis-2018-r1.ebuild new file mode 100644 index 000000000000..0bb54ce915bc --- /dev/null +++ b/dev-ada/asis/asis-2018-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit multiprocessing +MYP=${PN}-gpl-${PV}-src + +DESCRIPTION="To develop tools for Ada software" +HOMEPAGE="http://libre.adacore.com/" +SRC_URI="http://mirrors.cdn.adacore.com/art/5b0819e0c7a447df26c27ab8 + -> ${MYP}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gnat_2017 +gnat_2018 gnat_2019" + +RDEPEND=" + gnat_2017? ( dev-ada/gnat_util[gnat_2017] ) + gnat_2018? ( dev-ada/gnat_util[gnat_2018] ) + gnat_2019? ( dev-ada/gnat_util[gnat_2019] ) + || ( + dev-ada/gnatcoll-core[gnat_2017=,gnat_2018=,gnat_2019=,shared] + dev-ada/gnatcoll[gnat_2017=,gnat_2018=,gnat_2019=,projects,shared] + )" +DEPEND="${RDEPEND} + dev-ada/gprbuild[gnat_2017=,gnat_2018=,gnat_2019=]" + +REQUIRED_USE="|| ( gnat_2017 gnat_2018 gnat_2019 )" + +S="${WORKDIR}"/${MYP} + +PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch ) + +src_compile() { + emake PROCESSORS=$(makeopts_jobs) \ + GPRBUILD_FLAGS="-vl" + emake tools PROCESSORS=$(makeopts_jobs) \ + GPRBUILD_FLAGS="-vl \ + -XGPR_BUILD=relocatable \ + -XLIBRARY_TYPE=relocatable \ + -XXMLADA_BUILD=relocatable" +} + +src_install() { + emake prefix="${D}"/usr install + emake prefix="${D}"/usr install-tools \ + GPRINSTALL="gprinstall \ + -XGPR_BUILD=relocatable \ + -XLIBRARY_TYPE=relocatable \ + -XXMLADA_BUILD=relocatable" + rm -r "${D}"/usr/share/gpr/manifests || die + mv "${D}"/usr/bin/gnatpp{,-asis} || die +} diff --git a/dev-ada/asis/metadata.xml b/dev-ada/asis/metadata.xml index 416ad818fe85..eade29a824bd 100644 --- a/dev-ada/asis/metadata.xml +++ b/dev-ada/asis/metadata.xml @@ -9,6 +9,7 @@ <flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag> <flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag> <flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag> + <flag name="gnat_2019">Compile with dev-lang/gnat-gpl-2019</flag> </use> <longdescription lang="en"> ASIS is a library that gives applications access to the complete |