Skip to content

Commit

Permalink
sys-boot/limine: add 8.1.2
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 Oct 16, 2024
1 parent 6d5db2a commit 603f9c1
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 @@ -13,3 +13,4 @@ DIST limine-8.0.6.tar.gz 553792 BLAKE2B 69a654b86a0d277893c099591fe6551328a7bbe4
DIST limine-8.0.7.tar.gz 553771 BLAKE2B 353ddfc22bf4609c926aa94297b7b3895727cba0f8676e621c00894422421f7a4f2b03d1381870e5422125868c622100f8c39e1e2f63eb3586c5e5d627f231c7 SHA512 e72bd39ed473c9d27b1b926ce7cc0ff5bdb74d355a92d77b7f05dbdccdfa4f83769863b700b988e8d868902bd2a8b59ace7001aec44345dfc697ba2bb04fd05f
DIST limine-8.0.9.tar.gz 554003 BLAKE2B 8529d58b83fb2121412aaac3399b96166d1c93b8549514e8ac0c75429b63987b410c2aaf91388ebd2c9eb8c9a5533b9f99e273f0fcddc5f1186c2def53d510fd SHA512 79baca17ad895ae8655b9935206f065d0c89f350240cd507af0cdd14e4e71aa71e8ba45ebf368218ce7e8de4bec2fa6012b863e1ffd86fdc66c15e39663f7f80
DIST limine-8.1.1.tar.gz 557731 BLAKE2B 299923b076aa18bdf9197a55f1504424c3479f37e4b4d0ab5962c6e8ff7e1869aeca060e38ecd61e72358c0ab384ac27f1932e18db5c247b22991a0bc1c1ecd4 SHA512 8856c81f00d2167aae79b87e3b7b0bd47d5509b9950991b01176ec2ea803c3f1a9d72e3b71adecaa11554709f08241c697e5be8707fded934694585235ae1ee4
DIST limine-8.1.2.tar.gz 557929 BLAKE2B b4517ed960686f7d854f71961134a32b5cc786026ad8064a543b86f0b971eeb7c6e38a4f1560484cfc4038e1ea71fe943c0a9d37da966ce0f302c307bf59d03b SHA512 3e346bbe8d529b4bc29dfd229ca4f979e1250afefe87e6fc53db5e2af486ddffa6b7956b99aebce07e39377dd5f4dbcb3571ea022bfb86a8005c8c5ba07ecbee
49 changes: 49 additions & 0 deletions sys-boot/limine/limine-8.1.2.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..18} )
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 "
sys-devel/llvm:\${LLVM_SLOT}[${MY_LLVM_FLAGS}]
sys-devel/clang:\${LLVM_SLOT}[${MY_LLVM_FLAGS}]
sys-devel/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 603f9c1

Please sign in to comment.