commit:     9c78b6efc8f2527824ba1b81ca8954c30e5d8e31
Author:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
AuthorDate: Mon Nov 10 23:09:18 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 12 09:40:32 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c78b6ef

sys-boot/limine: add 10.3.0

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

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

diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index 63ee23002caa..c11dbccb9af5 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -1 +1,2 @@
 DIST limine-10.2.1.tar.gz 571418 BLAKE2B 
1dd651a9ea7fe2c06fe20244404e9969d146b415df120d3fa4bd13d9379d1ce8cfdced6ba02120e360d49d8c3de94473b65bdf83c832b35cd6cd0d34f4ec3473
 SHA512 
4ef0464142356e2aa507feabda0d98bb35679f8a177640cbce4d0cf25a50f183df618c2272468d3affcfb515bdf6f677a53871312e510b9d5ff984e8672230c9
+DIST limine-10.3.0.tar.gz 574160 BLAKE2B 
ece48f134299495969dd0f7aca12653e5c72cfcca13839c6a4d6bdd8416c27e9c34a72161d5ce447e99be69cb3d55b929be9fb42da9604616d0b0205474d8568
 SHA512 
ea6164b29f62f5c3ccaf689cd3dbe1f8fefc829aaeca1965007606a7a4784de7cfbcd5fbf7d703e6eb1646b05072d5f6750d9578dda6b2e1146c3eff4d9e640a

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