diff options
author | 2024-03-16 14:21:00 +0100 | |
---|---|---|
committer | 2024-03-16 14:21:36 +0100 | |
commit | d39429443ad556f3597ebea1a1d114f2458ea6a9 (patch) | |
tree | 5cbe42dd859c894a5dc21742755102facdc10367 /dev-ada | |
parent | dev-lang/moarvm: drop 2023.02, 2023.02-r1, 2023.10 (diff) | |
download | gentoo-d39429443ad556f3597ebea1a1d114f2458ea6a9.tar.gz gentoo-d39429443ad556f3597ebea1a1d114f2458ea6a9.tar.bz2 gentoo-d39429443ad556f3597ebea1a1d114f2458ea6a9.zip |
dev-ada/gtkada: add 24.0.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/gtkada/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/gtkada/gtkada-24.0.0.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-ada/gtkada/Manifest b/dev-ada/gtkada/Manifest index 2d1e06147ff3..1e1fcd1e0518 100644 --- a/dev-ada/gtkada/Manifest +++ b/dev-ada/gtkada/Manifest @@ -1 +1,2 @@ DIST gtkada-23.0.0.tar.gz 6045493 BLAKE2B 05efb40453aa6f3ebd3beaf3dd7915bc2cca8cfec211bc6ae2f0a7a15f16029b1142028422367dbd4f68e72e02b71c030eec39802b0f9202e411d611a1fe521b SHA512 ea5dffe4fe1b99cfbd952bace510aff9e0f79fe2fa075c299d12e68dfb43b6334df0d707631de30e6e2c3a80759d342b178e8ed29a82e90445e450cfd332767f +DIST gtkada-24.0.0.tar.gz 6046333 BLAKE2B 38db0d87c978bd608344a3e7eda5642bb9d2e73e0a201f65910c96baa4ede410071713190597ce5190ddc49b9ee7b44cc83e64e73cd34ceec00dc2613e24bc33 SHA512 b1c2cd9fe2d7fa6e39b007d64edebdc725132af892442454a0950e5533bf19a0d53e195d56282086f0d6cec1047d54109b933daf6a16f795aca613a01ee9ee61 diff --git a/dev-ada/gtkada/gtkada-24.0.0.ebuild b/dev-ada/gtkada/gtkada-24.0.0.ebuild new file mode 100644 index 000000000000..d99581906f41 --- /dev/null +++ b/dev-ada/gtkada/gtkada-24.0.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-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 autotools multiprocessing + +DESCRIPTION="A complete Ada graphical toolkit" +HOMEPAGE="http://libre.adacore.com//tools/gtkada/" +SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+shared static-libs static-pic" + +RDEPEND="${ADA_DEPS} + app-accessibility/at-spi2-core + 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[${ADA_USEDEP}]" + +REQUIRED_USE="${ADA_REQUIRED_USE}" + +PATCHES=( "${FILESDIR}"/${PN}-23.0.0-gentoo.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable shared) \ + $(use_enable static-pic) +} + +src_compile() { + emake -j1 PROCESSORS=$(makeopts_jobs) +} + +src_install() { + emake -j1 DESTDIR="${D}" install + einstalldocs +} |