commit:     ba1b4ae215045e272b543c3828aee244f1a383a0
Author:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
AuthorDate: Thu Oct 30 21:15:40 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 04:41:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba1b4ae2

sys-boot/limine: add 10.2.1

Signed-off-by: Kacper Słomiński <kacper.slominski72 <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44394
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-boot/limine/Manifest             |  1 +
 sys-boot/limine/limine-10.2.1.ebuild | 48 ++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index 1ffa4c34be93..12810d62d1ed 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -1 +1,2 @@
 DIST limine-10.1.1.tar.gz 569748 BLAKE2B 
56e2fbb7940dc4f4afef691a0d5cc9c298f0366411ce1d37163783da967545a0d967c1aa4217972f38c35a1bee2f970a966bf4afea13b2848889af4e4f80cb54
 SHA512 
3d79c3f65188d891f2567073a838c582ffb8b5759c083e9c95d994e5d6ab487c4602575d262984c62f22c00b9c65c49381738acf4b0721d367435c7ba2f4b90e
+DIST limine-10.2.1.tar.gz 571418 BLAKE2B 
1dd651a9ea7fe2c06fe20244404e9969d146b415df120d3fa4bd13d9379d1ce8cfdced6ba02120e360d49d8c3de94473b65bdf83c832b35cd6cd0d34f4ec3473
 SHA512 
4ef0464142356e2aa507feabda0d98bb35679f8a177640cbce4d0cf25a50f183df618c2272468d3affcfb515bdf6f677a53871312e510b9d5ff984e8672230c9

diff --git a/sys-boot/limine/limine-10.2.1.ebuild 
b/sys-boot/limine/limine-10.2.1.ebuild
new file mode 100644
index 000000000000..fe63e8fac3c8
--- /dev/null
+++ b/sys-boot/limine/limine-10.2.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( {19..20} )
+inherit llvm-r1
+
+DESCRIPTION="Limine is a modern, advanced, and portable BIOS/UEFI 
multiprotocol bootloader"
+HOMEPAGE="https://limine-bootloader.org/";
+SRC_URI="https://codeberg.org/Limine/Limine/releases/download/v${PV}/limine-${PV}.tar.gz";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+bios +bios-pxe +bios-cd +uefi-cd +uefi-ia32 +uefi-x86-64 +uefi-aarch64 
+uefi-riscv64 +uefi-loongarch64"
+
+MY_LLVM_TARGETS="AArch64 ARM X86 RISCV LoongArch"
+MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
+
+BDEPEND="
+       app-alternatives/gzip
+       dev-lang/nasm
+       sys-apps/findutils
+       $(llvm_gen_dep "
+               llvm-core/llvm:\${LLVM_SLOT}[${MY_LLVM_FLAGS}]
+               llvm-core/clang:\${LLVM_SLOT}[${MY_LLVM_FLAGS}]
+               llvm-core/lld:\${LLVM_SLOT}
+       ")
+       uefi-cd? ( sys-fs/mtools )
+"
+
+src_configure() {
+       local myconf=(
+               "$(use_enable bios)"
+               "$(use_enable bios-cd)"
+               "$(use_enable bios-pxe)"
+
+               "$(use_enable uefi-ia32)"
+               "$(use_enable uefi-x86-64)"
+               "$(use_enable uefi-aarch64)"
+               "$(use_enable uefi-riscv64)"
+               "$(use_enable uefi-loongarch64)"
+               "$(use_enable uefi-cd)"
+       )
+
+       econf "${myconf[@]}"
+}

Reply via email to