commit: f88da61098487b387b543b24372e7a9d5aa7c141 Author: Arsen Arsenović <arsen <AT> gentoo <DOT> org> AuthorDate: Mon Feb 20 15:26:48 2023 +0000 Commit: Arsen Arsenović <arsen <AT> gentoo <DOT> org> CommitDate: Mon Feb 20 15:26:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f88da610
sys-boot/limine: add 4.20230219.0 Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org> sys-boot/limine/Manifest | 1 + sys-boot/limine/limine-4.20230219.0.ebuild | 57 ++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest index fcafadb3f..7c4bf91f2 100644 --- a/sys-boot/limine/Manifest +++ b/sys-boot/limine/Manifest @@ -5,3 +5,4 @@ DIST limine-3.4.4.tar.xz 3166260 BLAKE2B 67645f3461c43b7d600eb9353d8505d2b61abea 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 +DIST limine-4.20230219.0.tar.xz 782172 BLAKE2B 525308e0ccfbce2814b7fb497023d7e2e02cb0bab361f4b74e20c480c39fc4f88bbfc4510680be9b2ad099ad549ef447ad32ccc93faa9b79a8d650b7065307e6 SHA512 11fe20c726bb2a09f275fd83021ba2b7c5a2b5a9c820790129352ae371beeec858c34a39924e02ac7b634cdb1ba3092973ba55be6cab33d224f9b99e57dc7605 diff --git a/sys-boot/limine/limine-4.20230219.0.ebuild b/sys-boot/limine/limine-4.20230219.0.ebuild new file mode 100644 index 000000000..a87c8f4a0 --- /dev/null +++ b/sys-boot/limine/limine-4.20230219.0.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[@]}" +}