aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimi Huotari <chiitoo@gentoo.org>2024-04-21 21:48:32 +0300
committerJimi Huotari <chiitoo@gentoo.org>2024-04-21 22:49:29 +0300
commit069671aa71eb0c88aa8944b1236a1b44673c678b (patch)
tree74f155cb7c389e00a939d576a85b919a84b1d87f /x11-misc
parentx11-misc/qps: new package, add 9999, 2.9.0 (diff)
downloadqt-069671aa71eb0c88aa8944b1236a1b44673c678b.tar.gz
qt-069671aa71eb0c88aa8944b1236a1b44673c678b.tar.bz2
qt-069671aa71eb0c88aa8944b1236a1b44673c678b.zip
x11-misc/screengrab: add 9999, 2.8.0
Initial qt6 version. 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/metadata.xml11
-rw-r--r--x11-misc/screengrab/screengrab-2.8.0.ebuild40
-rw-r--r--x11-misc/screengrab/screengrab-9999.ebuild40
4 files changed, 92 insertions, 0 deletions
diff --git a/x11-misc/screengrab/Manifest b/x11-misc/screengrab/Manifest
new file mode 100644
index 00000000..237a420b
--- /dev/null
+++ b/x11-misc/screengrab/Manifest
@@ -0,0 +1 @@
+DIST screengrab-2.8.0.tar.xz 345980 BLAKE2B 415a8ed9915c1605ef9f55214d60643e32f94bf9a9b833736a27ee39948865760e4e257600694c16eb8e5b5c38e73884354911808262e5a422aab83bad143c30 SHA512 e17208294a119a71e7239cb69abf77ec9d6c19b37efb0a53006f3a333a535974156211f362ebc117885cfdf7d93416d2196da9580ff4ab9cb9292228e8d8141f
diff --git a/x11-misc/screengrab/metadata.xml b/x11-misc/screengrab/metadata.xml
new file mode 100644
index 00000000..ab2bf534
--- /dev/null
+++ b/x11-misc/screengrab/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="project">
+ <email>qt@gentoo.org</email>
+ <name>Gentoo Qt Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">lxqt/screengrab</remote-id>
+ </upstream>
+</pkgmetadata>
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 00000000..59d1ca7f
--- /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
+}
diff --git a/x11-misc/screengrab/screengrab-9999.ebuild b/x11-misc/screengrab/screengrab-9999.ebuild
new file mode 100644
index 00000000..59d1ca7f
--- /dev/null
+++ b/x11-misc/screengrab/screengrab-9999.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
+}