commit:     a0dba1eec29f732b1dfae631a536fef218f20070
Author:     Misha Zavertkin <misha.zavertkin <AT> mail <DOT> ru>
AuthorDate: Mon Jun 24 15:45:43 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
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>[email protected]</email>
+               <name>Misha Zavertkin</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">Gustash/Hyprshot</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to