From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id A856E1581EE for ; Fri, 04 Apr 2025 16:21:33 +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 7ECAA34321C for ; Fri, 04 Apr 2025 16:21:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DDA401104B7; Fri, 04 Apr 2025 16:21:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D64B21104B7 for ; Fri, 04 Apr 2025 16:21:28 +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 87141343164 for ; Fri, 04 Apr 2025 16:21:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDC1C2777 for ; Fri, 04 Apr 2025 16:21:26 +0000 (UTC) From: "Filip Kobierski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Filip Kobierski" Message-ID: <1743783640.5187a389969d8125f5275f4ae8e0744b563089a6.fkobi@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-apps/hyprshot/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-apps/hyprshot/hyprshot-9999.ebuild X-VCS-Directories: gui-apps/hyprshot/ X-VCS-Committer: fkobi X-VCS-Committer-Name: Filip Kobierski X-VCS-Revision: 5187a389969d8125f5275f4ae8e0744b563089a6 X-VCS-Branch: dev Date: Fri, 04 Apr 2025 16:21:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dbcc7210-47c4-4abe-9054-d7e7a237efb8 X-Archives-Hash: 31c0e535d51472e9fe3b4ab6d560661c commit: 5187a389969d8125f5275f4ae8e0744b563089a6 Author: Filip Kobierski pm me> AuthorDate: Fri Apr 4 16:16:08 2025 +0000 Commit: Filip Kobierski pm me> CommitDate: Fri Apr 4 16:20:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5187a389 gui-apps/hyprshot: sync live Signed-off-by: Filip Kobierski pm.me> gui-apps/hyprshot/hyprshot-9999.ebuild | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gui-apps/hyprshot/hyprshot-9999.ebuild b/gui-apps/hyprshot/hyprshot-9999.ebuild index 3d29e726e..085e84d4c 100644 --- a/gui-apps/hyprshot/hyprshot-9999.ebuild +++ b/gui-apps/hyprshot/hyprshot-9999.ebuild @@ -1,31 +1,32 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit git-r3 -DESCRIPTION="Hyprshot is an utility to easily take screenshot in Hyprland using your mouse" +inherit git-r3 optfeature + +DESCRIPTION="Utility to easily take screenshots in Hyprland using your mouse" HOMEPAGE="https://github.com/Gustash/Hyprshot/" EGIT_REPO_URI="https://github.com/Gustash/Hyprshot.git/" LICENSE="GPL-3" SLOT="0" -IUSE="+xdg +freeze" - RDEPEND=" app-misc/jq - app-shells/bash gui-apps/grim gui-apps/slurp gui-apps/wl-clipboard gui-wm/hyprland x11-libs/libnotify - xdg? ( x11-misc/xdg-user-dirs ) - freeze? ( gui-apps/hyprpicker ) " src_install() { dobin hyprshot einstalldocs } + +pkg_postinst() { + optfeature "Screen freezing with --freeze" gui-apps/hyprpicker + optfeature "$XDG_PICTURES_DIR detection" x11-misc/xdg-user-dirs +}