commit: 0afc35e138549ad6ce36a6f92ea888228027ba62 Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> AuthorDate: Mon May 19 12:54:19 2025 +0000 Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> CommitDate: Mon May 19 13:02:43 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0afc35e1
x11-misc/screengrab: add 3.0.0 - Now ScreenGrab can take screenshots under Wayland compositors that support "wlr screencopy protocol". - Added a command-line option for saving screenshot and exiting without showing window. - Show the window on the screen with cursor under X11. - Fixed 2 old X11 bugs in auto-saving and `--minimized` command-line option. - Use LXQt build tools for compilation. - GUI cleanup. Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> x11-misc/screengrab/Manifest | 1 + x11-misc/screengrab/screengrab-3.0.0.ebuild | 36 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/x11-misc/screengrab/Manifest b/x11-misc/screengrab/Manifest index 1f1bd643cf81..1f236ce4877b 100644 --- a/x11-misc/screengrab/Manifest +++ b/x11-misc/screengrab/Manifest @@ -1,3 +1,4 @@ DIST screengrab-2.10.0.tar.xz 349336 BLAKE2B a985a02c1d4b1a3d2642bc26ce4d613da47fe196c742b1e74a3b82967a109b48acb67fd38166154d676e4c2e9f3223b8e29b3d2c0affb82cf5b3f0b9b8e01b6b SHA512 ac2022a4abf65bc40ac05467311c6ffa0ef78d74629d46ffdfdc0eb5472eb061cd500db6563cba8d593d4bbf1d2152ba10bb4d6c9c28eaa5c098b5605c71efd2 DIST screengrab-2.8.0.tar.xz 345980 BLAKE2B 415a8ed9915c1605ef9f55214d60643e32f94bf9a9b833736a27ee39948865760e4e257600694c16eb8e5b5c38e73884354911808262e5a422aab83bad143c30 SHA512 e17208294a119a71e7239cb69abf77ec9d6c19b37efb0a53006f3a333a535974156211f362ebc117885cfdf7d93416d2196da9580ff4ab9cb9292228e8d8141f DIST screengrab-2.9.0.tar.xz 348316 BLAKE2B 9dd908ed5539848ee161df82dff49755b5e4c930e294719ee3e0ebe30590390d7005503d8a30f659b49bbbca726228ca20c6ef746aebbff1bd3617b9b23b7641 SHA512 cd9bc9546363a497ecef1110fc40635d5339e2e14b009e0fa3482fb31981d4dd818c5c66eb031c29c9668348607fe9bce4c2f1b42ad44ac760de8f0a40c90221 +DIST screengrab-3.0.0.tar.xz 376620 BLAKE2B d924348de2c1a8d3fff16daf2e7951057f8f6777c36cda70e0e4d8c70c8a3726669968944f3fbbd4ff1742ecacc2cc774f827f0de0b05b5b956cae58461f7339 SHA512 86356a1992379c4656fc423f22a92d49a6de55892260f71e923d6c25d4ca099ae0846926dbf516577c5801af993b4f0cd511f3f6da95e6adfc7c2dda1b779724 diff --git a/x11-misc/screengrab/screengrab-3.0.0.ebuild b/x11-misc/screengrab/screengrab-3.0.0.ebuild new file mode 100644 index 000000000000..5b1d2f93aa85 --- /dev/null +++ b/x11-misc/screengrab/screengrab-3.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +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 ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +LICENSE="GPL-2 GPL-2+ LGPL-2.1+" +SLOT="0" + +BDEPEND=" + >=dev-qt/qttools-6.6:6[linguist] + >=dev-util/lxqt-build-tools-2.2.0 +" +DEPEND=" + >=dev-libs/libqtxdg-4.2.0 + dev-libs/wayland + >=dev-qt/qtbase-6.6:6[dbus,gui,network,widgets] + >=dev-qt/qtwayland-6.6:6 + kde-frameworks/kwindowsystem:6[X] + kde-plasma/layer-shell-qt:6 + x11-libs/libX11 + x11-libs/libxcb:= +" +RDEPEND="${DEPEND}"
