aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsen Arsenović <arsen@gentoo.org>2023-02-27 11:18:26 +0100
committerArsen Arsenović <arsen@gentoo.org>2023-02-27 11:18:40 +0100
commit8399b27d731e1813503308edb9fc956855de929b (patch)
treec6438b126c43b77d3f691978bd50ffa3ba5adcba /sys-boot
parentapp-admin/oet: Added pkgd version 0.0.0.2 (diff)
downloadguru-8399b27d731e1813503308edb9fc956855de929b.tar.gz
guru-8399b27d731e1813503308edb9fc956855de929b.tar.bz2
guru-8399b27d731e1813503308edb9fc956855de929b.zip
sys-boot/limine: add 4.20230227.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.20230227.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest
index 8a93ec0e4..9b06e95b0 100644
--- a/sys-boot/limine/Manifest
+++ b/sys-boot/limine/Manifest
@@ -7,3 +7,4 @@ DIST limine-4.20230212.1.tar.xz 725084 BLAKE2B d602c70d2d716f7025d81ead55139f3a9
DIST limine-4.20230216.1.tar.xz 783012 BLAKE2B 451e5afa3efa8f815da9a3226cab4da166f09fa36309cc066de6e1c3d7cbfce658ff4b0e4a55c9f362e00e50b3e33fc365db682c4f5a05969d77147be4fc5584 SHA512 1d1d65ba50387c21343b6e877c8dad50e2c3ec1fd5a59225b6557a2f964389761b6b8e2d90066edf5caa6cdb7128145d116b0df9c28b622d4aba00fb726edaf2
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
diff --git a/sys-boot/limine/limine-4.20230227.0.ebuild b/sys-boot/limine/limine-4.20230227.0.ebuild
new file mode 100644
index 000000000..e65ae979a
--- /dev/null
+++ b/sys-boot/limine/limine-4.20230227.0.ebuild
@@ -0,0 +1,55 @@
+# 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[@]}"
+}