From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1734151-garchives=archives.gentoo.org@lists.gentoo.org>
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) server-digest SHA256)
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EDD9C1581EE
	for <garchives@archives.gentoo.org>; Fri, 04 Apr 2025 21:40:00 +0000 (UTC)
Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189])
	(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)
	(Authenticated sender: relay-lists.gentoo.org@gentoo.org)
	by smtp.gentoo.org (Postfix) with ESMTPSA id D5663340BE0
	for <garchives@archives.gentoo.org>; Fri, 04 Apr 2025 21:40:00 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id F3A281104B6;
	Fri, 04 Apr 2025 21:39:56 +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 bobolink.gentoo.org (Postfix) with ESMTPS id E36B41104B6
	for <gentoo-commits@lists.gentoo.org>; Fri, 04 Apr 2025 21:39:56 +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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 94A443431FE
	for <gentoo-commits@lists.gentoo.org>; Fri, 04 Apr 2025 21:39:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id EEBA1146A
	for <gentoo-commits@lists.gentoo.org>; Fri, 04 Apr 2025 21:39:54 +0000 (UTC)
From: "Johannes Huber" <johu@gmx.de>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" <johu@gmx.de>
Message-ID: <1743802502.0daf768ae1459d9210586f1f4c32dda9547f7341.johu@gentoo>
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hyprsunset/
X-VCS-Repository: repo/proj/guru
X-VCS-Files: gui-apps/hyprsunset/hyprsunset-9999.ebuild
X-VCS-Directories: gui-apps/hyprsunset/
X-VCS-Committer: johu
X-VCS-Committer-Name: Johannes Huber
X-VCS-Revision: 0daf768ae1459d9210586f1f4c32dda9547f7341
X-VCS-Branch: dev
Date: Fri, 04 Apr 2025 21:39:54 +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: 97dc3916-c4fd-42bd-b8f3-e01c24735a5a
X-Archives-Hash: 4b82d7b025f953a130cdd37b611777b9

commit:     0daf768ae1459d9210586f1f4c32dda9547f7341
Author:     Johannes Huber <johu <AT> gmx <DOT> de>
AuthorDate: Fri Apr  4 21:35:02 2025 +0000
Commit:     Johannes Huber <johu <AT> gmx <DOT> de>
CommitDate: Fri Apr  4 21:35:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0daf768a

gui-apps/hyprsunset: improve live

- sort deps
- live/release switch for easy version bumps

Signed-off-by: Johannes Huber <johu <AT> gmx.de>

 gui-apps/hyprsunset/hyprsunset-9999.ebuild | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gui-apps/hyprsunset/hyprsunset-9999.ebuild b/gui-apps/hyprsunset/hyprsunset-9999.ebuild
index bad110fdd..3db97109e 100644
--- a/gui-apps/hyprsunset/hyprsunset-9999.ebuild
+++ b/gui-apps/hyprsunset/hyprsunset-9999.ebuild
@@ -1,26 +1,34 @@
 # Copyright 2024-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
+
 EAPI=8
 
-inherit cmake git-r3
+inherit cmake
 
 DESCRIPTION="An application to enable a blue-light filter on Hyprland"
 HOMEPAGE="https://wiki.hyprland.org/Hypr-Ecosystem/hyprsunset"
-EGIT_REPO_URI="https://github.com/hyprwm/hyprsunset.git"
+
+if [[ "${PV}" = *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/hyprwm/${PN^}.git"
+else
+	SRC_URI="https://github.com/hyprwm/${PN^}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
 
 LICENSE="BSD"
 SLOT="0"
 
 RDEPEND="
-	gui-wm/hyprland:=
 	dev-libs/wayland
 	>=gui-libs/hyprutils-0.2.3:=
+	gui-wm/hyprland:=
 "
 
 DEPEND="
 	${RDEPEND}
-	dev-libs/wayland-protocols
 	>=dev-libs/hyprland-protocols-0.4.0
+	dev-libs/wayland-protocols
 	>=dev-util/hyprwayland-scanner-0.4.0
 	dev-util/wayland-scanner
 "