summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-03-19 08:30:47 +0100
committerAlfredo Tupone <tupone@gentoo.org>2024-03-19 08:31:24 +0100
commitf5f4f2f5dcdc8a224c258fa60b28600eea6fd649 (patch)
tree20b2ccb5be74e59f31118f3d9706a31ef663b465 /dev-ada/gnatdoc
parentdev-build/meson: fix USE=-verify-sig (diff)
downloadgentoo-f5f4f2f5dcdc8a224c258fa60b28600eea6fd649.tar.gz
gentoo-f5f4f2f5dcdc8a224c258fa60b28600eea6fd649.tar.bz2
gentoo-f5f4f2f5dcdc8a224c258fa60b28600eea6fd649.zip
dev-ada/gnatdoc: add 24.0.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gnatdoc')
-rw-r--r--dev-ada/gnatdoc/Manifest1
-rw-r--r--dev-ada/gnatdoc/gnatdoc-24.0.0.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ada/gnatdoc/Manifest b/dev-ada/gnatdoc/Manifest
index a0a131df9f2d..8cad4d329af4 100644
--- a/dev-ada/gnatdoc/Manifest
+++ b/dev-ada/gnatdoc/Manifest
@@ -1 +1,2 @@
DIST gnatdoc-23.0.0.tar.gz 39607 BLAKE2B 589b3f0a9af9d5067e2017083f834697f7e1995c76be3a84e24409261ec058cd8b1e2487bd78d03d36b6ccab68ec0b294534726f3171b4080ed1d569d0c23be7 SHA512 0e9095ced08086a3be03e20b49ddb436d4efb396001e9d6877b0612adc3d8e2a08f1d5146d07c9acf5dc59a73418f7a3ec3231aba63c9644e6829c387703e6ae
+DIST gnatdoc-24.0.0.tar.gz 113089 BLAKE2B e26310504863b8b88391c715a1ecbc9657bd03c6bd4f9b6b67b20f2a5d00f8a9ed3dd537409538999eeeb893e407da552bd02ed05b8b6c3f655f57ac55e616b9 SHA512 95b33fc556ba25611faca6b64a5599b98471bf687d13f10727300c62305cd45585d59ea77a7c64d33619e324508951624a0855535464a6b9b5c6dd27d2a56f83
diff --git a/dev-ada/gnatdoc/gnatdoc-24.0.0.ebuild b/dev-ada/gnatdoc/gnatdoc-24.0.0.ebuild
new file mode 100644
index 000000000000..278172872906
--- /dev/null
+++ b/dev-ada/gnatdoc/gnatdoc-24.0.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-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="GNAT Documentation Generation Tool"
+HOMEPAGE="https://github.com/AdaCore/gnatdoc"
+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"
+RESTRICT="test"
+
+RDEPEND="${ADA_DEPS}
+ dev-ada/gnatcoll-bindings[${ADA_USEDEP},gmp,iconv,shared,static-libs,static-pic]
+ dev-ada/gnatcoll-core[${ADA_USEDEP},shared,static-libs,static-pic]
+ dev-ada/gpr[${ADA_USEDEP},shared,static-libs]
+ dev-ada/gpr-unit-provider[${ADA_USEDEP},shared,static-libs]
+ dev-ada/langkit[${ADA_USEDEP},shared,static-libs,static-pic]
+ dev-ada/libadalang[${ADA_USEDEP},static-libs,static-pic]
+ dev-ada/libgpr[${ADA_USEDEP},shared,static-libs,static-pic]
+ dev-ada/markdown[${ADA_USEDEP}]
+ dev-ada/VSS[${ADA_USEDEP},static-libs]
+ dev-ada/xmlada[${ADA_USEDEP},shared,static-libs,static-pic]"
+DEPEND="${RDEPEND}"
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+src_compile() {
+ gprbuild -v -j$(makeopts_jobs) -p -P gnat/libgnatdoc.gpr \
+ -XLIBRARY_TYPE=relocatable || die
+ gprbuild -v -j$(makeopts_jobs) -p -P gnat/gnatdoc.gpr \
+ -XLIBRARY_TYPE=static || die
+}
+
+src_install() {
+ gprinstall -v -p -P gnat/libgnatdoc.gpr \
+ -XLIBRARY_TYPE=relocatable --prefix="${D}"/usr || die
+ gprinstall -v -p -P gnat/gnatdoc.gpr \
+ -XLIBRARY_TYPE=relocatable --prefix="${D}"/usr || die
+}