commit:     5a28ce47ca229a99a0b7751e8f947feebbcfb0dc
Author:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
AuthorDate: Sun Aug 18 18:44:55 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sun Aug 18 18:45:38 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5a28ce47

sys-boot/limine: add 8.0.5

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

 sys-boot/limine/Manifest            |  1 +
 sys-boot/limine/limine-8.0.5.ebuild | 44 +++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index 42b7ddc4c..b2d1ed785 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -4,3 +4,4 @@ DIST limine-7.0.5.tar.xz 371612 BLAKE2B 
029953e1a5adeac2b1cd92bfff3b3a893b8ad1f4
 DIST limine-7.3.0.tar.gz 523910 BLAKE2B 
aabe52c9013f17e61520aa8df0886339d6be16e3dea0b13b13160ed61b811355880e93b2928c0d73fdf8a7f80132569a7cd783dd720915235f5e78deecd4048d
 SHA512 
fc25375f86c18ae991f6f6d11fa127b47d1fdfa81059ed663a82202f9de95b9774516e1bf5a648abaedde8e04fe004c296666b6ec3a1eeaf5cf3472aca87c0c5
 DIST limine-7.5.0.tar.gz 518804 BLAKE2B 
745929606cf5e5e297f55690573e26bea8b63f8c9d6acffc890c265e48450a678442612f917bf0806520a939504bc21606be4f768237c238527d430820cd2cdc
 SHA512 
927cba6eecc8b01ee0af7f3dc24392fc50bce28b06e36c50d44ab995f3a5f7ab17f804116e00fac3c7a92749340802a2643f20a54ebf8fb9ec44f13fa03dbe5a
 DIST limine-7.9.2.tar.gz 562984 BLAKE2B 
da301c51dfc487b83e87c25be37457ae7bd532140b3124a1903b6cc46ec15508412445cadb24675193e972fc1d1d4259441ce51282825a84e9713cabad80efb9
 SHA512 
d3526d1ac4e8b9172b93f6e113c78b8be3ad5196dc82e27cc2a9eb23bfb7581d421b96a736f5a149ec83be6363c2210f23af22ae6c039447ea202e56c21b9d6c
+DIST limine-8.0.5.tar.gz 551786 BLAKE2B 
20e6fc247c27163ab0b57790853549479671f6b9f00000e9da43c686485798f249d4e36fafeda426935074b28dd4676539d079c7125b27bbcd83ccb92ec30e2d
 SHA512 
4fbab007c7ebc9648e5ba513b4cc19e42615f3c30ae4e3ee7ef10f782b38581c3fe9685eb497bf0ee6b685e032624143e606766569e1045d82321223fd5a0e61

diff --git a/sys-boot/limine/limine-8.0.5.ebuild 
b/sys-boot/limine/limine-8.0.5.ebuild
new file mode 100644
index 000000000..89044a592
--- /dev/null
+++ b/sys-boot/limine/limine-8.0.5.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+
+MY_LLVM_TARGETS="AArch64 ARM X86 RISCV"
+MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
+
+BDEPEND="
+       app-alternatives/gzip
+       dev-lang/nasm
+       sys-apps/findutils
+       sys-devel/clang[${MY_LLVM_FLAGS}]
+       sys-devel/lld
+       sys-devel/llvm[${MY_LLVM_FLAGS}]
+
+       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 cd-efi uefi-cd)"
+       )
+
+       TOOLCHAIN_FOR_TARGET=llvm \
+       econf "${myconf[@]}"
+}

Reply via email to