commit: 4f1807da7cb79c43875db9aad2e5a6b558b341be Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Nov 30 05:13:05 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Nov 30 05:13:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f1807da
sys-devel/crossdev: add 20241130.1 Sam James (2): crossdev: don't turn off openmp/fortran for nvptx crossdev: build openmp, fortran by default for nvptx Bug: https://bugs.gentoo.org/945296 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-devel/crossdev/Manifest | 1 + sys-devel/crossdev/crossdev-20241130.1.ebuild | 40 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest index a0d2a37ac278..6e5e6e427340 100644 --- a/sys-devel/crossdev/Manifest +++ b/sys-devel/crossdev/Manifest @@ -1,2 +1,3 @@ DIST crossdev-20240921.tar.xz 31008 BLAKE2B 9daeabcbeefa32624d71b86c5ddeb1f6bf6ccdf4e6f590bf7517388d4d68b73ae2651ca09d122f128f002568127bd5d7d767db9d6c043e5330b62c3104929848 SHA512 6b7f0bce309d2b0a8fdf9b28cf72098de9dafaf7f338a8308e94e2068cefc15cd2407eee39a9eeb0ea0a1bc46569cedc69a51bb01f140faebe374b660cb1cdf6 +DIST crossdev-20241130.1.tar.xz 32868 BLAKE2B fba8a5b1139bd05338d62c4d0b1a238c7d3395306267850c7c247ebc229e79dcfbeb084be6ba03cf0d688ab02cde034dd7fcf47258c8d3771b0cd74704df5e67 SHA512 f72dfbd06237caff1c9c238101248f031794352e686f76fd8c03dcdaa537d6a88f77730b5c4b196c5e2254a64bcb4f1f945e48a38063b5468756e16d65dfa39d DIST crossdev-20241130.tar.xz 32832 BLAKE2B eaf14cf139abf73816f9facd090846c92d3056e34eb4d7f9bca2c2f4b22e9d3f342e93dac70b462b252b64eb86270f666d151170a6474961342a26f152919f69 SHA512 59054ba5015c18c9b80e2258391f667ad4585644009ab74b631557e8c6550270e188967515a13ab0dd8e27272c6e5f0650a77e8c100dadbc2686cd8796a62c00 diff --git a/sys-devel/crossdev/crossdev-20241130.1.ebuild b/sys-devel/crossdev/crossdev-20241130.1.ebuild new file mode 100644 index 000000000000..398d083f2a5c --- /dev/null +++ b/sys-devel/crossdev/crossdev-20241130.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +if [[ ${PV} == "99999999" ]] ; then + inherit git-r3 + EGIT_REPO_URI=" + https://anongit.gentoo.org/git/proj/crossdev.git + https://github.com/gentoo/crossdev + " +else + SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +fi + +DESCRIPTION="Gentoo Cross-toolchain generator" +HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Crossdev" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=sys-apps/portage-2.1 + app-shells/bash + sys-apps/gentoo-functions + sys-apps/config-site +" +BDEPEND="app-arch/xz-utils" + +src_install() { + default + + if [[ ${PV} == "99999999" ]] ; then + sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev || die + fi + + dodir /usr/share/config.site.d + mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die +}