aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2023-04-28 10:45:23 +0200
committerArsen Arsenović <arsen@gentoo.org>2023-04-28 10:45:23 +0200
commit59f4ca8c8ad442615c0456b3a6c0aca2a562e08f (patch)
tree9e53db8d60cd2ae88010f73bab37c47528770bed /sys-boot
parentdev-python/graphql-core: add 3.2.3 (diff)
downloadguru-59f4ca8c8ad442615c0456b3a6c0aca2a562e08f.tar.gz
guru-59f4ca8c8ad442615c0456b3a6c0aca2a562e08f.tar.bz2
guru-59f4ca8c8ad442615c0456b3a6c0aca2a562e08f.zip
sys-boot/limine: add 4.20230428.0
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/limine/Manifest1
-rw-r--r--sys-boot/limine/limine-4.20230428.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index e9661e2ce..ce27bb34f 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -2,3 +2,4 @@ DIST limine-4.20230325.0.tar.xz 897164 BLAKE2B ce0ca350667210e0bf1fedfebee97e176
DIST limine-4.20230330.0.tar.xz 897596 BLAKE2B 3047befde6284fe3907a1e427d3f3821ca153c93fcad1e286a577ca68f5d7930ed07361c5d1042eb90fe038db081ff7fea2c09a25ad316efabc1f38e61a02ecc SHA512 04eb7335c0d493b86a0de10763a52265ef0c36c23dc7998f482ca0a47597c439b5d8e261b60cdfb851fac4778fd4ae569b970f1f0ea00e30d965b590584fcf0d
DIST limine-4.20230408.0.tar.xz 896416 BLAKE2B c4a5d0a93082b4f9569b2af6d8b345ca7b0e00aeff42af112e2f07541b091f54451af7be969fad3d28c6108cf2106ce7d5d463f0237090bfd5b3548e50ca935f SHA512 0b3a7c907c79e8ddf0c54432ec65f4f42cce9f74a71dcf7d9c21a5a94b9957a72ed9d47216baf8cc9c03ef0e74ad883e2e2442571ff292952a60d61d379056f7
DIST limine-4.20230422.0.tar.xz 891604 BLAKE2B a4fcefb33d45a67a94a4f6ecb8ee491339d1d0de56dfe82133a36f374704e115ccb83a144a51a2c40333df916dbcb72cfdd6c1ca2104ae5928251bf2b2f14d95 SHA512 7d949fce2394ea83bea29f43a4b11c3e48e36bf00a39d8bb463667848bf0b86cb49ac60cbd27b961240c9afd5f99c86c4abb31e03d5c0baaae3bd3122f55c8cf
+DIST limine-4.20230428.0.tar.xz 892396 BLAKE2B 951e142ea457f958ac08d2c4c9b4fd78090fde5e8ae67ef7b629fcaa18a5b667299f8af713a160e2aa0924a4fb81d6a67df9f56dc917884c56c9ad713b3baf7d SHA512 3e566803d784aa3cd8027cb9f942fab6c6a8cd8be42415a0bdfb51b9f1543d0c649ec9f5a90e140a0d4af2355e5b8703964b59c0734d09e4dc64308ceb0141e5
diff --git a/sys-boot/limine/limine-4.20230428.0.ebuild b/sys-boot/limine/limine-4.20230428.0.ebuild
new file mode 100644
index 000000000..a93073081
--- /dev/null
+++ b/sys-boot/limine/limine-4.20230428.0.ebuild
@@ -0,0 +1,43 @@
+# 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[@]}"
+}