commit:     70ad7be70e3b79d35547274b91ae9953f50e300e
Author:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
AuthorDate: Sat Mar  1 17:28:23 2025 +0000
Commit:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
CommitDate: Sat Mar  1 17:28:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70ad7be7

sys-boot/limine: add 9.0.1

Signed-off-by: Kacper Słomiński <kacper.slominski72 <AT> gmail.com>

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

diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index 6d8c1e77d..ea8c2e227 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -20,3 +20,4 @@ DIST limine-8.5.0.tar.gz 597435 BLAKE2B 
e39a41c6182bbb992bf14399990b733ca851e14a
 DIST limine-8.6.0.tar.gz 598538 BLAKE2B 
a24a416f4d26f2716839e8e1b3852fab0bcbbf8e195f415450cff688d2c853486cfa1d484bb8f440cc494725342b4da02ef5354404469faead173869c99fc0c8
 SHA512 
a10c066697d26d212f1d77dc0bd666a8c545630002e15564a8628891a759c28d088e61183eb09e58ca079e0aa1a993a63653d02e43d0243649fa5f2f5869ef48
 DIST limine-8.7.0.tar.gz 603144 BLAKE2B 
fdfbae9ccb238c3dd84f6a7fb8cf80b03f6f9e47fd9556452c30c2658fa6209886df07c8065cd5140036887e4aaf63d9b1ded8853c9ba70c80df8079fa04291d
 SHA512 
f494d644199fda13974d0938626a0753e42dec606c5357d71cd26a8d6c72f6d34ba245c68ef3c9206c304e179da3c28d9061c79d059cd87a18fb1f45c76a09d3
 DIST limine-9.0.0.tar.gz 599578 BLAKE2B 
bd1324b6463b134d3d2453bbec40ac7c4225cc25178a08a599e4b595bbf447a8f72581b721993c9a2ef1acbef0821aa336dd54faba7a4deb67e753400b64f882
 SHA512 
e4684896125f67d61caa87301962e5973b6511d0e44c639817c554bf6917622d36f315d7c0f336c477e064527ca667cbca3e3bf3eb5f9b437f47c4fc3bfb9710
+DIST limine-9.0.1.tar.gz 600042 BLAKE2B 
39e44bd8daf2ddf763187835d3a5af4ec87c2bb528649bfe4da9fd56d8c6a3c5d0b5673da6c5f36056678114cbafc7821abf04ad6bbd4f45157e72107c89477c
 SHA512 
8d679467a3f819eca7e608758bf090206cb943f2f6204de2975dcdbc8ffd0ba578e1b269ea37a7091517f212e3553d972b16e57dd8fb82d86841402dacd65708

diff --git a/sys-boot/limine/limine-9.0.1.ebuild 
b/sys-boot/limine/limine-9.0.1.ebuild
new file mode 100644
index 000000000..504e7c21d
--- /dev/null
+++ b/sys-boot/limine/limine-9.0.1.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..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 ~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[@]}"
+}

Reply via email to