From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gtkada/
Date: Fri, 31 May 2019 08:51:15 +0000 (UTC) [thread overview]
Message-ID: <1559292660.c403e10c5fe8ee82c5cf46bd8e90fa445a53801f.tupone@gentoo> (raw)
commit: c403e10c5fe8ee82c5cf46bd8e90fa445a53801f
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri May 31 08:51:00 2019 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri May 31 08:51:00 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c403e10c
dev-ada/gtkada: enable build with gnat-gpl-2019
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
dev-ada/gtkada/gtkada-2018-r1.ebuild | 72 ++++++++++++++++++++++++++++++++++++
dev-ada/gtkada/metadata.xml | 1 +
2 files changed, 73 insertions(+)
diff --git a/dev-ada/gtkada/gtkada-2018-r1.ebuild b/dev-ada/gtkada/gtkada-2018-r1.ebuild
new file mode 100644
index 00000000000..e0088691788
--- /dev/null
+++ b/dev-ada/gtkada/gtkada-2018-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multiprocessing
+
+MYP=${PN}-gpl-${PV}
+
+DESCRIPTION="A complete Ada graphical toolkit"
+HOMEPAGE="http://libre.adacore.com//tools/gtkada/"
+SRC_URI="http://mirrors.cdn.adacore.com/art/5b0cf840c7a4475261f97ced
+ -> ${MYP}-src.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gnat_2016 gnat_2017 +gnat_2018 gnat_2019 +shared static-libs"
+
+RDEPEND="gnat_2016? ( dev-lang/gnat-gpl:4.9.4 )
+ gnat_2017? ( dev-lang/gnat-gpl:6.3.0 )
+ gnat_2018? ( dev-lang/gnat-gpl:7.3.1 )
+ gnat_2019? ( dev-lang/gnat-gpl:8.3.1 )
+ dev-libs/atk
+ dev-libs/glib:2
+ media-libs/fontconfig
+ media-libs/freetype
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:3
+ x11-libs/pango"
+DEPEND="${RDEPEND}
+dev-ada/gprbuild[gnat_2016=,gnat_2017=,gnat_2018(-)=,gnat_2019(-)=]"
+
+REQUIRED_USE="^^ ( gnat_2016 gnat_2017 gnat_2018 gnat_2019 )"
+
+S="${WORKDIR}"/${MYP}-src
+
+PATCHES=( "${FILESDIR}"/${PN}-2017-gentoo.patch )
+
+src_prepare() {
+ default
+ mv configure.{in,ac}
+ eautoreconf
+}
+
+src_configure() {
+ if use gnat_2018; then
+ GCC_PV=7.3.1
+ elif use gnat_2019; then
+ GCC_PV=8.3.1
+ elif use gnat_2017; then
+ GCC_PV=6.3.0
+ else
+ GCC_PV=4.9.4
+ fi
+ econf \
+ --prefix="${D}/usr" \
+ $(use_enable static-libs static) \
+ $(use_enable shared) \
+ --without-GL
+}
+
+src_compile() {
+ GNATPREP=${CHOST}-gnatprep-${GCC_PV}
+ emake -j1 GNATPREP=${GNATPREP} PROCESSORS=$(makeopts_jobs)
+}
+
+src_install() {
+ emake -j1 install
+ einstalldocs
+}
diff --git a/dev-ada/gtkada/metadata.xml b/dev-ada/gtkada/metadata.xml
index 0373a027e23..ed2942a8389 100644
--- a/dev-ada/gtkada/metadata.xml
+++ b/dev-ada/gtkada/metadata.xml
@@ -9,6 +9,7 @@
<flag name="gnat_2016">Compile with dev-lang/gnat-gpl-2016</flag>
<flag name="gnat_2017">Compile with dev-lang/gnat-gpl-2017</flag>
<flag name="gnat_2018">Compile with dev-lang/gnat-gpl-2018</flag>
+ <flag name="gnat_2019">Compile with dev-lang/gnat-gpl-2019</flag>
<flag name="shared">Build gtkada as shared library</flag>
</use>
<longdescription lang="en">
next reply other threads:[~2019-05-31 8:51 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-31 8:51 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-11 18:06 [gentoo-commits] repo/gentoo:master commit in: dev-ada/gtkada/ Alfredo Tupone
2025-05-11 18:02 Alfredo Tupone
2025-04-27 9:44 Sam James
2025-04-26 14:39 Sam James
2025-02-24 20:33 Alfredo Tupone
2025-02-07 20:56 Alfredo Tupone
2025-02-07 18:41 Alfredo Tupone
2025-02-07 18:36 Alfredo Tupone
2025-02-05 20:53 Alfredo Tupone
2024-12-14 14:06 Sam James
2024-11-23 18:02 Arthur Zamarin
2024-03-16 13:21 Alfredo Tupone
2023-12-17 18:10 Alfredo Tupone
2023-03-21 21:02 Alfredo Tupone
2023-03-21 7:25 Alfredo Tupone
2022-12-16 7:10 Alfredo Tupone
2022-12-05 13:23 Alfredo Tupone
2022-11-21 18:09 Alfredo Tupone
2022-10-04 7:04 Alfredo Tupone
2021-12-26 17:54 Alfredo Tupone
2021-12-20 9:31 Alfredo Tupone
2021-12-19 22:09 Agostino Sarubbo
2021-11-25 7:28 Alfredo Tupone
2021-11-18 7:09 Alfredo Tupone
2021-09-19 13:05 Alfredo Tupone
2021-07-20 6:33 Agostino Sarubbo
2021-06-04 21:19 Alfredo Tupone
2021-05-27 20:22 Alfredo Tupone
2021-05-26 19:08 Alfredo Tupone
2019-12-04 21:24 Alfredo Tupone
2019-08-29 6:41 Alfredo Tupone
2019-08-27 10:23 Alfredo Tupone
2019-06-21 6:17 Alfredo Tupone
2019-06-11 19:27 Alfredo Tupone
2019-06-05 6:32 Alfredo Tupone
2018-07-02 19:03 Alfredo Tupone
2018-04-21 19:51 Alfredo Tupone
2018-02-28 7:34 Alfredo Tupone
2017-04-25 19:41 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=1559292660.c403e10c5fe8ee82c5cf46bd8e90fa445a53801f.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