From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0047E138334 for ; Fri, 31 May 2019 08:51:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E161E087F; Fri, 31 May 2019 08:51:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D03FFE087F for ; Fri, 31 May 2019 08:51:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C86A23453BA for ; Fri, 31 May 2019 08:51:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B78655B for ; Fri, 31 May 2019 08:51:15 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1559292660.c403e10c5fe8ee82c5cf46bd8e90fa445a53801f.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ada/gtkada/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ada/gtkada/gtkada-2018-r1.ebuild dev-ada/gtkada/metadata.xml X-VCS-Directories: dev-ada/gtkada/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: c403e10c5fe8ee82c5cf46bd8e90fa445a53801f X-VCS-Branch: master Date: Fri, 31 May 2019 08:51:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 224f55a4-e1cb-4fc5-a991-6152fb8b9d57 X-Archives-Hash: 567b53798813c5a6d5b922b22ce2cd66 commit: c403e10c5fe8ee82c5cf46bd8e90fa445a53801f Author: Tupone Alfredo gentoo org> AuthorDate: Fri May 31 08:51:00 2019 +0000 Commit: Alfredo Tupone gentoo 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 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 @@ Compile with dev-lang/gnat-gpl-2016 Compile with dev-lang/gnat-gpl-2017 Compile with dev-lang/gnat-gpl-2018 + Compile with dev-lang/gnat-gpl-2019 Build gtkada as shared library