From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang-tools/
Date: Mon, 18 Mar 2024 10:15:09 +0000 (UTC) [thread overview]
Message-ID: <1710756888.844e974274da23d6ef386c42765b4da1fabaa3fa.tupone@gentoo> (raw)
commit: 844e974274da23d6ef386c42765b4da1fabaa3fa
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 18 10:14:48 2024 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 18 10:14:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844e9742
dev-ada/libadalang-tools: add 24.0.0
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
dev-ada/libadalang-tools/Manifest | 1 +
.../libadalang-tools-24.0.0.ebuild | 71 ++++++++++++++++++++++
2 files changed, 72 insertions(+)
diff --git a/dev-ada/libadalang-tools/Manifest b/dev-ada/libadalang-tools/Manifest
index fca2d1536828..e9b0bd43b601 100644
--- a/dev-ada/libadalang-tools/Manifest
+++ b/dev-ada/libadalang-tools/Manifest
@@ -1 +1,2 @@
DIST libadalang-tools-23.0.0.tar.gz 1101324 BLAKE2B 6bfa794a243126bc5b70b7ab89fd08c9591d009b2a6dc749298804699cec8a067c9babd38d31048eea31a625c6fd5a2a9f6e49cfd97fa371d46a975c5407a65f SHA512 922a0b72ac9fa2a7ce3fa70aa360e67c987ee4ddfb77199a8e63092df640f3d7dc8ebc01d88cce8b97ef91ed6af1fd3555fb7c223cdae91bbdda5e336b3d067e
+DIST libadalang-tools-24.0.0.tar.gz 1083580 BLAKE2B e3d7cb94500afaebb00ba3f727b903cfd6ea57b02efccbf0dc61ef0d625dd06364b67a94c236c4cc8e4eee955e1767b0eb73122895a8f3edfb05c5fea57e18d8 SHA512 982fefa454108a604a67a0ec0d33fc420ccbbc4c03f01eb1cfbfe57cb51ca3bf13eef465775dab0843b5573663150e6d185b3a3887cc1cbcc5a353214842f223
diff --git a/dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild b/dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild
new file mode 100644
index 000000000000..dc2603b0c70a
--- /dev/null
+++ b/dev-ada/libadalang-tools/libadalang-tools-24.0.0.ebuild
@@ -0,0 +1,71 @@
+# 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
+
+DESCRIPTION="Libadalang-based tools: gnatpp, gnatmetric and gnatstub"
+HOMEPAGE="https://www.adacore.com/community"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared static-libs static-pic"
+
+RESTRICT="test"
+
+REQUIRED_USE="|| ( shared static-libs static-pic )
+ ${ADA_REQUIRED_USE}"
+
+RDEPEND="${ADA_DEPS}
+ dev-ada/templates-parser[${ADA_USEDEP}]
+ dev-ada/VSS[${ADA_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-ada/libadalang:=[${ADA_USEDEP},static-libs?,static-pic?]"
+BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
+
+src_compile() {
+ build () {
+ gprbuild -v -k -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \
+ -P src/lal_tools.gpr -p -j$(makeopts_jobs) \
+ -cargs:Ada ${ADAFLAGS} || die
+ gprbuild -v -k -XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \
+ -XBUILD_MODE=prod -XLALTOOLS_SET=all \
+ -P src/build.gpr -p -j$(makeopts_jobs) \
+ -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() {
+ build () {
+ gprinstall -XLIBRARY_TYPE=$1 -XBUILD_MODE=prod \
+ --prefix="${D}"/usr --sources-subdir=include/lal_tools \
+ --build-name=$1 --build-var=LIBRARY_TYPE \
+ --build-var=LAL_TOOLS_BUILD \
+ -P src/lal_tools.gpr -p -f || 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
+ dobin bin/gnat{metric,pp,stub,test}
+ einstalldocs
+}
next reply other threads:[~2024-03-18 10:15 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-18 10:15 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-03 20:35 [gentoo-commits] repo/gentoo:master commit in: dev-ada/libadalang-tools/ Alfredo Tupone
2025-02-03 17:41 Alfredo Tupone
2024-03-20 18:41 Alfredo Tupone
2024-03-19 20:30 Alfredo Tupone
2023-12-16 20:15 Alfredo Tupone
2023-03-21 21:02 Alfredo Tupone
2023-03-21 7:25 Alfredo Tupone
2023-02-05 20:44 Alfredo Tupone
2022-12-14 7:57 Alfredo Tupone
2022-12-05 13:23 Alfredo Tupone
2022-10-03 19:40 Alfredo Tupone
2022-02-03 20:13 Alfredo Tupone
2021-12-28 21:55 Alfredo Tupone
2021-12-28 18:18 Alfredo Tupone
2021-12-27 21:20 Alfredo Tupone
2021-12-19 10:41 Alfredo Tupone
2021-12-17 7:58 Alfredo Tupone
2020-06-09 11:01 Alfredo Tupone
2020-01-31 19:22 Alfredo Tupone
2019-11-03 21:07 Alfredo Tupone
2019-10-21 6:42 Alfredo Tupone
2019-09-19 12:49 Alfredo Tupone
2019-08-29 6:44 Alfredo Tupone
2019-08-27 10:24 Alfredo Tupone
2019-06-25 6:09 Alfredo Tupone
2019-06-21 6:49 Alfredo Tupone
2018-08-17 12:14 Alfredo Tupone
2018-07-08 9:12 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1710756888.844e974274da23d6ef386c42765b4da1fabaa3fa.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox