aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2023-03-05 18:14:01 +0100
committerArsen Arsenović <arsen@gentoo.org>2023-03-05 18:14:01 +0100
commitac34d62c3bf5a7c604de6536acedd8694338f7be (patch)
tree2f700bba869fb8c4a57c621d37de886334b4e5f3 /sys-boot
parentdev-python/nkdfu: Added missing [${PYTHON_USEDEP}] (diff)
downloadguru-ac34d62c3bf5a7c604de6536acedd8694338f7be.tar.gz
guru-ac34d62c3bf5a7c604de6536acedd8694338f7be.tar.bz2
guru-ac34d62c3bf5a7c604de6536acedd8694338f7be.zip
sys-boot/limine: add 4.20230305.1
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.20230305.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index 9b06e95b0..548013ec8 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -8,3 +8,4 @@ DIST limine-4.20230216.1.tar.xz 783012 BLAKE2B 451e5afa3efa8f815da9a3226cab4da16
DIST limine-4.20230219.0.tar.xz 782172 BLAKE2B 525308e0ccfbce2814b7fb497023d7e2e02cb0bab361f4b74e20c480c39fc4f88bbfc4510680be9b2ad099ad549ef447ad32ccc93faa9b79a8d650b7065307e6 SHA512 11fe20c726bb2a09f275fd83021ba2b7c5a2b5a9c820790129352ae371beeec858c34a39924e02ac7b634cdb1ba3092973ba55be6cab33d224f9b99e57dc7605
DIST limine-4.20230221.0.tar.xz 782956 BLAKE2B 29edaae0698b7d3ce9a1a3b7b1ce9e28402294681121b30f7d7b3359a2da2bffa0037e94393c7137caae8008e1f4d88a226cc36d50b4a0b20e8433d7bd75f678 SHA512 99d9341ffa2e2906d4d5086bc2d27ba217bfd68742bc6ee734734d8c75f9eee2b761b84e622e76f14a87b2128105cefe42dca330441f43ecd4d210670176da91
DIST limine-4.20230227.0.tar.xz 782796 BLAKE2B 35819ccfe896f595a10b666bc0a8d665ea6948f5ea3509833d05a81e574f6c9009a120773e28bc2f4d4d2172926f20796083b62e0ac153f8a232f20d21c6a945 SHA512 621bb2ddb25de88df63f73852e2ff6ceccc61d7d4be49ee8c0cf614c5037f37d350ff50d924065f5f5e6295dc5e99d53191db55778384c15c580630c32cbc560
+DIST limine-4.20230305.1.tar.xz 783116 BLAKE2B f761bcab6bf11eca8b741eb1f7f6d1ebf62dd4ab41ad78bc721558274478a4353245a807f008eb31de8a2a33f06e220697f61dbd137d028a1d7939fc76579ca4 SHA512 801450fd12619dd9de8776878a6de1d15e8d15dd5572707ca9fac0b059da1c6793decbb3b94a0447d81f0233b24a6c06d646b72c4e343a5dc3de504ee8375776
diff --git a/sys-boot/limine/limine-4.20230305.1.ebuild b/sys-boot/limine/limine-4.20230305.1.ebuild
new file mode 100644
index 000000000..26329c4d3
--- /dev/null
+++ b/sys-boot/limine/limine-4.20230305.1.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)"
+ )
+
+ CROSS_TOOLCHAIN=llvm \
+ econf "${myconf[@]}"
+}