* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprshot/
@ 2024-07-04 11:19 David Roman
0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-07-04 11:19 UTC (permalink / raw
To: gentoo-commits
commit: a0dba1eec29f732b1dfae631a536fef218f20070
Author: Misha Zavertkin <misha.zavertkin <AT> mail <DOT> ru>
AuthorDate: Mon Jun 24 15:45:43 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jul 3 16:16:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0dba1ee
gui-apps/hyprshot: new package
Signed-off-by: Misha Zavertkin <misha.zavertkin <AT> mail.ru>
Closes: https://github.com/gentoo/guru/pull/198
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
gui-apps/hyprshot/Manifest | 2 ++
gui-apps/hyprshot/hyprshot-1.2.3.ebuild | 34 +++++++++++++++++++++++++++++++
gui-apps/hyprshot/hyprshot-1.3.0.ebuild | 36 +++++++++++++++++++++++++++++++++
gui-apps/hyprshot/hyprshot-9999.ebuild | 32 +++++++++++++++++++++++++++++
gui-apps/hyprshot/metadata.xml | 11 ++++++++++
5 files changed, 115 insertions(+)
diff --git a/gui-apps/hyprshot/Manifest b/gui-apps/hyprshot/Manifest
new file mode 100644
index 000000000..c5cecd2bd
--- /dev/null
+++ b/gui-apps/hyprshot/Manifest
@@ -0,0 +1,2 @@
+DIST hyprshot-1.2.3.tar.gz 15657 BLAKE2B a0fbe1e795e63536e7e184863299272535010ab666ab3adfbd4bdd6df9aee58580161772d2fca57c7779e2f7c5db48626ed69f1f2b55c9f20f0d336c6cdd7780 SHA512 f4f762e1063c5374dd1a9bfc697b9578be7d2a625cbb95224cc1b54142290ae466adc85eb0a6bd7eba81d3228a592bd8b1a5f9d34a407efa14378d668fa525da
+DIST hyprshot-1.3.0.tar.gz 16381 BLAKE2B 90711199532c8ae5618ce0228602fb7993556b1a7f2e6fc5baa1e49da81ec1e8e365550c2b4fcbc676e90cdc9ae9244ed1a356641160bd09f42affccb1c08378 SHA512 2177a8de11a728db19156217451f801af22cea6a127ad5629e6dac802c95474175e57c2284c0296814a0202e63bb4ca42a0b8101a67905918f3e198b3ea35598
diff --git a/gui-apps/hyprshot/hyprshot-1.2.3.ebuild b/gui-apps/hyprshot/hyprshot-1.2.3.ebuild
new file mode 100644
index 000000000..3c5782c68
--- /dev/null
+++ b/gui-apps/hyprshot/hyprshot-1.2.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit optfeature
+
+DESCRIPTION="Hyprshot is a utility to easily take screenshot 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"
+
+RDEPEND="
+ app-misc/jq
+ app-shells/bash
+ gui-apps/grim
+ gui-apps/slurp
+ gui-apps/wl-clipboard
+ gui-wm/hyprland
+ x11-libs/libnotify
+"
+
+src_install() {
+ dobin hyprshot
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature "XDG user dir support" x11-misc/xdg-user-dirs
+}
diff --git a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild b/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
new file mode 100644
index 000000000..267076f49
--- /dev/null
+++ b/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit optfeature
+
+DESCRIPTION="Hyprshot is a utility to easily take screenshot 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"
+
+RDEPEND="
+ app-misc/jq
+ app-shells/bash
+ gui-apps/grim
+ gui-apps/slurp
+ gui-apps/wl-clipboard
+ gui-wm/hyprland
+ x11-libs/libnotify
+"
+
+src_install() {
+ dobin hyprshot
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature "--freeze option support" gui-apps/hyprpicker
+ optfeature "XDG user dir support" x11-misc/xdg-user-dirs
+
+}
diff --git a/gui-apps/hyprshot/hyprshot-9999.ebuild b/gui-apps/hyprshot/hyprshot-9999.ebuild
new file mode 100644
index 000000000..2bdaa19ef
--- /dev/null
+++ b/gui-apps/hyprshot/hyprshot-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit git-r3 optfeature
+
+DESCRIPTION="Hyprshot is an utility to easily take screenshot 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"
+
+RDEPEND="
+ app-misc/jq
+ app-shells/bash
+ gui-apps/grim
+ gui-apps/slurp
+ gui-apps/wl-clipboard
+ gui-wm/hyprland
+ x11-libs/libnotify
+"
+
+src_install() {
+ dobin hyprshot
+ einstalldocs
+}
+
+pkg_postinst() {
+ optfeature "--freeze option support" gui-apps/hyprpicker
+ optfeature "XDG user dir support" x11-misc/xdg-user-dirs
+}
diff --git a/gui-apps/hyprshot/metadata.xml b/gui-apps/hyprshot/metadata.xml
new file mode 100644
index 000000000..4deb63664
--- /dev/null
+++ b/gui-apps/hyprshot/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>misha.zavertkin@mail.ru</email>
+ <name>Misha Zavertkin</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Gustash/Hyprshot</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprshot/
@ 2024-09-06 8:52 David Roman
0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-09-06 8:52 UTC (permalink / raw
To: gentoo-commits
commit: 22431298efccbc7bd7dcd85a133ec07851316440
Author: Michael Zavertkin <misha.zavertkin <AT> mail <DOT> ru>
AuthorDate: Thu Sep 5 17:35:01 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Sep 5 17:36:10 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22431298
gui-apps/hyprshot: optional deps install
Signed-off-by: Michael Zavertkin <misha.zavertkin <AT> mail.ru>
gui-apps/hyprshot/hyprshot-1.2.3.ebuild | 7 +++----
gui-apps/hyprshot/hyprshot-1.3.0.ebuild | 10 ++++------
gui-apps/hyprshot/hyprshot-9999.ebuild | 9 ++++-----
gui-apps/hyprshot/metadata.xml | 6 ++++++
4 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/gui-apps/hyprshot/hyprshot-1.2.3.ebuild b/gui-apps/hyprshot/hyprshot-1.2.3.ebuild
index 3c5782c68..3dee2b087 100644
--- a/gui-apps/hyprshot/hyprshot-1.2.3.ebuild
+++ b/gui-apps/hyprshot/hyprshot-1.2.3.ebuild
@@ -14,6 +14,8 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="+xdg"
+
RDEPEND="
app-misc/jq
app-shells/bash
@@ -22,13 +24,10 @@ RDEPEND="
gui-apps/wl-clipboard
gui-wm/hyprland
x11-libs/libnotify
+ xdg? ( x11-misc/xdg-user-dirs )
"
src_install() {
dobin hyprshot
einstalldocs
}
-
-pkg_postinst() {
- optfeature "XDG user dir support" x11-misc/xdg-user-dirs
-}
diff --git a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild b/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
index 267076f49..63eef4051 100644
--- a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
+++ b/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
@@ -14,6 +14,8 @@ LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="+xdg +freeze"
+
RDEPEND="
app-misc/jq
app-shells/bash
@@ -22,15 +24,11 @@ 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 "--freeze option support" gui-apps/hyprpicker
- optfeature "XDG user dir support" x11-misc/xdg-user-dirs
-
-}
diff --git a/gui-apps/hyprshot/hyprshot-9999.ebuild b/gui-apps/hyprshot/hyprshot-9999.ebuild
index 2bdaa19ef..95d75516f 100644
--- a/gui-apps/hyprshot/hyprshot-9999.ebuild
+++ b/gui-apps/hyprshot/hyprshot-9999.ebuild
@@ -11,6 +11,8 @@ EGIT_REPO_URI="https://github.com/Gustash/Hyprshot.git/"
LICENSE="GPL-3"
SLOT="0"
+IUSE="+xdg +freeze"
+
RDEPEND="
app-misc/jq
app-shells/bash
@@ -19,14 +21,11 @@ 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 "--freeze option support" gui-apps/hyprpicker
- optfeature "XDG user dir support" x11-misc/xdg-user-dirs
-}
diff --git a/gui-apps/hyprshot/metadata.xml b/gui-apps/hyprshot/metadata.xml
index 4deb63664..44001ae8f 100644
--- a/gui-apps/hyprshot/metadata.xml
+++ b/gui-apps/hyprshot/metadata.xml
@@ -8,4 +8,10 @@
<upstream>
<remote-id type="github">Gustash/Hyprshot</remote-id>
</upstream>
+ <use>
+ <flag name="xdg">Pull xdg-home as a dependency to use $XDG_PICTURES_DIR</flag>
+ </use>
+ <use>
+ <flag name="freeze">Pull gui-apps/hyprpicker for optional freezing screen</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprshot/
@ 2024-09-09 15:25 David Roman
0 siblings, 0 replies; 3+ messages in thread
From: David Roman @ 2024-09-09 15:25 UTC (permalink / raw
To: gentoo-commits
commit: 5270af842638dd601fca415d051e18964c39ebc6
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Sep 9 10:24:39 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Sep 9 12:51:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5270af84
gui-apps/hyprshot: fix invalid metadata
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
gui-apps/hyprshot/hyprshot-1.2.3.ebuild | 1 -
gui-apps/hyprshot/hyprshot-1.3.0.ebuild | 1 -
gui-apps/hyprshot/hyprshot-9999.ebuild | 2 +-
gui-apps/hyprshot/metadata.xml | 2 --
4 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/gui-apps/hyprshot/hyprshot-1.2.3.ebuild b/gui-apps/hyprshot/hyprshot-1.2.3.ebuild
index 3dee2b087..2c34fafe3 100644
--- a/gui-apps/hyprshot/hyprshot-1.2.3.ebuild
+++ b/gui-apps/hyprshot/hyprshot-1.2.3.ebuild
@@ -2,7 +2,6 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit optfeature
DESCRIPTION="Hyprshot is a utility to easily take screenshot in Hyprland using your mouse"
HOMEPAGE="https://github.com/Gustash/Hyprshot/"
diff --git a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild b/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
index 63eef4051..d0a6057e4 100644
--- a/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
+++ b/gui-apps/hyprshot/hyprshot-1.3.0.ebuild
@@ -2,7 +2,6 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit optfeature
DESCRIPTION="Hyprshot is a utility to easily take screenshot in Hyprland using your mouse"
HOMEPAGE="https://github.com/Gustash/Hyprshot/"
diff --git a/gui-apps/hyprshot/hyprshot-9999.ebuild b/gui-apps/hyprshot/hyprshot-9999.ebuild
index 95d75516f..3d29e726e 100644
--- a/gui-apps/hyprshot/hyprshot-9999.ebuild
+++ b/gui-apps/hyprshot/hyprshot-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit git-r3 optfeature
+inherit git-r3
DESCRIPTION="Hyprshot is an utility to easily take screenshot in Hyprland using your mouse"
HOMEPAGE="https://github.com/Gustash/Hyprshot/"
diff --git a/gui-apps/hyprshot/metadata.xml b/gui-apps/hyprshot/metadata.xml
index 44001ae8f..efb842441 100644
--- a/gui-apps/hyprshot/metadata.xml
+++ b/gui-apps/hyprshot/metadata.xml
@@ -10,8 +10,6 @@
</upstream>
<use>
<flag name="xdg">Pull xdg-home as a dependency to use $XDG_PICTURES_DIR</flag>
- </use>
- <use>
<flag name="freeze">Pull gui-apps/hyprpicker for optional freezing screen</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-09 15:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-04 11:19 [gentoo-commits] repo/proj/guru:master commit in: gui-apps/hyprshot/ David Roman
-- strict thread matches above, loose matches on Subject: below --
2024-09-06 8:52 David Roman
2024-09-09 15:25 David Roman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox