summaryrefslogtreecommitdiff
path: root/dev-ada
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-29 17:41:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-29 17:41:08 +0000
commit0c1bebc4027c639909ad0a840068b649b6be4b95 (patch)
tree454e0d892bb070962971634b5fbdfe617cba1dd1 /dev-ada
parent080a6ad2c3759083c02506e1348b689f2194d4eb (diff)
gentoo auto-resync : 29:02:2024 - 17:41:08
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/Manifest.gzbin4552 -> 4553 bytes
-rw-r--r--dev-ada/libgpr/Manifest2
-rw-r--r--dev-ada/libgpr/libgpr-24.0.0.ebuild68
3 files changed, 70 insertions, 0 deletions
diff --git a/dev-ada/Manifest.gz b/dev-ada/Manifest.gz
index bfd6040bd113..b6f7d0a41f69 100644
--- a/dev-ada/Manifest.gz
+++ b/dev-ada/Manifest.gz
Binary files differ
diff --git a/dev-ada/libgpr/Manifest b/dev-ada/libgpr/Manifest
index e9e92a32e35b..f2d6920d9707 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-23.0.0.tar.gz 952887 BLAKE2B a0de49e838dd41ca927d728dc2e7f23298bb3e7f865146ed6807e1da0f20fe9ce345d972ef93340f1a1fec91082ce14b575ad4e6642d759cb9d696602f291508 SHA512 d3b1af5295c0216eaa93e52b63ca51ceeaea324a3a3f40644e294f9048170f9294335e7e8ee2d77d99d4d9bb359267921632a01d43485d841b6e771143fb47a5
+DIST gprbuild-24.0.0.tar.gz 959615 BLAKE2B c432b1f13a1aecb8f664aeb06694d86123268f29b43a50f5c7a48d7428c0b1c16f397e5a84c097aba04c7ee34011df119b154fd546ce156c999a54d159a84afb SHA512 09da4d54f2f151e9f9453e1a459533e2373eb5d4c51831be2bf90964ebcf653752de2f8b271c77f7b599f62146516fc60258ec3c96779fa2b52cd52979c6bd03
EBUILD libgpr-23.0.0-r1.ebuild 1509 BLAKE2B 68e62e09449576ee157dc4c75e149293fb8378def21def926e644e57e1836238ef52edb150de0ab2af6e3234cc3afa8c37a33085dadae6340167184844cc6a11 SHA512 da90eda26bed41b359335dc11ca835bf7478773c4f4c570889fb271feddd1e75809b688778f441fe76dc1b1565741f076eadb161154bc90e785e03e75a6b9a57
EBUILD libgpr-23.0.0.ebuild 1500 BLAKE2B 52f8693134d906e8c20d3145cf0d6f6648d0e4449d7305eef83b45f4aaf8ef275f4908027bcdd1b7b00d1d833cb29d4c5038ab12f473de692285499b9782458c SHA512 b85480195adeb43e8f8548f9ed0a466c9d7aaef8b12d40b34e262a91aa8b5ffeff9a8c5f81ef92bd41bd2ea4c67c4c5b04b2b73d39684a8c0297e1604e8bcd06
+EBUILD libgpr-24.0.0.ebuild 1509 BLAKE2B b7fd818c820058531bcdef4f344215593639f0a2276d51b79532489126b9ded1e107f2f090f9c14422d6532fc6f566b15fc2221e55f5dbc14bbdca7fc1dfb9a2 SHA512 e39f06a15949a7f86314d0c60d9a27c50f2429e3c8fcd9772f024d76a3e90554e5ec4411e90deac2958fa52400c4c8afd3743962f6d97afdc3535f204586aa0f
MISC metadata.xml 1021 BLAKE2B 448e77605bee95104afac31b48193217ee6c38af0b4e63cdee2c5d8e420a7f9b9a13c1302cfe49a109ab5c878808582a6f4a3ca3315e41b256f529d202bc1b4b SHA512 71427b65c100cba3e66d889124f27f1e378ad72559e7165ec93a4ffc68b7efe12db81ee5ec83aa92939b922d3efcfb3a5641c46db772a25bae21ce51acec5f47
diff --git a/dev-ada/libgpr/libgpr-24.0.0.ebuild b/dev-ada/libgpr/libgpr-24.0.0.ebuild
new file mode 100644
index 000000000000..e2528b314a2b
--- /dev/null
+++ b/dev-ada/libgpr/libgpr-24.0.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 )
+inherit ada multiprocessing
+
+MYPN=gprbuild
+MYP=${MYPN}-${PV}
+
+DESCRIPTION="Ada library to handle GPRbuild project files"
+HOMEPAGE="http://libre.adacore.com/"
+SRC_URI="https://github.com/AdaCore/${MYPN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${MYP}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared static-libs static-pic"
+
+RDEPEND="dev-ada/xmlada:=[shared?,static-libs?,static-pic?,${ADA_USEDEP}]"
+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_prepare() {
+ default
+ sed -i -e '/Library_Name/s|gpr|gnatgpr|' gpr/gpr.gpr || die
+}
+
+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
+}