Skip to content

Commit

Permalink
sys-boot/limine: add 7.9.2
Browse files Browse the repository at this point in the history
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
  • Loading branch information
ArsenArsen committed Jul 7, 2024
1 parent 2401a57 commit 46fcb6e
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions sys-boot/limine/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ DIST limine-7.0.3.tar.xz 371416 BLAKE2B 7450784d53ef86993f53c84da4f51ee8a1beb826
DIST limine-7.0.5.tar.xz 371612 BLAKE2B 029953e1a5adeac2b1cd92bfff3b3a893b8ad1f458f1560b194ad0607638a3cc77d4927f1f4376a958d7ae513400ec615ab092ef97cbb220e5866821e83f7fdc SHA512 149bc59785d06b293a9a9d18722afee66301e698fdd349bc5bd211720873213239617af0de665e22dc43299e7a580359d4d407c9eb6ffd6ac85c1de484124055
DIST limine-7.3.0.tar.gz 523910 BLAKE2B aabe52c9013f17e61520aa8df0886339d6be16e3dea0b13b13160ed61b811355880e93b2928c0d73fdf8a7f80132569a7cd783dd720915235f5e78deecd4048d SHA512 fc25375f86c18ae991f6f6d11fa127b47d1fdfa81059ed663a82202f9de95b9774516e1bf5a648abaedde8e04fe004c296666b6ec3a1eeaf5cf3472aca87c0c5
DIST limine-7.5.0.tar.gz 518804 BLAKE2B 745929606cf5e5e297f55690573e26bea8b63f8c9d6acffc890c265e48450a678442612f917bf0806520a939504bc21606be4f768237c238527d430820cd2cdc SHA512 927cba6eecc8b01ee0af7f3dc24392fc50bce28b06e36c50d44ab995f3a5f7ab17f804116e00fac3c7a92749340802a2643f20a54ebf8fb9ec44f13fa03dbe5a
DIST limine-7.9.2.tar.gz 562984 BLAKE2B da301c51dfc487b83e87c25be37457ae7bd532140b3124a1903b6cc46ec15508412445cadb24675193e972fc1d1d4259441ce51282825a84e9713cabad80efb9 SHA512 d3526d1ac4e8b9172b93f6e113c78b8be3ad5196dc82e27cc2a9eb23bfb7581d421b96a736f5a149ec83be6363c2210f23af22ae6c039447ea202e56c21b9d6c
44 changes: 44 additions & 0 deletions sys-boot/limine/limine-7.9.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 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.gz"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64 +uefirv64"

MY_LLVM_TARGETS="AArch64 ARM X86 RISCV"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"

BDEPEND="
app-alternatives/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 uefirv64 uefi-riscv64)"
"$(use_enable cd-efi uefi-cd)"
)

TOOLCHAIN_FOR_TARGET=llvm \
econf "${myconf[@]}"
}

0 comments on commit 46fcb6e

Please sign in to comment.