commit:     d3fcd05fcaa332f09b68c6f5bc2cbd6bcc4982f7
Author:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
AuthorDate: Sun Oct  5 21:10:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  5 23:24:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3fcd05f

sys-boot/limine: add 10.1.0

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

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

diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index c479ec43eb55..558cb3913f15 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -1 +1,2 @@
 DIST limine-10.0.1.tar.gz 569294 BLAKE2B 
34a559072c103e1d56c4b9d718198ba8591b51b9ef943266810c44067549e51cc3e5c002cd90aa8d075f04ecfc79d529b9b5f675a84796a04a4555088bddd9f5
 SHA512 
38de027c9f5dd242f77f30dfee22f0a8ebc7d8a5f8532329df0b892efb92b1c7e171b0385645ef1964c545139910d2ba2e217a2fb23258c54e000583abe1c5a1
+DIST limine-10.1.0.tar.gz 569587 BLAKE2B 
d8efab8a8fb84fa47378becf90e1b3bac9f7870b83195e612b7dec95b94b894daa0164ea5ef5313ab96cc1bd22ed19f71d4c15ad3062472ab09a51dd0bf2f4f8
 SHA512 
0f9038075dd16b7d7f0070004795ea1727a2995497d959775f76d4d5d0e56c55b63a4dcc0599175b852a4ae150a499c9919956351f78e1616af3fa955c7d05c4

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