diff options
Diffstat (limited to 'dev-ada/libgpr')
-rw-r--r-- | dev-ada/libgpr/Manifest | 6 | ||||
-rw-r--r-- | dev-ada/libgpr/libgpr-2020-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-ada/libgpr/libgpr-2020.ebuild | 2 | ||||
-rw-r--r-- | dev-ada/libgpr/libgpr-2021.ebuild | 64 |
4 files changed, 70 insertions, 4 deletions
diff --git a/dev-ada/libgpr/Manifest b/dev-ada/libgpr/Manifest index caedcd99b59a..fe5e02d7b5cb 100644 --- a/dev-ada/libgpr/Manifest +++ b/dev-ada/libgpr/Manifest @@ -1,5 +1,7 @@ AUX libgpr-2020-gentoo.patch 321 BLAKE2B fe3affe50712460474125d074936fd9db526c4392e6ecb8bbcb07091e9971042368ee134112d9550ffc9fd2a0ab23371e7bb760b3d8e53cd4ca0e54e0522f604 SHA512 2bcae85d30a41333664f17f097f31cf21b270c43092e823dda256098c928d4ccdab62f9d349b57f941b50bb676649aedf5f978a05f3afaf1ee234e4515c305b5 DIST gprbuild-2020-20200429-19BD2-src.tar.gz 2489399 BLAKE2B 3a036cb40bbe5522af63c376a672384093901b44df6fd74013f1eff9d269c2f5056224ab5e7d59b6f3cf126cd14dd30420056b09e887851351462de59f700e3a SHA512 d2ff6a5d8281d332a31533c7a5744b6169fd250c9086373fd658486c1e529564d9830b9ef3b2dfcbec5f8c1ba50d244a9eb45bf8fdccd53f8b711dcf29258dfd -EBUILD libgpr-2020-r1.ebuild 1484 BLAKE2B c56c62b9b1bf80318f39dceece21f7c404b10520b4ada53523b29f2d6debcc1b74cace1b6b631604ea30427d0e2df0938c8b53ceaf5e4671ebb2d066ca8bbcfc SHA512 5cf1f289af218b134fc65814ec52deab0620576f429e44939095fac3cca0e6fd9d636753266e3c7e96a28c921f4ae6dccf7875630bffb3721604c342767d7bb3 -EBUILD libgpr-2020.ebuild 1475 BLAKE2B 345e78dcabe1557b5b0a6b1307549dfcd6075e0796f422e671c69bac139c331f4d6a491331bb1c2497e6a5dd117c250499c5f3f32980193e920e9ae49a0dbaff SHA512 143b8264b3f0bfe837471c44cc50c6c63fe649b1963a7ecf6d82cb246f4bf461b6104167e6f59532b83e64cf0c464bd94b47dbfbd510cbf7893893ba4a22a804 +DIST gprbuild-2021-20210519-19A34-src.tar.gz 2572773 BLAKE2B 42244b96b48a10795812865a430a92a75f3e6a58f384a72e6941945707e712d239f2350e00bd94e6161fb19c6469197547f4ddb565e860ae1d08573b7c667997 SHA512 f2fd10cdf8bd2ae553184104a8d29ddf884329946c55e1a199d49358151e9f1ea25f6566d6e00d15e07d26ea4e84377f4ee137a9af4eecb862fc825dd987ada8 +EBUILD libgpr-2020-r1.ebuild 1484 BLAKE2B 0ac331f5ce34fe6106fa0bba65fb086373e61d34ab8a4cd9480103ad8cfc14286dbbf545cc3a6b800905ec79e5841d95fa19646ba10b0edd29d01dd56d379d60 SHA512 339fad2a5679494a1f574799ee2aa0d87df4982fdf8f53f9e1c2d23c4c3272e1fab9f77b6aa2ac7d964162fd6d3826f6c2cd50f95d97c349812d0b49bd1b794a +EBUILD libgpr-2020.ebuild 1472 BLAKE2B ce843e14df9e0c0d41c592547a2b21628d1eba1a10e6ee9b6ddbbd43196407a91ff2992898e691fd928528d81ef8334d03480dbbd674ae9dc8641581fef4e9f7 SHA512 55a1c88f5880b4607b8a3b6e1bcb9bd11291ca3ff45f4c51a83c9929ea339087cfb5305f2dc9b7bbe4e2bb8bb247b4fb58af1321827341f344bd0b700d614da8 +EBUILD libgpr-2021.ebuild 1511 BLAKE2B 803c1151393f4c78a06c87c9e607b4316c4e12a77540cc081e50b0425e3291f7da64ea796af76c9285d8c61aee5023ad1e1ccd1711bace057c4481ddd66ccb88 SHA512 e3f8bab6f891e4b274b6ed6435ff744d7d7d2b9e03db96a19464426ca91daf094e03977e101d16970e706c8f0780d3a2e92d445137e865bc429119ab4978ed7c MISC metadata.xml 939 BLAKE2B a14a037f7b5a45004833b83bd6ef13accff7e1d107873c823f0c42dd663eb638a59fdbedd8ce06aa5c00cb53e2c89bbc9f23f1f0a4dd1a388b0f5f9d5f522617 SHA512 3a09da26b5f736ece53917fbee3939ebff2045297d81043cf282fa0e0b1344be9e551df0a92b35db38b6feeb516e5319a8c65507b2f574971c9f5df66bda8079 diff --git a/dev-ada/libgpr/libgpr-2020-r1.ebuild b/dev-ada/libgpr/libgpr-2020-r1.ebuild index 9a3b8981ee3f..9c7e8a6ad421 100644 --- a/dev-ada/libgpr/libgpr-2020-r1.ebuild +++ b/dev-ada/libgpr/libgpr-2020-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -ADA_COMPAT=( gnat_201{6..9} gnat_2020 ) +ADA_COMPAT=( gnat_201{7..9} gnat_2020 ) inherit ada toolchain-funcs multiprocessing MYP=gprbuild-${PV}-20200429-19BD2-src diff --git a/dev-ada/libgpr/libgpr-2020.ebuild b/dev-ada/libgpr/libgpr-2020.ebuild index ab41d067b564..fead7b2fb0a9 100644 --- a/dev-ada/libgpr/libgpr-2020.ebuild +++ b/dev-ada/libgpr/libgpr-2020.ebuild @@ -3,7 +3,7 @@ EAPI=7 -ADA_COMPAT=( gnat_201{6,7,8,9} ) +ADA_COMPAT=( gnat_201{7..9} ) inherit ada toolchain-funcs multiprocessing MYP=gprbuild-${PV}-20200429-19BD2-src diff --git a/dev-ada/libgpr/libgpr-2021.ebuild b/dev-ada/libgpr/libgpr-2021.ebuild new file mode 100644 index 000000000000..398d0c79d959 --- /dev/null +++ b/dev-ada/libgpr/libgpr-2021.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ADA_COMPAT=( gnat_202{0..1} ) +inherit ada toolchain-funcs multiprocessing + +MYP=gprbuild-${PV}-${PV}0519-19A34-src +ID=23a77a37247ff811609e23a0a271f445c299fc8f +ADAMIRROR=https://community.download.adacore.com/v1 + +DESCRIPTION="Ada library to handle GPRbuild project files" +HOMEPAGE="http://libre.adacore.com/" +SRC_URI="${ADAMIRROR}/${ID}?filename=${MYP}.tar.gz -> ${MYP}.tar.gz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+shared static-libs static-pic" + +RDEPEND="dev-ada/xmlada[shared?,static-libs?,static-pic?,${ADA_USEDEP}] + !net-libs/grpc" +DEPEND="${RDEPEND} + dev-ada/gprbuild[${ADA_USEDEP}]" +REQUIRED_USE="${ADA_REQUIRED_USE} + || ( shared static-libs static-pic )" + +S="${WORKDIR}"/${MYP} + +PATCHES=( "${FILESDIR}"/${PN}-2020-gentoo.patch ) + +src_configure() { + emake setup +} + +src_compile() { + build () { + gprbuild -p -m -j$(makeopts_jobs) -XBUILD=production -v \ + -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \ + gpr/gpr.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die + } + if use shared; then + build relocatable + fi + if use static-libs; then + build static + fi + if use static-pic; then + build static-pic + fi +} + +src_install() { + if use static-libs; then + emake prefix="${D}"/usr libgpr.install.static + fi + for kind in shared static-pic; do + if use ${kind}; then + emake prefix="${D}"/usr libgpr.install.${kind} + fi + done + rm -r "${D}"/usr/share/gpr/manifests || die + einstalldocs +} |