commit: c27d97260d05d51bd7e7f39f5b1a9ef15ba7762b
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 8 02:23:55 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 8 02:23:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c27d9726
sys-devel/crossdev: add 20251008
Eli Schwartz (1):
ci: cancel running jobs when a new workflow run is triggered via push
Michal Rostecki (3):
crossdev: Bootstrap the full LLVM toolchain
scripts: Always pull the container image
ci: Test building sysroots with LLVM
Sam James (1):
crossdev: link to more appropriate wiki page
Bug: https://bugs.gentoo.org/915048
Bug: https://bugs.gentoo.org/941140
Bug: https://bugs.gentoo.org/942214
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-devel/crossdev/Manifest | 1 +
sys-devel/crossdev/crossdev-20251008.ebuild | 46 +++++++++++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index 502baef8f07d..ca21b5563c2e 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -4,3 +4,4 @@ DIST crossdev-20241215.tar.xz 33028 BLAKE2B
3b33284f55fe41a45bfeea1dbc273a828eec
DIST crossdev-20250106.tar.xz 33124 BLAKE2B
45992cd29a6dd48f97d871ba5f4b09b18797c76389a5839c7b02e23b765556561f9b442d594a6bed58ff670e69d4efc27f37cdb1f6bb1722fd1d18e0bc50cc5f
SHA512
8d9cdb194f3477dcbe605c4f8126be013e9193acb716e2b12e8f51f826087bbac3f50b44268c150d4e9f86b78182a0b4b323634b0040f0a815dc4a075c662c75
DIST crossdev-20250410.tar.xz 33292 BLAKE2B
b4c41757ff705866fb3c7420e10d1325977937c50801600002639984dd39b90ebf4fadbde5a09bae02eba2ca17261db32f5275b1599858b2b7c961e3eb85d82f
SHA512
aa6c1657d23c96b6109e49ac517dd9550d731f0af508359be55fa8c641675bd4205223eb492e7c94fd69dd86999124d7d0f4766cf1bc17a3dd953f457bf85c9b
DIST crossdev-20250622.tar.xz 33316 BLAKE2B
6e91e757174ce6b5c5f6ec5276725e0432f061ea7c21b0c215998d453deed285c422c1f25c313c80de2d2fe86a00751fbb516f40b63f1bcc25602d3eb0353351
SHA512
bdba3da3724d56b43e0d307b4f9fc00f9680ec541a9397d91f92d237980f7e4b300618e8e8484ee8410ecfd3b0c8854d54057ddb646e2182e407e21c503b9fa9
+DIST crossdev-20251008.tar.xz 33852 BLAKE2B
4b689da747d73eb592cd6a1b0913084e28ab9882762a24c3fe90b845247ad13fad2c5e61a9d05312607716dfa464b7f1647eb731def555010bdc9bcdaaffe2a4
SHA512
414f45ede604dd6a770bec9032619f153d585d03a4f967e34b46253fcfaa7cace495f3ddbb00921b5efa4f2e3a6b68db9e15117559e557048203b273a0d29a3e
diff --git a/sys-devel/crossdev/crossdev-20251008.ebuild
b/sys-devel/crossdev/crossdev-20251008.ebuild
new file mode 100644
index 000000000000..5494e3601b77
--- /dev/null
+++ b/sys-devel/crossdev/crossdev-20251008.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit toolchain-funcs
+
+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() {
+ tc-export PKG_CONFIG # Bug 955822
+
+ default
+
+ if [[ ${PV} == "99999999" ]] ; then
+ sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev
|| die
+ else
+ sed -i "s:@CDEVPV@:${PV}:" "${ED}"/usr/bin/crossdev || die
+ fi
+
+ dodir /usr/share/config.site.d
+ mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
+}