diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2021-12-26 18:53:50 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2021-12-26 18:53:50 +0100 |
commit | 0f32f5a6082345647731b65639840f3be1a3722b (patch) | |
tree | 1cb5be1de74a1b9cd2666cecad08f433a4fe8c8d /dev-ada/gtkada | |
parent | www-misc/xxv: treeclean (diff) | |
download | gentoo-0f32f5a6082345647731b65639840f3be1a3722b.tar.gz gentoo-0f32f5a6082345647731b65639840f3be1a3722b.tar.bz2 gentoo-0f32f5a6082345647731b65639840f3be1a3722b.zip |
dev-ada/gtkada: add static-pic generation
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gtkada')
-rw-r--r-- | dev-ada/gtkada/gtkada-22.0.0.ebuild | 5 | ||||
-rw-r--r-- | dev-ada/gtkada/metadata.xml | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/dev-ada/gtkada/gtkada-22.0.0.ebuild b/dev-ada/gtkada/gtkada-22.0.0.ebuild index 439153321466..8a1efe2e0af3 100644 --- a/dev-ada/gtkada/gtkada-22.0.0.ebuild +++ b/dev-ada/gtkada/gtkada-22.0.0.ebuild @@ -12,9 +12,9 @@ SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" -SLOT="0" +SLOT="0/${PV}" KEYWORDS="~amd64 ~x86" -IUSE="+shared static-libs" +IUSE="+shared static-libs static-pic" RDEPEND="${ADA_DEPS} dev-libs/atk @@ -45,6 +45,7 @@ src_configure() { econf \ $(use_enable static-libs static) \ $(use_enable shared) \ + $(use_enable static-pic) \ --without-GL } diff --git a/dev-ada/gtkada/metadata.xml b/dev-ada/gtkada/metadata.xml index ed2a0cec8e00..bd7b67c76052 100644 --- a/dev-ada/gtkada/metadata.xml +++ b/dev-ada/gtkada/metadata.xml @@ -6,8 +6,11 @@ </maintainer> <use> <flag name="shared">Build gtkada as shared library</flag> + <flag name="static-pic">Build static library with pic code</flag> </use> <longdescription lang="en"> - GtkAda is an Ada graphical toolkit based on Gtk+, providing the complete set of Gtk+ widgets using the Object-Oriented features of this language. GtkAda supports the latest 3.14 stable releases. + GtkAda is an Ada graphical toolkit based on Gtk+, providing the + complete set of Gtk+ widgets using the Object-Oriented features of + this language. GtkAda supports the latest 3.14 stable releases. </longdescription> </pkgmetadata> |