sys-boot/limine: drop versions

Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
Arsen Arsenović
2023-04-02 12:31:58 +02:00
parent 5c7884808f
commit ee62204548
17 changed files with 0 additions and 788 deletions

View File

@@ -1,22 +0,0 @@
From 3ff7047e3bafd17a3b3b284f9e054557d4f66602 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
Date: Mon, 14 Feb 2022 12:57:34 +0100
Subject: [PATCH] limine-install: respect ldflags
---
limine-install/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/limine-install/Makefile b/limine-install/Makefile
index ef29143..1f6ccbe 100644
--- a/limine-install/Makefile
+++ b/limine-install/Makefile
@@ -35,4 +35,4 @@ clean:
rm -f limine-install limine-install.exe
limine-install: limine-install.c
- $(CC) $(CFLAGS) -std=c11 limine-install.c -o $@
+ $(CC) $(LDFLAGS) $(CFLAGS) -std=c11 limine-install.c -o $@
--
2.34.1

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WANT_LIBTOOL=none
inherit autotools
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader."
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-install +uefi +eltorito-efi +uefi32 +uefi64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
eltorito-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 eltorito-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-install? ( bios )
bios? ( || ( bios-pxe bios-cd limine-install ) )
"
BDEPEND="
sys-apps/findutils
dev-lang/nasm
app-arch/gzip
eltorito-efi? ( sys-fs/mtools )
"
src_configure() {
local myconf=(
"$(use_enable bios)"
"$(use_enable bios-cd)"
"$(use_enable bios-pxe)"
"$(use_enable limine-install)"
"$(use_enable uefi)"
"$(use_enable uefi32)"
"$(use_enable uefi64)"
"$(use_enable eltorito-efi)"
)
TOOLCHAIN="${CHOST}" \
econf "${myconf[@]}"
}

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WANT_LIBTOOL=none
inherit autotools
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader."
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-deploy +uefi +cd-efi +uefi32 +uefi64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-deploy? ( bios )
bios? ( || ( bios-pxe bios-cd limine-deploy ) )
"
BDEPEND="
sys-apps/findutils
dev-lang/nasm
app-arch/gzip
cd-efi? ( sys-fs/mtools )
"
src_configure() {
local myconf=(
"$(use_enable bios)"
"$(use_enable bios-cd)"
"$(use_enable bios-pxe)"
"$(use_enable limine-deploy)"
"$(use_enable uefi)"
"$(use_enable uefi32)"
"$(use_enable uefi64)"
"$(use_enable cd-efi)"
)
TOOLCHAIN="${CHOST}" \
econf "${myconf[@]}"
}

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WANT_LIBTOOL=none
inherit autotools
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader."
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-deploy +uefi +cd-efi +uefi32 +uefi64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-deploy? ( bios )
bios? ( || ( bios-pxe bios-cd limine-deploy ) )
"
BDEPEND="
sys-apps/findutils
dev-lang/nasm
app-arch/gzip
cd-efi? ( sys-fs/mtools )
"
src_configure() {
local myconf=(
"$(use_enable bios)"
"$(use_enable bios-cd)"
"$(use_enable bios-pxe)"
"$(use_enable limine-deploy)"
"$(use_enable uefi)"
"$(use_enable uefi32)"
"$(use_enable uefi64)"
"$(use_enable cd-efi)"
)
TOOLCHAIN="${CHOST}" \
econf "${myconf[@]}"
}

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WANT_LIBTOOL=none
inherit autotools
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader."
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-deploy +uefi +cd-efi +uefi32 +uefi64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-deploy? ( bios )
bios? ( || ( bios-pxe bios-cd limine-deploy ) )
"
BDEPEND="
sys-apps/findutils
dev-lang/nasm
app-arch/gzip
cd-efi? ( sys-fs/mtools )
"
src_configure() {
local myconf=(
"$(use_enable bios)"
"$(use_enable bios-cd)"
"$(use_enable bios-pxe)"
"$(use_enable limine-deploy)"
"$(use_enable uefi)"
"$(use_enable uefi32)"
"$(use_enable uefi64)"
"$(use_enable cd-efi)"
)
TOOLCHAIN="${CHOST}" \
econf "${myconf[@]}"
}

View File

