diff options
author | Misha Zavertkin <misha.zavertkin@mail.ru> | 2024-06-24 22:45:43 +0700 |
---|---|---|
committer | Lucio Sauer <watermanpaint@posteo.net> | 2024-07-03 18:16:25 +0200 |
commit | a0dba1eec29f732b1dfae631a536fef218f20070 (patch) | |
tree | 71ed8bd161b749de97d9050e4a13f6eca175d907 /gui-apps | |
parent | app-misc/anki-bin: add upstream metadata (diff) | |
download | guru-a0dba1eec29f732b1dfae631a536fef218f20070.tar.gz guru-a0dba1eec29f732b1dfae631a536fef218f20070.tar.bz2 guru-a0dba1eec29f732b1dfae631a536fef218f20070.zip |
gui-apps/hyprshot: new package
Signed-off-by: Misha Zavertkin <misha.zavertkin@mail.ru>
Closes: https://github.com/gentoo/guru/pull/198
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Diffstat (limited to 'gui-apps')
-rw-r--r-- | gui-apps/hyprshot/Manifest | 2 | ||||
-rw-r--r-- | gui-apps/hyprshot/hyprshot-1.2.3.ebuild | 34 | ||||
-rw-r--r-- | gui-apps/hyprshot/hyprshot-1.3.0.ebuild | 36 | ||||
-rw-r--r-- | gui-apps/hyprshot/hyprshot-9999.ebuild | 32 | ||||
-rw-r--r-- | gui-apps/hyprshot/metadata.xml | 11 |
5 files changed, 115 insertions, 0 deletions
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> |