sys-boot/limine - 12.0.2 (gentoo)

Search

Install

Install this version:

emerge -a =sys-boot/limine-12.0.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-boot/limine-12.0.2

Or alternatively:

emerge --autounmask-write -a =sys-boot/limine-12.0.2

Package Information

Description:
Limine is a modern, advanced, and portable BIOS/UEFI multiprotocol bootloader
Homepage:
https://limine-bootloader.org/
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
12.0.2 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

LLVM_COMPAT=( {19..21} )
inherit llvm-r2

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}/${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."
}

USE Flags

Manage flags for this package: euse -i <flag> -p sys-boot/limine | euse -E <flag> -p sys-boot/limine | euse -D <flag> -p sys-boot/limine

Global/Standard Flags

bios
Default: Enabled (+)
bios-pxe
Default: Enabled (+)
bios-cd
Default: Enabled (+)
uefi-cd
Default: Enabled (+)
uefi-ia32
Default: Enabled (+)
uefi-x86-64
Default: Enabled (+)
uefi-aarch64
Default: Enabled (+)
uefi-riscv64
Default: Enabled (+)
uefi-loongarch64
Default: Enabled (+)

Inherited Eclasses

Dependencies

BDEPEND

	app-alternatives/gzip
	dev-lang/nasm
	sys-apps/findutils
	$(llvm_gen_dep 

Manifest for 12.0.2

Type File Size Source URLs
DIST limine-12.0.2.tar.gz 644926 bytes https://github.com/Limine-Bootloader/Limine/releases/download/v12.0.2/limine-12.0.2.tar.gz