commit:     2435ff4e57bf531538a5637f20a7c28642316ee2
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  9 08:58:17 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Apr  9 08:58:17 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2435ff4e

sys-boot/limine: add 4.20230408.0

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

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

diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index 18e529891..47805b2d9 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -1,2 +1,3 @@
 DIST limine-4.20230325.0.tar.xz 897164 BLAKE2B 
ce0ca350667210e0bf1fedfebee97e1763ca706b7f756e4d81fcd0ba35df436efac987bc9cb784dfc99ac770fcc5feee6145d763dc8df67f61231013262511ec
 SHA512 
bfe6dbd9b8bc636431a6e494ce636bd29a2c6df1cd568621e980fe17f026a2bca14a1ca6d4c8d45a30f37f6ac99e62e94eccdbcebea52bc73783fbcf049a9369
 DIST limine-4.20230330.0.tar.xz 897596 BLAKE2B 
3047befde6284fe3907a1e427d3f3821ca153c93fcad1e286a577ca68f5d7930ed07361c5d1042eb90fe038db081ff7fea2c09a25ad316efabc1f38e61a02ecc
 SHA512 
04eb7335c0d493b86a0de10763a52265ef0c36c23dc7998f482ca0a47597c439b5d8e261b60cdfb851fac4778fd4ae569b970f1f0ea00e30d965b590584fcf0d
+DIST limine-4.20230408.0.tar.xz 896416 BLAKE2B 
c4a5d0a93082b4f9569b2af6d8b345ca7b0e00aeff42af112e2f07541b091f54451af7be969fad3d28c6108cf2106ce7d5d463f0237090bfd5b3548e50ca935f
 SHA512 
0b3a7c907c79e8ddf0c54432ec65f4f42cce9f74a71dcf7d9c21a5a94b9957a72ed9d47216baf8cc9c03ef0e74ad883e2e2442571ff292952a60d61d379056f7

diff --git a/sys-boot/limine/limine-4.20230408.0.ebuild 
b/sys-boot/limine/limine-4.20230408.0.ebuild
new file mode 100644
index 000000000..a93073081
--- /dev/null
+++ b/sys-boot/limine/limine-4.20230408.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