@@ -1,51 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WANT_LIBTOOL=none
inherit autotools
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader."
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-deploy +uefi +cd-efi +uefi32 +uefi64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-deploy? ( bios )
bios? ( || ( bios-pxe bios-cd limine-deploy ) )
"
BDEPEND="
sys-apps/findutils
dev-lang/nasm
app-arch/gzip
cd-efi? ( sys-fs/mtools )
"
src_configure() {
local myconf=(
"$(use_enable bios)"
"$(use_enable bios-cd)"
"$(use_enable bios-pxe)"
"$(use_enable limine-deploy)"
"$(use_enable uefi)"
"$(use_enable uefi32)"
"$(use_enable uefi64)"
"$(use_enable cd-efi)"
)
TOOLCHAIN="${CHOST}" \
econf "${myconf[@]}"
}

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader"
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-deploy +uefi +cd-efi +uefi32 +uefi64 +uefiaa64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
uefiaa64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 uefiaa64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-deploy? ( bios )
bios? ( || ( bios-pxe bios-cd limine-deploy ) )
"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 limine-deploy)"
"$(use_enable uefi)"
"$(use_enable uefi32 uefi-ia32)"
"$(use_enable uefi64 uefi-x86-64)"
"$(use_enable uefiaa64 uefi-aarch64)"
"$(use_enable cd-efi)"
)
CROSS_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader"
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-deploy +uefi +cd-efi +uefi32 +uefi64 +uefiaa64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
uefiaa64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 uefiaa64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-deploy? ( bios )
bios? ( || ( bios-pxe bios-cd limine-deploy ) )
"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 limine-deploy)"
"$(use_enable uefi)"
"$(use_enable uefi32 uefi-ia32)"
"$(use_enable uefi64 uefi-x86-64)"
"$(use_enable uefiaa64 uefi-aarch64)"
"$(use_enable cd-efi)"
)
CROSS_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader"
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-deploy +uefi +cd-efi +uefi32 +uefi64 +uefiaa64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
uefiaa64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 uefiaa64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-deploy? ( bios )
bios? ( || ( bios-pxe bios-cd limine-deploy ) )
"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 limine-deploy)"
"$(use_enable uefi)"
"$(use_enable uefi32 uefi-ia32)"
"$(use_enable uefi64 uefi-x86-64)"
"$(use_enable uefiaa64 uefi-aarch64)"
"$(use_enable cd-efi)"
)
CROSS_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,57 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Limine is a modern, advanced x86/x86_64 BIOS/UEFI multiprotocol bootloader"
HOMEPAGE="https://limine-bootloader.org/"
SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/limine-${PV}.tar.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +limine-deploy +uefi +cd-efi +uefi32 +uefi64 +uefiaa64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
uefiaa64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 uefiaa64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
limine-deploy? ( bios )
bios? ( || ( bios-pxe bios-cd limine-deploy ) )
"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 limine-deploy)"
"$(use_enable uefi)"
"$(use_enable uefi32 uefi-ia32)"
"$(use_enable uefi64 uefi-x86-64)"
"$(use_enable uefiaa64 uefi-aarch64)"
"$(use_enable cd-efi)"
)
CROSS_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,55 +0,0 @@
# 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.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +uefi +cd-efi +uefi32 +uefi64 +uefiaa64"
REQUIRED_USE="
uefi32? ( uefi )
uefi64? ( uefi )
uefiaa64? ( uefi )
cd-efi? ( uefi )
uefi? ( || ( uefi32 uefi64 uefiaa64 cd-efi ) )
bios-pxe? ( bios )
bios-cd? ( bios )
bios? ( || ( bios-pxe bios-cd ) )
"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 uefi)"
"$(use_enable uefi32 uefi-ia32)"
"$(use_enable uefi64 uefi-x86-64)"
"$(use_enable uefiaa64 uefi-aarch64)"
"$(use_enable cd-efi uefi-cd)"
)
CROSS_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,43 +0,0 @@
# 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.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 cd-efi uefi-cd)"
)
CROSS_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,43 +0,0 @@
# 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.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 cd-efi uefi-cd)"
)
CROSS_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,43 +0,0 @@
# 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.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 cd-efi uefi-cd)"
)
CROSS_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,43 +0,0 @@
# 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.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 cd-efi uefi-cd)"
)
FREESTANDING_TOOLCHAIN=llvm \
econf "${myconf[@]}"
}

View File

@@ -1,43 +0,0 @@
# 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.xz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64"
MY_LLVM_TARGETS="AArch64 ARM X86"
MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
BDEPEND="
app-arch/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 cd-efi uefi-cd)"
)
TOOLCHAIN_FOR_TARGET=llvm \
econf "${myconf[@]}"
}

View File

@@ -9,9 +9,6 @@
<remote-id type="github">limine-bootloader/limine</remote-id>
</upstream>
<use>
<flag name="uefi">
Enable UEFI support.
</flag>
<flag name="uefi32">
Enable 32-bit UEFI support.
</flag>
@@ -21,9 +18,6 @@
<flag name="uefiaa64">
Enable AArch64 UEFI support.
</flag>
<flag name="eltorito-efi">
Enable building eltorito-efi.bin using <pkg>sys-fs/mtools</pkg>.
</flag>
<flag name="cd-efi">
Enable building cd-efi.bin using <pkg>sys-fs/mtools</pkg>.
This flag was previously known as eltorito-efi.
@@ -38,12 +32,5 @@
<flag name="bios-cd">
Enables BIOS boot support for CDs.
</flag>
<flag name="limine-install">
Enables building the limine-install program.
</flag>
<flag name="limine-deploy">
Enables building the limine-deploy program.
This flag was previously known as limine-install.
</flag>
</use>
</pkgmetadata>