summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2024-06-14 23:19:58 +0300
committerJimi Huotari <chiitoo@gentoo.org>2024-06-15 00:48:31 +0300
commit1b6323362e29843cee7088610d2ef7daf35bda9d (patch)
treec1552d1d3de17c53bdcc550e974df4a51a389ef4 /x11-misc
parentx11-misc/qps: add 2.9.0 (diff)
downloadgentoo-1b6323362e29843cee7088610d2ef7daf35bda9d.tar.gz
gentoo-1b6323362e29843cee7088610d2ef7daf35bda9d.tar.bz2
gentoo-1b6323362e29843cee7088610d2ef7daf35bda9d.zip
x11-misc/screengrab: add 2.8.0
Signed-off-by: Jimi Huotari <chiitoo@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/screengrab/Manifest1
-rw-r--r--x11-misc/screengrab/screengrab-2.8.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/x11-misc/screengrab/Manifest b/x11-misc/screengrab/Manifest
index ed031be0fb24..dfc36a212f6e 100644
--- a/x11-misc/screengrab/Manifest
+++ b/x11-misc/screengrab/Manifest
@@ -1,2 +1,3 @@
DIST screengrab-2.6.0.tar.xz 337392 BLAKE2B 086490ef883ce1a317da00d7580f1b5162d6273f2a7caa286ccfb00ba3017631d2c58a127d8ca735d4d9f5947b46a8a5b0f6b315dba857153789a0f353846f6a SHA512 622bd9fa4548dbbd2b965f2a38446d6b6002786ff2154f9efe86a4970ac464174d1d7e34b8fdc61761f935c97bf4ac8bb2e8ffd166b859cddd3183bd76380b88
DIST screengrab-2.7.0.tar.xz 341696 BLAKE2B ad45155caa4964577626d54a067d20935c7419e4a54b725077fb5d0db21b8a7b55c6caebedf6522c74cf8026487d203f8570f57f9f9f71ad11609175b901124c SHA512 0becd8972408a788b56affc9091cdc9ce1fe79160bba27ae29c5f1bf48ed0b73bafdabf3aeaac1eafe646aeaa4e162c0302b7ba1ee4f07785010e50a7d8131a1
+DIST screengrab-2.8.0.tar.xz 345980 BLAKE2B 415a8ed9915c1605ef9f55214d60643e32f94bf9a9b833736a27ee39948865760e4e257600694c16eb8e5b5c38e73884354911808262e5a422aab83bad143c30 SHA512 e17208294a119a71e7239cb69abf77ec9d6c19b37efb0a53006f3a333a535974156211f362ebc117885cfdf7d93416d2196da9580ff4ab9cb9292228e8d8141f
diff --git a/x11-misc/screengrab/screengrab-2.8.0.ebuild b/x11-misc/screengrab/screengrab-2.8.0.ebuild
new file mode 100644
index 000000000000..59d1ca7f53eb
--- /dev/null
+++ b/x11-misc/screengrab/screengrab-2.8.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="Qt GUI Screenshot Utility"
+HOMEPAGE="https://lxqt.github.io/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/lxqt/${PN}.git"
+else
+ SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2 GPL-2+ LGPL-2.1+"
+SLOT="0"
+
+BDEPEND=">=dev-qt/qttools-6.6:6[linguist]"
+DEPEND="
+ >=dev-libs/libqtxdg-4.0.0
+ >=dev-qt/qtbase-6.6:6[dbus,gui,network,widgets]
+ kde-frameworks/kwindowsystem:6[X]
+ x11-libs/libX11
+ x11-libs/libxcb:=
+"
+RDEPEND="${DEPEND}"
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}