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 6B6E31581EE for ; Sat, 05 Apr 2025 07:40:52 +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 56F59343336 for ; Sat, 05 Apr 2025 07:40:52 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 86BFA1104C4; Sat, 05 Apr 2025 07:40:32 +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 7B1751104BE for ; Sat, 05 Apr 2025 07:40:32 +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 3278B343303 for ; Sat, 05 Apr 2025 07:40:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3A1A82807 for ; Sat, 05 Apr 2025 07:40:29 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1743783311.3f9aedcfece36796bc2eeace947b03e7e4450896.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprshot/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-apps/hyprshot/hyprshot-1.3.0-r1.ebuild gui-apps/hyprshot/hyprshot-1.3.0.ebuild X-VCS-Directories: gui-apps/hyprshot/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 3f9aedcfece36796bc2eeace947b03e7e4450896 X-VCS-Branch: master Date: Sat, 05 Apr 2025 07:40:29 +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: 9e43258c-fd2f-43df-8124-f60ed0954b3d X-Archives-Hash: 49e3e1d99db5a5c18b752935519f567a commit: 3f9aedcfece36796bc2eeace947b03e7e4450896 Author: Filip Kobierski pm me> AuthorDate: Fri Apr 4 15:50:48 2025 +0000 Commit: David Roman gmail com> CommitDate: Fri Apr 4 16:15:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f9aedcf gui-apps/hyprshot: improve ebuild a bit - improve DESCRIPTION - remove USE flags & add optfeatures - they were controlling runtime dependencies, which is incorrect Signed-off-by: Filip Kobierski pm.me> .../{hyprshot-1.3.0.ebuild => hyprshot-1.3.0-r1.ebuild} | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild b/gui-apps/hyprshot/hyprshot-1.3.0-r1.ebuild similarity index 66% rename from gui-apps/hyprshot/hyprshot-1.3.0.ebuild rename to gui-apps/hyprshot/hyprshot-1.3.0-r1.ebuild index ee8b5e9e7..7db972012 100644 --- a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild +++ b/gui-apps/hyprshot/hyprshot-1.3.0-r1.ebuild @@ -3,18 +3,17 @@ EAPI=8 -DESCRIPTION="Hyprshot is a utility to easily take screenshot in Hyprland using your mouse" +inherit optfeature + +DESCRIPTION="Utility to easily take screenshots in Hyprland using your mouse" HOMEPAGE="https://github.com/Gustash/Hyprshot/" SRC_URI="https://github.com/Gustash/Hyprshot/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}"/Hyprshot-${PV} LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="+xdg +freeze" - RDEPEND=" app-misc/jq gui-apps/grim @@ -22,11 +21,14 @@ RDEPEND=" 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 +}