summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-05-27 22:21:44 +0200
committerAlfredo Tupone <tupone@gentoo.org>2021-05-27 22:21:44 +0200
commit05464ddecea88154ba391204f6ddcd4e6fa26dcc (patch)
treebf40adb30fb5baf8478665bf384e5a4c9f5b8e5e /dev-ada/gtkada/gtkada-2020.ebuild
parentmedia-libs/portmidi: removed obsolete 217 (diff)
downloadgentoo-05464ddecea88154ba391204f6ddcd4e6fa26dcc.tar.gz
gentoo-05464ddecea88154ba391204f6ddcd4e6fa26dcc.tar.bz2
gentoo-05464ddecea88154ba391204f6ddcd4e6fa26dcc.zip
dev-ada/gtkada: version bump to 2020
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gtkada/gtkada-2020.ebuild')
-rw-r--r--dev-ada/gtkada/gtkada-2020.ebuild62
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-ada/gtkada/gtkada-2020.ebuild b/dev-ada/gtkada/gtkada-2020.ebuild
new file mode 100644
index 000000000000..b8aa324b5e98
--- /dev/null
+++ b/dev-ada/gtkada/gtkada-2020.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+ADA_COMPAT=( gnat_201{6..9} gnat_2020 )
+inherit ada autotools multiprocessing
+
+MYP=${P}-20200429-19B96-src
+
+DESCRIPTION="A complete Ada graphical toolkit"
+HOMEPAGE="http://libre.adacore.com//tools/gtkada/"
+SRC_URI="https://community.download.adacore.com/v1/96f85c875c161c36e7d0edb19aa4dbddf41ea671?filename=${MYP}.tar.gz
+ -> ${MYP}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+shared static-libs"
+
+RDEPEND="${ADA_DEPS}
+ 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[${ADA_USEDEP}]"
+
+REQUIRED_USE="${ADA_REQUIRED_USE}"
+
+S="${WORKDIR}"/${MYP}
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2017-r1-gentoo.patch
+ "${FILESDIR}"/${PN}-2019-gentoo.patch
+)
+
+src_prepare() {
+ default
+ mv configure.{in,ac} || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable shared) \
+ --without-GL
+}
+
+src_compile() {
+ emake -j1 PROCESSORS=$(makeopts_jobs)
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}"
+ einstalldocs
+}