From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1662571-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EC8E615852A
	for <garchives@archives.gentoo.org>; Sun, 18 Aug 2024 21:36:50 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 46842E29AF;
	Sun, 18 Aug 2024 21:36:50 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2A7ABE29AF
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Aug 2024 21:36:50 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 38427335C2E
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Aug 2024 21:36:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F18C1D9B
	for <gentoo-commits@lists.gentoo.org>; Sun, 18 Aug 2024 21:36:47 +0000 (UTC)
From: "Kacper Słomiński" <kacper.slominski72@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Kacper Słomiński" <kacper.slominski72@gmail.com>
Message-ID: <1724016986.2cb45836b98fac6c31cf0118d1643615a3a6dcb6.kacper.slominski72@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-boot/limine/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: sys-boot/limine/limine-8.0.5.ebuild sys-boot/limine/metadata.xml
X-VCS-Directories: sys-boot/limine/
X-VCS-Committer: kacper.slominski72
X-VCS-Committer-Name: Kacper Słomiński
X-VCS-Revision: 2cb45836b98fac6c31cf0118d1643615a3a6dcb6
X-VCS-Branch: dev
Date: Sun, 18 Aug 2024 21:36:47 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6d1a797e-eae2-4c45-b769-d1b872da573a
X-Archives-Hash: 3f4e3e164e3da8fc13b3a3642fc410c6

commit:     2cb45836b98fac6c31cf0118d1643615a3a6dcb6
Author:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
AuthorDate: Sun Aug 18 21:35:26 2024 +0000
Commit:     Kacper Słomiński <kacper.slominski72 <AT> gmail <DOT> com>
CommitDate: Sun Aug 18 21:36:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cb45836

sys-boot/limine: add USE flag for UEFI LoongArch64 bootloader

Signed-off-by: Kacper Słomiński <kacper.slominski72 <AT> gmail.com>

 sys-boot/limine/limine-8.0.5.ebuild | 5 +++--
 sys-boot/limine/metadata.xml        | 3 +++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-boot/limine/limine-8.0.5.ebuild b/sys-boot/limine/limine-8.0.5.ebuild
index 89044a592..4758f4e64 100644
--- a/sys-boot/limine/limine-8.0.5.ebuild
+++ b/sys-boot/limine/limine-8.0.5.ebuild
@@ -10,9 +10,9 @@ SRC_URI="https://github.com/limine-bootloader/limine/releases/download/v${PV}/li
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64 +uefirv64"
+IUSE="+bios +bios-pxe +bios-cd +cd-efi +uefi32 +uefi64 +uefiaa64 +uefirv64 +uefiloong64"
 
-MY_LLVM_TARGETS="AArch64 ARM X86 RISCV"
+MY_LLVM_TARGETS="AArch64 ARM X86 RISCV LoongArch"
 MY_LLVM_FLAGS="llvm_targets_${MY_LLVM_TARGETS// /(-),llvm_targets_}(-)"
 
 BDEPEND="
@@ -36,6 +36,7 @@ src_configure() {
 		"$(use_enable uefi64 uefi-x86-64)"
 		"$(use_enable uefiaa64 uefi-aarch64)"
 		"$(use_enable uefirv64 uefi-riscv64)"
+		"$(use_enable uefiloong64 uefi-loongarch64)"
 		"$(use_enable cd-efi uefi-cd)"
 	)
 

diff --git a/sys-boot/limine/metadata.xml b/sys-boot/limine/metadata.xml
index f42861f8a..0a6d23f73 100644
--- a/sys-boot/limine/metadata.xml
+++ b/sys-boot/limine/metadata.xml
@@ -21,6 +21,9 @@
     <flag name="uefirv64">
       Enable 64-bit RISC-V UEFI support.
     </flag>
+    <flag name="uefiloong64">
+      Enable 64-bit LoongArch UEFI support.
+    </flag>
     <flag name="cd-efi">
         Enable building cd-efi.bin using <pkg>sys-fs/mtools</pkg>.
         This flag was previously known as eltorito-efi.