mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
sys-boot/limine: add 12.3.3
Signed-off-by: Kacper Słomiński <kacper.slominski72@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/46333 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST limine-11.4.1.tar.gz 620367 BLAKE2B 09b13f981a764a2516980e838e5a8a730259d65840ec17f523eda4ad33fb582108ba657828fb3ecf8c71fd78a186b5eee6a57c979d561f69fc9e0c346e8af329 SHA512 8e2e5fdeddc118d4dca45e791ecd0004d20f959efa3c4f55d9dfde332be54c956d8fab30a7c4c89d25ec9858a9806fef85895b25a80ac4e9fca944317ece5971
|
||||
DIST limine-12.2.0.tar.gz 664059 BLAKE2B 21554df36014f2f0485cc12e922f79753819424e68f83cfd539ab991c289dbb14b791c839b407b8f4ebba42881e5a9ff2724b0337cd641cd03daf1df1a4b1ada SHA512 38ee8b45a69cf991bd19a15166d700fd3a6b2dc3f8bd4d988d4d36ff7bdcb83e6d11e2563344c89688037c012fbe9b207cea8203fd1635db91f05b62a1e03b5a
|
||||
DIST limine-12.3.3.tar.gz 676347 BLAKE2B 43c8dba8c1cf4efaa79a950cf8fc75b20b085221f2c934587eb11b91d06d0d3745ce624c180b20ab32ee09c7221aeb6cd2337e53778575bd8b96b9133211ef94 SHA512 5d329953ab600c5a9e5cbc34234df5ccd39e42504ce77abe27d0388a3387db49dd62b5aa797779026c9ce57c1850deca7ace50cc1b198b9c01b482fcb22db1fc
|
||||
|
||||
@@ -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