summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2022-12-20 22:51:57 +0100
committerAlfredo Tupone <tupone@gentoo.org>2022-12-20 22:52:59 +0100
commitdaa94c987b9ba41c11e704b480e9178762fd6c23 (patch)
tree07d5682cd1184bc3c68efedfdb98cb47495c07b2 /dev-ada
parentsci-mathematics/primecount: add 7.6 (diff)
downloadgentoo-daa94c987b9ba41c11e704b480e9178762fd6c23.tar.gz
gentoo-daa94c987b9ba41c11e704b480e9178762fd6c23.tar.bz2
gentoo-daa94c987b9ba41c11e704b480e9178762fd6c23.zip
dev-ada/aws: add 23.0.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/aws/Manifest2
-rw-r--r--dev-ada/aws/aws-23.0.0.ebuild68
-rw-r--r--dev-ada/aws/files/aws-23.0.0-gentoo.patch11
-rw-r--r--dev-ada/aws/metadata.xml4
4 files changed, 85 insertions, 0 deletions
diff --git a/dev-ada/aws/Manifest b/dev-ada/aws/Manifest
index bdceb0f7ecd2..5805b4ecc40a 100644
--- a/dev-ada/aws/Manifest
+++ b/dev-ada/aws/Manifest
@@ -1,3 +1,5 @@
DIST aws-2021-20210518-19F65-src.tar.gz 4351625 BLAKE2B 227e1af5423c7cbf8b15b2ad37b5fbea862daca10dd12e79edb6cb1392f502b8b665d0cedc151a4190723c6aa795801b65c5807592d0292511a9a80318f0a722 SHA512 1820750daf2ba2e95479a8280aa0eae0d38e1d86a32570b4caaa845498ad8f0e8ac8c91f6aef0d5ef06fa1b33bc2b2b264cacb7101ca69fc81f36ab8cb17c65f
DIST aws-22.0.0.tar.gz 2356886 BLAKE2B 3f0a36ce23ed50855dddeb8ecc1888d51c4c7368990124c3d55f240c8b07cc72b59b4c172cad05d282de0ff4cd348ff912315d8cfad1582b2bbb049ad5fcea12 SHA512 6baeff7fa8012cb155bd3964177368f4ccd0bb367abaa66d44c0ffbcd4145f3930fe2e0fe5cfbeb41adccb7395d46c49acffc502878e9b83ecb5e2de597b897b
+DIST aws-23.0.0.tar.gz 2390842 BLAKE2B 2433493b1ad8a98b4f95671e306aec5e072600633c1705ca5fb86c4b09ccfff4e5e84a231d69b183cc1e9f91813493de1d8fcf56c6921a78f0a0c63a6e44c492 SHA512 cd041c2cc2d62832557cd03916491ee204090d48ed7dcc155d679512afb7650e0b41b3edfe56996b77f0b1bc14c9bba53afbe0ef05de7555a775aaff63603b75
DIST templates-parser-22.0.0.tar.gz 224473 BLAKE2B c0c0d6feada3d0e54ee0456b48979e1f436c2bdf7210aeb061640c3128294b243ac21c29ef538b055871315b567640e37782b28057954bf4d43473d372c7d983 SHA512 9ce512e41bf3e682f1671d3ed931830d2279da9bef58f9997e430f4852cebb6119cabf0fde7dfaf999586155c13472ab258a0e0f3d885522aeb86d8acb4a2d4f
+DIST templates-parser-23.0.0.tar.gz 225459 BLAKE2B 0971030e3079ff93b876bcb51925208eeee63837878a24589700dc9e0c025272e2d7920f82ee9b769c04857e4701d3eed629a1ac1f0979714c47fc132a188bed SHA512 c0a94b42391c61b4251cbbe86f91c506f46f6eed5be3779385bf199cf43281b704c68fd078b8b917948675976538168c1ac4c1f3b757f6db9988a45af7bfc4a5
diff --git a/dev-ada/aws/aws-23.0.0.ebuild b/dev-ada/aws/aws-23.0.0.ebuild
new file mode 100644
index 000000000000..7c0d31e6ce21
--- /dev/null
+++ b/dev-ada/aws/aws-23.0.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_2021 gcc_12_2_0 )
+inherit ada multiprocessing
+
+DESCRIPTION="A complete Web development framework"
+HOMEPAGE="http://libre.adacore.com/tools/aws/"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ https://github.com/AdaCore/templates-parser/archive/refs/tags/v${PV}.tar.gz
+ -> templates-parser-${PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared ssl wsdl"
+
+RDEPEND="dev-ada/gnatcoll-core:=[${ADA_USEDEP},shared?,static-libs]
+ dev-ada/libgpr:=[${ADA_USEDEP},shared?,static-libs]
+ dev-ada/xmlada:=[${ADA_USEDEP},shared?,static-libs]
+ wsdl? (
+ dev-ada/libadalang:=[${ADA_USEDEP},static-libs]
+ dev-ada/langkit:=[${ADA_USEDEP},static-libs]
+ dev-ada/gnatcoll-bindings:=[${ADA_USEDEP},gmp,iconv,static-libs]
+ dev-libs/gmp
+ )
+ ssl? ( dev-libs/openssl )"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[${ADA_USEDEP}]"
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2020-gentoo.patch
+ "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_prepare() {
+ default
+ rmdir templates_parser || die
+ mv ../templates-parser-${PV} templates_parser || die
+}
+
+src_configure() {
+ emake -j1 setup prefix=/usr ZLIB=true XMLADA=true \
+ GPRBUILD="/usr/bin/gprbuild -v" \
+ ENABLE_SHARED=$(usex shared true false) \
+ SOCKET=$(usex ssl openssl std) \
+ LAL=$(usex wsdl true false) \
+ PROCESSORS=$(makeopts_jobs) \
+ SERVER_HTTP2=true \
+ CLIENT_HTTP2=true
+}
+
+src_compile() {
+ emake GPRBUILD="/usr/bin/gprbuild -v"
+}
+
+src_install() {
+ emake install \
+ DESTDIR="${D}" \
+ PROCESSORS=$(makeopts_jobs) ENABLE_SHARED=true \
+ GPRINSTALL="/usr/bin/gprinstall -v"
+ einstalldocs
+}
diff --git a/dev-ada/aws/files/aws-23.0.0-gentoo.patch b/dev-ada/aws/files/aws-23.0.0-gentoo.patch
new file mode 100644
index 000000000000..92f5de2c6816
--- /dev/null
+++ b/dev-ada/aws/files/aws-23.0.0-gentoo.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2022-12-19 22:20:07.216304664 +0100
++++ b/Makefile 2022-12-19 22:20:54.876555007 +0100
+@@ -185,7 +185,7 @@
+ $(GPRBUILD) -p $(GPROPTS) $(GPR_STATIC) tools/tools.gpr
+
+ build-lib-native:
+- $(GPRBUILD) -p $(GPROPTS) aws.gpr
++ $(GPRBUILD) -p $(GPROPTS) $(GPR_STATIC) aws.gpr
+ ifeq (${ENABLE_SHARED}, true)
+ $(GPRBUILD) -p $(GPROPTS) $(GPR_SHARED) aws.gpr
+ endif
diff --git a/dev-ada/aws/metadata.xml b/dev-ada/aws/metadata.xml
index 71a436123ed2..15119ddccfc4 100644
--- a/dev-ada/aws/metadata.xml
+++ b/dev-ada/aws/metadata.xml
@@ -4,6 +4,10 @@
<maintainer type="project">
<email>ada@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="shared">Build shared library</flag>
+ <flag name="wsdl">Used to convert ada to wsdl</flag>
+ </use>
<longdescription lang="en">
AWS is a complete framework to develop Web based applications. The main part
of the framework is the embedded Web server. This small yet powerful Web