commit: 96ef23f8dd56deffcb2f700f5743e193792ae23a Author: Arsen Arsenović <arsen <AT> gentoo <DOT> org> AuthorDate: Fri Feb 24 10:24:18 2023 +0000 Commit: Arsen Arsenović <arsen <AT> gentoo <DOT> org> CommitDate: Fri Feb 24 10:24:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96ef23f8
sys-boot/limine: add 4.20230221.0 Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org> sys-boot/limine/Manifest | 1 + sys-boot/limine/limine-4.20230221.0.ebuild | 57 ++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/sys-boot/limine/Manifest b/sys-boot/limine/Manifest index 7c4bf91f2..8a93ec0e4 100644 --- a/sys-boot/limine/Manifest +++ b/sys-boot/limine/Manifest @@ -6,3 +6,4 @@ DIST limine-3.4.5.tar.xz 3166660 BLAKE2B 55ddb79af352c1e515b0d423a4e41c50c2ca67f 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 +DIST limine-4.20230221.0.tar.xz 782956 BLAKE2B 29edaae0698b7d3ce9a1a3b7b1ce9e28402294681121b30f7d7b3359a2da2bffa0037e94393c7137caae8008e1f4d88a226cc36d50b4a0b20e8433d7bd75f678 SHA512 99d9341ffa2e2906d4d5086bc2d27ba217bfd68742bc6ee734734d8c75f9eee2b761b84e622e76f14a87b2128105cefe42dca330441f43ecd4d210670176da91 diff --git a/sys-boot/limine/limine-4.20230221.0.ebuild b/sys-boot/limine/limine-4.20230221.0.ebuild new file mode 100644 index 000000000..a87c8f4a0 --- /dev/null +++ b/sys-boot/limine/limine-4.20230221.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[@]}" +}