commit:     7c839f707f54567fc7ee7ef93335b0eafb4ef3f4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 26 06:57:06 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 26 06:57:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c839f70

dev-util/libabigail: add 2.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/libabigail/Manifest              |  1 +
 dev-util/libabigail/libabigail-2.0.ebuild | 77 +++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/dev-util/libabigail/Manifest b/dev-util/libabigail/Manifest
index 9126c5338b5..afc26fad898 100644
--- a/dev-util/libabigail/Manifest
+++ b/dev-util/libabigail/Manifest
@@ -1,2 +1,3 @@
 DIST libabigail-1.6.tar.gz 176133766 BLAKE2B 
4a8fd6861f2213f45bbc5814a8a4e0941c236660ea6f84f09eedf6c08eff963c956f27967581501cd73b51057c3d36a74d53b6bf63d0be4d2c931d465d0564eb
 SHA512 
2ba775bd836b53265dae60e66065fc2106e7f633e890cc70b6abacb8426e04ec0b7b38593c21336f5785cf5e4eb8d110fb15ce63124cddc59f660f31c7b25b3c
 DIST libabigail-1.8.2.tar.gz 258919334 BLAKE2B 
6e06c888dcc3f5e0fc5d4046e69f14ba06b3a78206f89e32e4687b07aae1e1d798582285cff5ac9f43d6ba326fe11ec11552eefb5ed05813c25785e337092ba2
 SHA512 
fa8edaf39632e26430481f15e962a098459eac087074e85ca055293ba324ec5944c45880fcb36f1c54a64652605a439cbf9247dfea9bfd3ec502cc7292dd1c8d
+DIST libabigail-2.0.tar.gz 286383045 BLAKE2B 
2ba6f59bcd7a1484c4a60c6c9f212ad76af239a552d2cc9e47748e0db52363afadd7a99ef3e123c263de34b416f71b9d679bf2a5c542c419bb38ee75f3d5c57b
 SHA512 
288f63f3495f0cd38258c50b78f30a573e43ab60494fefa22c8cba6d6776c5f94742ffea26297a232b78d25f6804f1b3f51febd59ec487733e6ef683cef2c180

diff --git a/dev-util/libabigail/libabigail-2.0.ebuild 
b/dev-util/libabigail/libabigail-2.0.ebuild
new file mode 100644
index 00000000000..3f54ee8f7ec
--- /dev/null
+++ b/dev-util/libabigail/libabigail-2.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+
+inherit autotools python-any-r1 out-of-source
+
+DESCRIPTION="Suite of tools for checking ABI differences between ELF objects"
+HOMEPAGE="https://sourceware.org/libabigail/";
+SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.gz";
+
+LICENSE="LGPL-3+"
+SLOT="0"
+KEYWORDS="amd64 ~ppc64"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-libs/elfutils
+       dev-libs/libxml2:2"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       doc? (
+               app-doc/doxygen
+               dev-python/sphinx
+               sys-apps/texinfo
+       )
+       test? ( ${PYTHON_DEPS} )"
+
+src_prepare() {
+       default
+       # need to run our autotools, due to ltmain.sh including Redhat calls:
+       # cannot read spec file '/usr/lib/rpm/redhat/redhat-hardened-ld': No 
such file or directory
+       eautoreconf
+}
+
+my_src_configure() {
+       econf \
+               --disable-deb \
+               --disable-fedabipkgdiff \
+               --disable-rpm \
+               --disable-static \
+               --disable-zip-archive \
+               --enable-bash-completion \
+               --enable-cxx11 \
+               --enable-python3 \
+               $(use_enable doc apidoc) \
+               $(use_enable doc manual)
+}
+
+my_src_compile() {
+       default
+       use doc && emake doc
+}
+
+my_src_install() {
+       emake DESTDIR="${D}" install
+
+       if use doc; then
+               doman doc/manuals/man/*
+               doinfo doc/manuals/texinfo/abigail.info
+
+               dodoc -r doc/manuals/html
+
+               docinto html/api
+               dodoc -r doc/api/html/.
+       fi
+}
+
+my_src_install_all() {
+       einstalldocs
+
+       # no static archives
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to