diff options
author | Arsen Arsenović <arsen@gentoo.org> | 2023-02-17 15:12:17 +0100 |
---|---|---|
committer | Arsen Arsenović <arsen@gentoo.org> | 2023-02-17 15:17:14 +0100 |
commit | 17ab0b692e094d7123d4addef95cf7cf63da77a8 (patch) | |
tree | eb2f3fb20be8746aa159876e37f53ddff55068d3 /sys-boot/limine | |
parent | www-apps/gogs: security bump (diff) | |
download | guru-17ab0b692e094d7123d4addef95cf7cf63da77a8.tar.gz guru-17ab0b692e094d7123d4addef95cf7cf63da77a8.tar.bz2 guru-17ab0b692e094d7123d4addef95cf7cf63da77a8.zip |
sys-boot/limine: add 4.20230216.1
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
Diffstat (limited to 'sys-boot/limine')
-rw-r--r-- | sys-boot/limine/Manifest | 1 | ||||
-rw-r--r-- | sys-boot/limine/limine-4.20230216.1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest index 5b31c9a5d..fcafadb3f 100644 --- a/sys-boot/limine/Manifest +++ b/sys-boot/limine/Manifest @@ -4,3 +4,4 @@ DIST limine-3.4.3.tar.xz 3165344 BLAKE2B fe2afef5c960d9cfb78883ebe02d0fab754e40b 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 +DIST limine-4.20230216.1.tar.xz 783012 BLAKE2B 451e5afa3efa8f815da9a3226cab4da166f09fa36309cc066de6e1c3d7cbfce658ff4b0e4a55c9f362e00e50b3e33fc365db682c4f5a05969d77147be4fc5584 SHA512 1d1d65ba50387c21343b6e877c8dad50e2c3ec1fd5a59225b6557a2f964389761b6b8e2d90066edf5caa6cdb7128145d116b0df9c28b622d4aba00fb726edaf2 diff --git a/sys-boot/limine/limine-4.20230216.1.ebuild b/sys-boot/limine/limine-4.20230216.1.ebuild new file mode 100644 index 000000000..a87c8f4a0 --- /dev/null +++ b/sys-boot/limine/limine-4.20230216.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[@]}" +} |