diff options
author | Tupone Alfredo <tupone@gentoo.org> | 2019-06-11 21:26:50 +0200 |
---|---|---|
committer | Tupone Alfredo <tupone@gentoo.org> | 2019-06-11 21:26:50 +0200 |
commit | 59231428e67a3363bbfbf497cdb6ec47395ac820 (patch) | |
tree | 9ee918c370d036cdd007cea5a4bd97e2edd6b5cb /dev-ada | |
parent | profiles: Add masks for newly added packages in testing (diff) | |
download | gentoo-59231428e67a3363bbfbf497cdb6ec47395ac820.tar.gz gentoo-59231428e67a3363bbfbf497cdb6ec47395ac820.tar.bz2 gentoo-59231428e67a3363bbfbf497cdb6ec47395ac820.zip |
dev-ada/gtkada: bump to 2019
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/gtkada/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/gtkada/gtkada-2019.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-ada/gtkada/Manifest b/dev-ada/gtkada/Manifest index c7ff0856e143..2af49593e9a9 100644 --- a/dev-ada/gtkada/Manifest +++ b/dev-ada/gtkada/Manifest @@ -1,2 +1,3 @@ +DIST gtkada-2019-20190424-19D98-src.tgz 12273911 BLAKE2B e2d0f3c410973d0412bf433f2e1cc60a5b00e9f34ad0471cb583596587e6073fdeb9b6441aa50dfa81894ce692101fe51c7714090477d585721571261737a823 SHA512 aed0758b42ee8eac752c2c83a0974ee0c7cddfa15149879472ff2fb8ee7565456a225ce783739ede76bc0f47340e97af5b5d1149e244611bcd3b3760e20f8cf5 DIST gtkada-gpl-2017-src.tgz 11952333 BLAKE2B 2a333452ff271bba0521235598afdb1abebc4ceeab0f915f173862329ae0986b0fc4f654d3df28eac73af075db224c0b12340c3acd1e4ed0ffc965e4365f8b40 SHA512 f5bbb9ebdd966e70b3edcaaf359cb9e75edba3c3f4f8febfa7de9f634f8e96cd0dd1482fb16ad852b1c9f9b0e2c16eb3a437120d37f0638d90af666620f09f3f DIST gtkada-gpl-2018-src.tgz 11958880 BLAKE2B 4946918b52de5e15efc77411927812910d84d13cea66b86b1162b987c7849ba7fbb6da487881762f64005dc32a74fa73c9d759d25bb9ac0241d1d76cd4becbfb SHA512 9000de7675f8ee688b1c9cd93cf35b32f698aca8fc22d3b4e695d7c6b34feb60118cc687cf35432cd5ed9af7825eda7e20575a9fad4523a7b59cb0322bce0762 diff --git a/dev-ada/gtkada/gtkada-2019.ebuild b/dev-ada/gtkada/gtkada-2019.ebuild new file mode 100644 index 000000000000..4a02372e72e0 --- /dev/null +++ b/dev-ada/gtkada/gtkada-2019.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multiprocessing + +MYP=${P}-20190424-19D98 + +DESCRIPTION="A complete Ada graphical toolkit" +HOMEPAGE="http://libre.adacore.com//tools/gtkada/" +SRC_URI="http://mirrors.cdn.adacore.com/art/5ce7f58931e87adb2d312c53 + -> ${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 +} |