mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-boot/limine: add 12.9.0
Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/46777 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
a202008ae3
commit
b2e8273410
@@ -1 +1,2 @@
|
||||
DIST limine-12.6.1.tar.gz 724863 BLAKE2B 4743aa2fd7ebc1914f1101e00a5b0aa2df75446e741489d85e4b17b1fe8921f62929461d01ada4eff6d8fa9c47adeb2a772f45daaaf389995af8626093d7987e SHA512 23a888f5db7b835ae1fd9bcc7fbe02f73298cac2bcd76414f3adf48958be842620366c536421585d07e615ba77d0a1e48c2c62cb6abeea954a41df67edc27663
|
||||
DIST limine-12.9.0.tar.gz 733599 BLAKE2B 82bd8848dcfbf2982014d655a109810e8df2cc6a50d29dad97da9aa4d85b3609ec7d97481092fa214f306efc54fe4897dcd3fee5422f32c52bc9cc19b5cc346a SHA512 98e77c9c3788a9b0ef267a051eae714f1668752b76328dc6c6516a7edfd297b742351f4623fa7c194a42e5fa5df1adcd942bc1bd035534c901817df2e7d23ecc
|
||||
|
||||
56
sys-boot/limine/limine-12.9.0.ebuild
Normal file
56
sys-boot/limine/limine-12.9.0.ebuild
Normal file
@@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {19..22} )
|
||||
inherit llvm-r2
|
||||
|
||||
DESCRIPTION="Modern, secure, portable, multiprotocol bootloader and boot manager"
|
||||
HOMEPAGE="https://limine-bootloader.org/"
|
||||
SRC_URI="https://github.com/Limine-Bootloader/Limine/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+bios +bios-pxe +bios-cd +uefi-cd +uefi-ia32 +uefi-x86-64 +uefi-aarch64 +uefi-riscv64 +uefi-loongarch64"
|
||||
|
||||
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}
|
||||
")
|
||||
uefi-cd? ( sys-fs/mtools )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
"$(use_enable bios)"
|
||||
"$(use_enable bios-cd)"
|
||||
"$(use_enable bios-pxe)"
|
||||
|
||||
"$(use_enable uefi-ia32)"
|
||||
"$(use_enable uefi-x86-64)"
|
||||
"$(use_enable uefi-aarch64)"
|
||||
"$(use_enable uefi-riscv64)"
|
||||
"$(use_enable uefi-loongarch64)"
|
||||
"$(use_enable uefi-cd)"
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "Limine 12.0.0 and later forces hash verification for systems with Secure Boot"
|
||||
ewarn "enabled if the config hash has been enrolled into the EFI binary with"
|
||||
ewarn "'limine enroll-config'."
|
||||
ewarn "If you're using Secure Boot, and are enrolling the config file hash, make sure"
|
||||
ewarn "the config contains correct hashes for all files referenced within it."
|
||||
}
|
||||
Reference in New Issue
Block a user