diff options
Diffstat (limited to 'dev-build')
-rw-r--r-- | dev-build/Manifest.gz | bin | 6704 -> 6703 bytes | |||
-rw-r--r-- | dev-build/b2/Manifest | 2 | ||||
-rw-r--r-- | dev-build/b2/b2-5.2.1.ebuild | 72 |
3 files changed, 74 insertions, 0 deletions
diff --git a/dev-build/Manifest.gz b/dev-build/Manifest.gz Binary files differindex 9e3a00ac4a6e..13b2884101ce 100644 --- a/dev-build/Manifest.gz +++ b/dev-build/Manifest.gz diff --git a/dev-build/b2/Manifest b/dev-build/b2/Manifest index 2a50c1107dda..987b33e544ae 100644 --- a/dev-build/b2/Manifest +++ b/dev-build/b2/Manifest @@ -4,5 +4,7 @@ AUX b2-4.9.2-disable_python_rpath.patch 343 BLAKE2B 7b8449db1054dcee76ecbe1b1c82 AUX b2-4.9.2-no-implicit-march-flags.patch 8376 BLAKE2B 50e0b8effbb268467d90cc51df70dc4bd234789b352a279d9bb3e60161be80296f5f31f4a0d2a3d1ae2380f3079f7b950b24ef494574e25bbda48b516c6aacbb SHA512 0089a48cbe3e9e4f222e5cd1e9e12a5c4d16857b002a1c849f4cf6f8d7935c0a9b1e0f51ced51bf5346c2fdcbd214ce05e3c144c98fbf82a9842c45b59c19740 AUX site-config.jam 685 BLAKE2B b9f73808b6ca454c2220b9d296e7f131c01e6339f545b07160df5f81435926104b134e6baf5af12faf675af074d5de43952678904242f2d7853acd5268bafd2a SHA512 10fc14e622a38d64a9a8cfa78ec9302618de657c38578cf9a9815e88afd80ec7e550bd5a66d8c919bb9de93b77028bce6f382d7dd6bf118f9b2a3a607ced52b2 DIST b2-5.0.0.tar.gz 1015818 BLAKE2B 87b6f34733002479f91f658aee4f776930ae6441f33b2540b82049e18c4199280e73047afafa90dc156cc75db8b587c5bb9e2ce65d93c493775ac4107ce3201b SHA512 37403f0bd863753c5313393405dd8514a4f8d9f0839ccd397ee1856e02af6116bd238d345e5b766512441ca1c0b09883386588e270bd982eca45235eef1b01b7 +DIST b2-5.2.1.tar.gz 1189393 BLAKE2B 26ddc5fa038e899c8e08a27cd79d9b3e39f7a7b6244ea77be4dbe2dff3a7d7309936898362759197850c38789a97c27ca2bf2995ceb14e223fc7045d645328c9 SHA512 5ff2f5735cb34159acc0f8b39a45787bb46731a819658d9374971e8a87e65997249d542c44fe7c7ee197d24ef380c4f523f8c946ac43a97a6ea7a86c91538a36 EBUILD b2-5.0.0.ebuild 1968 BLAKE2B 036dd155a7aac3e1fc74db32065fddd268b2b0c2702f7501840bd5c2825e7d67e8abf11535f64327e53754772bba8ce3c320b78e3c476597ff94b79f11e8b26d SHA512 bb0c2f60fe1b88f9da735111b42546d49b1e8528d647c900426454896a6f6330f27667e0f94183954260bdfec679c7576279b00602cf4358f045cd0f11281110 +EBUILD b2-5.2.1.ebuild 1976 BLAKE2B 20bac67e698111c9eec3118e48d079da579f48d8e2cdb5b53792bb7b7afae14c70afeb49cdb016c52631fd72dfd1bb89c194051bfe5bec637af2b941830a6d68 SHA512 d39a37e4664a51a3db206a63f078e20aa2b72b82903a5c67f8114e00a1145b9d5ffb223a76c1b54016eb873b835da0ef5113373777235255d19de2a85e28967c MISC metadata.xml 320 BLAKE2B e32bcf6d7bfe5e8a0f36d34022d49ef8baf1d4c0324fa7e7b25e1fa41ac81c21e010a8e49d456b7ce6027c51af57b6b07f3bdc8b7e05daa18b288c63a58a171e SHA512 767da992cd650d91b393848e73d6f0626febcb02eba350a16d390e8416a2832c49b1ca2608be98a9f4abd9ae2078a7f1a543a387be139e5533f90d82171796bf diff --git a/dev-build/b2/b2-5.2.1.ebuild b/dev-build/b2/b2-5.2.1.ebuild new file mode 100644 index 000000000000..0b95e8de55af --- /dev/null +++ b/dev-build/b2/b2-5.2.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo flag-o-matic toolchain-funcs + +MY_PV="$(ver_rs 1- _)" + +DESCRIPTION="A system for large project software construction, simple to use and powerful" +HOMEPAGE="https://www.bfgroup.xyz/b2/" +SRC_URI="https://github.com/bfgroup/b2/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}/src" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="examples" +RESTRICT="test" + +RDEPEND="!dev-util/boost-build" + +PATCHES=( + "${FILESDIR}"/${PN}-4.9.2-disable_python_rpath.patch + "${FILESDIR}"/${PN}-4.9.2-darwin-gentoo-toolchain.patch + "${FILESDIR}"/${PN}-4.9.2-add-none-feature-options.patch + "${FILESDIR}"/${PN}-4.9.2-no-implicit-march-flags.patch +) + +src_configure() { + # need to enable LFS explicitly for 64-bit offsets on 32-bit hosts (#761100) + append-lfs-flags +} + +src_compile() { + cd engine || die + + # don't call windres since it leads to broken relocations + export B2_DONT_EMBED_MANIFEST=1 + + # upstream doesn't want separate flags for CPPFLAGS/LDFLAGS + # https://github.com/bfgroup/b2/pull/187#issuecomment-1335688424 + edo ${CONFIG_SHELL:-${BASH}} ./build.sh cxx \ + --cxx="$(tc-getCXX)" \ + --cxxflags="-pthread ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS}" \ + -d+2 \ + --without-python +} + +src_test() { + # Forget tests, b2 is a lost cause + : +} + +src_install() { + dobin engine/b2 + + insinto /usr/share/b2/src + doins -r "${FILESDIR}/site-config.jam" \ + build-system.jam ../example/user-config.jam \ + build contrib options tools util + + find "${ED}"/usr/share/b2/src -iname '*.py' -delete || die + + dodoc ../notes/{changes,release_procedure,build_dir_option,relative_source_paths}.txt + + if use examples; then + docinto examples + dodoc -r ../example/. + docompress -x /usr/share/doc/${PF}/examples + fi +} |