Skip to content

Commit

Permalink
sys-boot/limine: add 8.6.0
Browse files Browse the repository at this point in the history
Signed-off-by: Kacper Słomiński <[email protected]>
  • Loading branch information
qookei committed Dec 12, 2024
1 parent 2289aca commit 6f47eac
Show file tree
Hide file tree
Showing 2 changed files with 50 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 @@ -17,3 +17,4 @@ DIST limine-8.1.2.tar.gz 557929 BLAKE2B b4517ed960686f7d854f71961134a32b5cc78602
DIST limine-8.3.2.tar.gz 562262 BLAKE2B f519c2ecc2167b8fa28f4eff47e6c4e45103a42a60c374df4c28e2d2268b339997751334ca01d2a3d8d88e5d80eb4b839436104eae48ddbbd4053bbdb4703382 SHA512 16fac90b475b7bf7f7c8cb88a657a6fe960c3ecbdef9fab5283962c1c080d27fc5b417e12e855a8503f25733ada5beb3a8c336fc0d639d5172753db67ae91fec
DIST limine-8.4.0.tar.gz 602897 BLAKE2B 924631c9cd6f6c6400bf2f355c3cb044c19c8574bf37758be9b8f773043071ae8a79d58acf3d4d46a8bf1bc53ce445e02b18d25889e3868539f34c2df91d7fc7 SHA512 e8679acf49e71458becf47183280b7ecc367d9523d927bec1dce0840e7f9c95d038de57c09d7e1315d17582fdf50ad939d658a7d2bfa3cc228f1efd63110b077
DIST limine-8.5.0.tar.gz 597435 BLAKE2B e39a41c6182bbb992bf14399990b733ca851e14a26dc167ea233dfa1822928958479ec014a9c654e29644c375bdb83c02a4c500931073b1ba951bceb64938a13 SHA512 1cf27e464deb01e69b31007a67558606fb69570e80d7f9261aa78d4fef5e558ad78edf3ec526a8ab064ac18bc9746111a862bcad5355cf30911102a8faa85100
DIST limine-8.6.0.tar.gz 598538 BLAKE2B a24a416f4d26f2716839e8e1b3852fab0bcbbf8e195f415450cff688d2c853486cfa1d484bb8f440cc494725342b4da02ef5354404469faead173869c99fc0c8 SHA512 a10c066697d26d212f1d77dc0bd666a8c545630002e15564a8628891a759c28d088e61183eb09e58ca079e0aa1a993a63653d02e43d0243649fa5f2f5869ef48
49 changes: 49 additions & 0 deletions sys-boot/limine/limine-8.6.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# Copyright 1999-2024 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"
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[@]}"
}

0 comments on commit 6f47eac

Please sign in to comment.