commit:     baf55251c07fe1dd87bd55bcce00758c9e068f3b
Author:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
AuthorDate: Wed Dec 17 00:07:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 22 11:47:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baf55251

sys-boot/limine: add 10.5.0

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

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

diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index cc947ced3833..2f3ac02da409 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -1 +1,2 @@
 DIST limine-10.4.0.tar.gz 575071 BLAKE2B 
8df2361683ef221cb4b8d2bbb73c6c44176f4dd885335a0bb90c390874de13b8a2f1d879a48890457bcf62c506ca1a5abe7a7c4349f1ac84260ce32e5c426a17
 SHA512 
f53cd38c84d651050a45c9244dfef48268cd56edc11b469fa539d4b25a0336be451dc742ee3c47a7b9c345b0d590dd03ca931fc4a82555886941d2350db202fc
+DIST limine-10.5.0.tar.gz 576035 BLAKE2B 
5dc6067646feeda664b2ac1689fa5ef1782e964810bdc79c79f039d5ac619e71367abcd8e88fb5f1bd8330010f233f8d892956d783914dda0ee73e682dc1acce
 SHA512 
b65e3cbf4fa9567d5da1da9a3f70be0b6407f788710ef1e5a1eeb7f2543d29d6b95fdde19aafaa3e087e0be5ae7de639afa515830d753ee33553fd4d304c8187

diff --git a/sys-boot/limine/limine-10.5.0.ebuild 
b/sys-boot/limine/limine-10.5.0.ebuild
new file mode 100644
index 000000000000..fe63e8fac3c8
--- /dev/null
+++ b/sys-boot/limine/limine-10.5.0.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