From 8174b0263a34b60b4ca6db259484e1679d3e589e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20S=C5=82omi=C5=84ski?= Date: Mon, 23 Jun 2025 13:49:12 +0200 Subject: [PATCH] sys-boot/limine: add 9.3.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kacper Słomiński --- sys-boot/limine/Manifest | 1 + sys-boot/limine/limine-9.3.4.ebuild | 49 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 sys-boot/limine/limine-9.3.4.ebuild diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest index 0339162061..c2c9ec4c39 100644 --- a/sys-boot/limine/Manifest +++ b/sys-boot/limine/Manifest @@ -1,2 +1,3 @@ DIST limine-9.3.0.tar.gz 598597 BLAKE2B 09db8fde9b1d3a78cbf9a7f5c29c295c658bc521db5f0dcf00497d191b942549eb7d8b4eb747904420f1fa8dad70ef09343d0139ed6f0ee1aba0d1b7c626a904 SHA512 23729d0d45f9ee5b8b7a60699c0bf574cc130516244d45174514a87e592cd91ae7378fe8de09da0ce289d7c992b1f12d081285d8af0678b8a97c2bdcc0f69328 DIST limine-9.3.2.tar.gz 569632 BLAKE2B 1017eb95c1827d36e8208cb7e745ef0784cbd19fcc1e0d2b841e72bfd88a766d19a7f4d23c7c202663759d381c9f2dbfcfddc5a66d8cfeadb4bd5416d7e7955a SHA512 ddcf82497b38f0b4f67f36ae6401d73838689624a432bd38f2b21c98e229348538309a771ff7c746bb797852cc29f766ee318030be7068e8b27733e57123447b +DIST limine-9.3.4.tar.gz 567667 BLAKE2B 76a2efd447e14026a3688cb2133ccde48d51059606524959fa90943e1c44b202d0c0d75e0f889cb033f39986ce7dd68aba26300db167ea23e5980298bea6427a SHA512 801e8c6a547c031022a38d69a099b209906f00916ca3ed889f5161d6876a6038eecaadb6f8bba5e2f2b544245112045481d800520e995246ed7612dffcfa1e17 diff --git a/sys-boot/limine/limine-9.3.4.ebuild b/sys-boot/limine/limine-9.3.4.ebuild new file mode 100644 index 0000000000..8292bb8292 --- /dev/null +++ b/sys-boot/limine/limine-9.3.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {16..20} ) +inherit llvm-r1 + +DESCRIPTION="Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloader" +HOMEPAGE="https://limine-bootloader.org/" +SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64 +uefirv64 +uefiloong64" + +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} + ") + cd-efi? ( sys-fs/mtools ) +" + +src_configure() { + local myconf=( + "$(use_enable bios)" + "$(use_enable bios-cd)" + "$(use_enable bios-pxe)" + + "$(use_enable uefi32 uefi-ia32)" + "$(use_enable uefi64 uefi-x86-64)" + "$(use_enable uefiaa64 uefi-aarch64)" + "$(use_enable uefirv64 uefi-riscv64)" + "$(use_enable uefiloong64 uefi-loongarch64)" + "$(use_enable cd-efi uefi-cd)" + ) + + TOOLCHAIN_FOR_TARGET=llvm \ + econf "${myconf[@]}" +}