commit: aaaaa3ba8e188c5f82ea1b8d5d5c68fc84011513
Author: Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
AuthorDate: Tue Apr 1 16:40:45 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 1 16:40:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aaaaa3ba
sys-boot/limine: add 9.2.2
Signed-off-by: Kacper Słomiński <kacper.slominski72 <AT> gmail.com>
sys-boot/limine/Manifest | 1 +
sys-boot/limine/limine-9.2.2.ebuild | 49 +++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index cce22ee89..7c52f3af4 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -23,3 +23,4 @@ DIST limine-9.0.0.tar.gz 599578 BLAKE2B
bd1324b6463b134d3d2453bbec40ac7c4225cc25
DIST limine-9.0.1.tar.gz 600042 BLAKE2B
39e44bd8daf2ddf763187835d3a5af4ec87c2bb528649bfe4da9fd56d8c6a3c5d0b5673da6c5f36056678114cbafc7821abf04ad6bbd4f45157e72107c89477c
SHA512
8d679467a3f819eca7e608758bf090206cb943f2f6204de2975dcdbc8ffd0ba578e1b269ea37a7091517f212e3553d972b16e57dd8fb82d86841402dacd65708
DIST limine-9.1.3.tar.gz 598867 BLAKE2B
4aeab7e92f06dbcb7476d7aac26e1e29c15e84364cf652bb72a669a3d42ee8b0947304c5f5c8e53ec4f5cd0a0785d9d2174d0445ccb088ea41a092c22713e488
SHA512
0eaafcdaf9ab19ab8bf7609600b929c64c295ce35ae96240bd7e15082d0b1494dc5d89bd8b1e31830b67d7a0b6402aa343d4c12960d29a7079b8ff3c1ee1be86
DIST limine-9.2.0.tar.gz 599730 BLAKE2B
1748413935ef4f5ecad0f7e68aad832a616b4d23e0e6b4d8f65de6bf363aa00b28d63b6c7042bb0b967904b95d6af39ed22039756a3fa549f3f176f87674d7b0
SHA512
2347e99cbc01a16bf91a79a1f0e17454443a81dcdd2c520ecbe645bd2b1de09567338047ece9183404151652a333eb0f1170666db17f8e796414d937876dbca5
+DIST limine-9.2.2.tar.gz 600310 BLAKE2B
f3085f67d6ba41eef2e5f34de671a307e6034339d16ce5f0e09b08c5d3a32e332a0cdc55fd78872d92e60797d5a03905c06aa4094930b96be8fc7ca504acee84
SHA512
7a88a3424ffa9aab190f182ae7bc616c7f0c50be55def3805e6c633ed4bf662c9300009e35b2401ac8263dc6a3045085b4cd9ae07f994bcff9f0a88215d4548a
diff --git a/sys-boot/limine/limine-9.2.2.ebuild
b/sys-boot/limine/limine-9.2.2.ebuild
new file mode 100644
index 000000000..504e7c21d
--- /dev/null
+++ b/sys-boot/limine/limine-9.2.2.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[@]}"
+}