commit: fb21256352ccd5ddbd823f4c358f6ad3d028a02b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jul 27 06:59:41 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jul 27 07:13:24 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb212563
dev-libs/gf-complete: add 2.0.0_p20170410 Note that comparing 2.0.0-r1 with 2.0.0_p20170410, I see: ``` +++ ./README 2025-07-27 07:49:43.442141137 +0100 @@ -1,4 +1,4 @@ -This is GF-Complete, Revision 1.02. January 1, 2014. +This is GF-Complete, Revision 1.03. January 1, 2015. ``` so it's possible the versioning of both ebuilds is wrong, but it doesn't really matter given there's some patent-hell dispute here and upstream have discontinued gf-complete accordingly [0][1]. [0] https://news.ycombinator.com/item?id=13100157 [1] https://web.eecs.utk.edu/~jplank/plank/www/software.html Closes: https://bugs.gentoo.org/925219 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/gf-complete/Manifest | 1 + .../gf-complete/gf-complete-2.0.0_p20170410.ebuild | 34 ++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/dev-libs/gf-complete/Manifest b/dev-libs/gf-complete/Manifest index ebe521979029..79efbd6de67a 100644 --- a/dev-libs/gf-complete/Manifest +++ b/dev-libs/gf-complete/Manifest @@ -1 +1,2 @@ DIST gf-complete-2.0.0.tar.gz 122566 BLAKE2B 20cfc2dcf437109f5ed703434c5c383bc910d57127583a4eca6ccea860d0f42c82c93558ba992b9b35d6025d745a8bb39c32ed35809ffc063fa83b11a975e0d9 SHA512 3b0693bf374086417f04cee09dceeb694aafaf7fb3c829b89f303b65634ae509406c8a0de10f57c666b4c78b11043f355bb3c81f95eac061cb16de9db2b71b89 +DIST gf-complete-2.0.0_p20170410.tar.gz 342630 BLAKE2B 62d285ffb660c1b2cb88b3d0fbeed87e22287d29a61b9d2d0bad06174d48abdbb78558c1e91bdd2ac90054a083e7038797edf49451051813390aaa25b3a27e2c SHA512 5d0a13e9d8f0d9a7904e43df0ab233f5b1e3c072a87b43e212c20745c75215aef56895e0f27da5504176037827c118dac29dae41c576aa27c1eafcd300cb8093 diff --git a/dev-libs/gf-complete/gf-complete-2.0.0_p20170410.ebuild b/dev-libs/gf-complete/gf-complete-2.0.0_p20170410.ebuild new file mode 100644 index 000000000000..80869d82a606 --- /dev/null +++ b/dev-libs/gf-complete/gf-complete-2.0.0_p20170410.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +GF_COMPLETE_COMMIT="a6862d10c9db467148f20eef2c6445ac9afd94d8" +DESCRIPTION="Comprehensive Open Source Library for Galois Field Arithmetic" +HOMEPAGE="http://jerasure.org https://web.eecs.utk.edu/~jplank/plank/www/software.html" +SRC_URI="https://github.com/ceph/gf-complete/archive/${GF_COMPLETE_COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${GF_COMPLETE_COMMIT} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + +src_prepare() { + default + + # Avoid adding '-march=native'-like flags + sed -i -e 's/ -O3 $(SIMD_FLAGS)//g' \ + src/Makefile.am \ + tools/Makefile.am \ + test/Makefile.am \ + examples/Makefile.am || die + + eautoreconf +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +}
