commit: 08591497e86b4fed3e9baaf4fd6238f13ec5e1ae Author: Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com> AuthorDate: Mon Dec 1 01:40:47 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Dec 1 05:51:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08591497
sys-boot/limine: add 10.4.0 Signed-off-by: Kacper Słomiński <kacper.slominski72 <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44838 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-boot/limine/Manifest | 1 + sys-boot/limine/limine-10.4.0.ebuild | 48 ++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest index 4b0b09ff6a5d..a5aaad98238b 100644 --- a/sys-boot/limine/Manifest +++ b/sys-boot/limine/Manifest @@ -1 +1,2 @@ DIST limine-10.3.2.tar.gz 574182 BLAKE2B 11980b21b44eb1f64be165ba2bd8fe0e22e79800e76d7fdfaf40714a5ce2e20d99b3d80795fcfb26e663ef3b4a8a8a4a26011a51ddac76d3d975feb5da7c7735 SHA512 fb58516b1026032604d9b67b1717df243df696fc49ec9c122e8c7e8c434da42e965f264b4db3de170997fc15b178dc21869349ea81065c0bc1307ae08a4b0138 +DIST limine-10.4.0.tar.gz 575071 BLAKE2B 8df2361683ef221cb4b8d2bbb73c6c44176f4dd885335a0bb90c390874de13b8a2f1d879a48890457bcf62c506ca1a5abe7a7c4349f1ac84260ce32e5c426a17 SHA512 f53cd38c84d651050a45c9244dfef48268cd56edc11b469fa539d4b25a0336be451dc742ee3c47a7b9c345b0d590dd03ca931fc4a82555886941d2350db202fc diff --git a/sys-boot/limine/limine-10.4.0.ebuild b/sys-boot/limine/limine-10.4.0.ebuild new file mode 100644 index 000000000000..fe63e8fac3c8 --- /dev/null +++ b/sys-boot/limine/limine-10.4.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[@]}" +}
