From 7e85b0f4a1116a69e2bd344c3f86f94e9571725d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20S=C5=82omi=C5=84ski?= Date: Fri, 10 Jan 2025 21:52:16 +0100 Subject: [PATCH] sys-boot/limine: add 8.7.0 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-8.7.0.ebuild | 49 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 sys-boot/limine/limine-8.7.0.ebuild diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest index 35ba0b622f..51f249f352 100644 --- a/sys-boot/limine/Manifest +++ b/sys-boot/limine/Manifest @@ -18,3 +18,4 @@ DIST limine-8.3.2.tar.gz 562262 BLAKE2B f519c2ecc2167b8fa28f4eff47e6c4e45103a42a DIST limine-8.4.0.tar.gz 602897 BLAKE2B 924631c9cd6f6c6400bf2f355c3cb044c19c8574bf37758be9b8f773043071ae8a79d58acf3d4d46a8bf1bc53ce445e02b18d25889e3868539f34c2df91d7fc7 SHA512 e8679acf49e71458becf47183280b7ecc367d9523d927bec1dce0840e7f9c95d038de57c09d7e1315d17582fdf50ad939d658a7d2bfa3cc228f1efd63110b077 DIST limine-8.5.0.tar.gz 597435 BLAKE2B e39a41c6182bbb992bf14399990b733ca851e14a26dc167ea233dfa1822928958479ec014a9c654e29644c375bdb83c02a4c500931073b1ba951bceb64938a13 SHA512 1cf27e464deb01e69b31007a67558606fb69570e80d7f9261aa78d4fef5e558ad78edf3ec526a8ab064ac18bc9746111a862bcad5355cf30911102a8faa85100 DIST limine-8.6.0.tar.gz 598538 BLAKE2B a24a416f4d26f2716839e8e1b3852fab0bcbbf8e195f415450cff688d2c853486cfa1d484bb8f440cc494725342b4da02ef5354404469faead173869c99fc0c8 SHA512 a10c066697d26d212f1d77dc0bd666a8c545630002e15564a8628891a759c28d088e61183eb09e58ca079e0aa1a993a63653d02e43d0243649fa5f2f5869ef48 +DIST limine-8.7.0.tar.gz 603144 BLAKE2B fdfbae9ccb238c3dd84f6a7fb8cf80b03f6f9e47fd9556452c30c2658fa6209886df07c8065cd5140036887e4aaf63d9b1ded8853c9ba70c80df8079fa04291d SHA512 f494d644199fda13974d0938626a0753e42dec606c5357d71cd26a8d6c72f6d34ba245c68ef3c9206c304e179da3c28d9061c79d059cd87a18fb1f45c76a09d3 diff --git a/sys-boot/limine/limine-8.7.0.ebuild b/sys-boot/limine/limine-8.7.0.ebuild new file mode 100644 index 0000000000..bf81f5137a --- /dev/null +++ b/sys-boot/limine/limine-8.7.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {16..19} ) +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" +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[@]}" +}