commit:     536fcae9225c02734dcd8af9d39efda741ec818a
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 09:55:02 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun May 14 09:55:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=536fcae9

sys-boot/limine: add 4.20230514.0

Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

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

diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index 7e4f6afe3..12c8e3f3f 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -4,3 +4,4 @@ DIST limine-4.20230408.0.tar.xz 896416 BLAKE2B 
c4a5d0a93082b4f9569b2af6d8b345ca7
 DIST limine-4.20230422.0.tar.xz 891604 BLAKE2B 
a4fcefb33d45a67a94a4f6ecb8ee491339d1d0de56dfe82133a36f374704e115ccb83a144a51a2c40333df916dbcb72cfdd6c1ca2104ae5928251bf2b2f14d95
 SHA512 
7d949fce2394ea83bea29f43a4b11c3e48e36bf00a39d8bb463667848bf0b86cb49ac60cbd27b961240c9afd5f99c86c4abb31e03d5c0baaae3bd3122f55c8cf
 DIST limine-4.20230428.0.tar.xz 892396 BLAKE2B 
951e142ea457f958ac08d2c4c9b4fd78090fde5e8ae67ef7b629fcaa18a5b667299f8af713a160e2aa0924a4fb81d6a67df9f56dc917884c56c9ad713b3baf7d
 SHA512 
3e566803d784aa3cd8027cb9f942fab6c6a8cd8be42415a0bdfb51b9f1543d0c649ec9f5a90e140a0d4af2355e5b8703964b59c0734d09e4dc64308ceb0141e5
 DIST limine-4.20230503.0.tar.xz 966088 BLAKE2B 
d268a1e6ff6c0da46d457ba077227f8552a272992d6eb399241e57bfd7de2321f44e616cf2cade05fae70c55c3cdea8d122b09939202ade153c18bae72393eb3
 SHA512 
7808d81d6ed1c135d55199521c7490dfa0bfd3fc134e7cde4bedbc133494a906d85d1b0b7626b3e541cc67da832034e85364c893b260adfd7fb1c55f0e056e88
+DIST limine-4.20230514.0.tar.xz 966160 BLAKE2B 
6556adc6c2efffb2876c103b4428f42b57f74d25b7d901a573b7d1b20d84665a336b8bb8bbc84b936a9bf52795fa08a5af769f541736b89faf5306a4ec4ba654
 SHA512 
8ea04c54d95309185e91ee28cc7f6c64e948d29aff70626372328d59304a21efd0d2a7adf20fb38607b69c2863be6817c2ea768c8129e3f3305e56a4b1585886

diff --git a/sys-boot/limine/limine-4.20230514.0.ebuild 
b/sys-boot/limine/limine-4.20230514.0.ebuild
new file mode 100644
index 000000000..a93073081
--- /dev/null
+++ b/sys-boot/limine/limine-4.20230514.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 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.xz";
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64"
+
+MY_LLVM_TARGETS="AArch64 ARM X86"
+MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
+
+BDEPEND="
+       app-arch/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 cd-efi uefi-cd)"
+       )
+
+       TOOLCHAIN_FOR_TARGET=llvm \
+       econf "${myconf[@]}"
+}

Reply via email to