summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2023-04-13 18:00:03 +0800
committerSam James <sam@gentoo.org>2023-04-14 02:05:20 +0100
commit9474805514651c85628be780897a6317804d9716 (patch)
tree7bf92fb632a4ffe704b00dfc32b00cb84aea789a
parentnet-news/liferea: drop 1.14.4 (diff)
downloadgentoo-9474805514651c85628be780897a6317804d9716.tar.gz
gentoo-9474805514651c85628be780897a6317804d9716.tar.bz2
gentoo-9474805514651c85628be780897a6317804d9716.zip
media-gfx/flameshot: fix wayland clipboard behavior
Closes: https://bugs.gentoo.org/904266 Signed-off-by: Huang Rui <vowstar@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--media-gfx/flameshot/flameshot-12.1.0-r1.ebuild (renamed from media-gfx/flameshot/flameshot-12.1.0.ebuild)11
1 files changed, 7 insertions, 4 deletions
diff --git a/media-gfx/flameshot/flameshot-12.1.0.ebuild b/media-gfx/flameshot/flameshot-12.1.0-r1.ebuild
index fa3545cbb409..f88dd873b6b5 100644
--- a/media-gfx/flameshot/flameshot-12.1.0.ebuild
+++ b/media-gfx/flameshot/flameshot-12.1.0-r1.ebuild
@@ -12,16 +12,18 @@ SRC_URI="https://github.com/flameshot-org/flameshot/archive/v${PV}.tar.gz -> ${P
LICENSE="Apache-2.0 Free-Art-1.3 GPL-3+"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
+IUSE="wayland"
DEPEND="
+ =dev-qt/qtsingleapplication-2.6*[qt5(+),X]
dev-qt/qtcore:5
+ dev-qt/qtdbus:5
dev-qt/qtgui:5
- =dev-qt/qtsingleapplication-2.6*[qt5(+),X]
- dev-qt/qtwidgets:5
- dev-qt/qtsvg:5
dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
sys-apps/dbus
+ wayland? ( kde-frameworks/kguiaddons )
"
BDEPEND="
dev-qt/linguist-tools:5
@@ -38,6 +40,7 @@ src_configure() {
local mycmakeargs=(
-DUSE_EXTERNAL_SINGLEAPPLICATION=1
-DENABLE_CACHE=0
+ -DUSE_WAYLAND_CLIPBOARD=$(usex wayland)
)
cmake_src_configure