diff options
author | Arsen Arsenović <arsen@gentoo.org> | 2023-02-13 21:17:03 +0100 |
---|---|---|
committer | Arsen Arsenović <arsen@gentoo.org> | 2023-02-14 10:38:00 +0100 |
commit | bba9194644cefba67c1f466243b38b92d672ecad (patch) | |
tree | 991c5766eef26ce8a9300f1ca0aaef113107b5f6 /sys-boot | |
parent | sys-fs/ddrescueview: fix QA issues (diff) | |
download | guru-bba9194644cefba67c1f466243b38b92d672ecad.tar.gz guru-bba9194644cefba67c1f466243b38b92d672ecad.tar.bz2 guru-bba9194644cefba67c1f466243b38b92d672ecad.zip |
sys-boot/limine: add 4.20230212.1
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'sys-boot')
-rw-r--r-- | sys-boot/limine/Manifest | 1 | ||||
-rw-r--r-- | sys-boot/limine/limine-4.20230212.1.ebuild | 57 | ||||
-rw-r--r-- | sys-boot/limine/metadata.xml | 6 |
3 files changed, 64 insertions, 0 deletions
diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest index 1a3f7d682..5b31c9a5d 100644 --- a/sys-boot/limine/Manifest +++ b/sys-boot/limine/Manifest @@ -3,3 +3,4 @@ DIST limine-3.0.tar.xz 3164168 BLAKE2B fedd161ec8957fd2b3245d8a7a6bffaeab4fa7629 DIST limine-3.4.3.tar.xz 3165344 BLAKE2B fe2afef5c960d9cfb78883ebe02d0fab754e40b466630ec3959d77e3f62f533e94d0ba3ecfda06688b8705140514c9aa4bb5c9e3c91ef884879e9e75c24fcd61 SHA512 986f95e3a12b5d4ae5f166f4d7388aa5feb12fa4b03f0acb8aa00a7494fbd37e53961b5afc2a85b1f399a742a78b72f70c9268792f652a64a491a142d3260256 DIST limine-3.4.4.tar.xz 3166260 BLAKE2B 67645f3461c43b7d600eb9353d8505d2b61abea285eaf4498020c6e19b59b18eccda01316210a918dff712548ad5c08e937c33a5e6ff88bb8a81cc584ae11d87 SHA512 cf5b781963e98379bd8b53819c3afd1e4160f8f088f257131e392aa76f7f7ef71c3a67ae7274514afe30e52f06eb3c52d24a86a482ca6631c4ebddb692be6794 DIST limine-3.4.5.tar.xz 3166660 BLAKE2B 55ddb79af352c1e515b0d423a4e41c50c2ca67f7c3715182c27696c1f41cb271d2d7d967b41430f7782f183899675c3e6c7622805a2953d6e4459cd33ed1d343 SHA512 cc72d3612e757ad79aa5801540581e8e8de568d5cb60b3e4edd6e68ccba40f2a42ceaa6b649aa1c60895be1c528c6e5892a3dfc3791b78d9d3780baf47b98eb0 +DIST limine-4.20230212.1.tar.xz 725084 BLAKE2B d602c70d2d716f7025d81ead55139f3a964f23dbf55a30bc74d11ef920cc698e3e519400df119f4b718e654d176c5b3fb23ac08fa506655c331f5866771fe541 SHA512 416b43d205b8034bb0cbd5ffd0eda9cc972ca5718c71ec5253275c3611b4560a92f99a0fa7c207ff9fb35d2636826cd51d0088e1cda7f1d5e83b7d31108c6f01 diff --git a/sys-boot/limine/limine-4.20230212.1.ebuild b/sys-boot/limine/limine-4.20230212.1.ebuild new file mode 100644 index 000000000..a87c8f4a0 --- /dev/null +++ b/sys-boot/limine/limine-4.20230212.1.ebuild @@ -0,0 +1,57 @@ +# 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[@]}" +} diff --git a/sys-boot/limine/metadata.xml b/sys-boot/limine/metadata.xml index 62b2da5b8..3695b8c49 100644 --- a/sys-boot/limine/metadata.xml +++ b/sys-boot/limine/metadata.xml @@ -5,6 +5,9 @@ <email>arsen@aarsen.me</email> <name>Arsen Arsenović</name> </maintainer> + <upstream> + <remote-id type="github">limine-bootloader/limine</remote-id> + </upstream> <use> <flag name="uefi"> Enable UEFI support. @@ -15,6 +18,9 @@ <flag name="uefi64"> Enable 64-bit UEFI support. </flag> + <flag name="uefiaa64"> + Enable AArch64 UEFI support. + </flag> <flag name="eltorito-efi"> Enable building eltorito-efi.bin using <pkg>sys-fs/mtools</pkg>. </flag> |