summaryrefslogtreecommitdiffstats
path: root/packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0
diff options
context:
space:
mode:
Diffstat (limited to 'packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0')
-rw-r--r--packages/x11-apps/flameshot/flameshot-14.0.0.exheres-065
1 files changed, 65 insertions, 0 deletions
diff --git a/packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0 b/packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0
new file mode 100644
index 0000000..480ffff
--- /dev/null
+++ b/packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0
@@ -0,0 +1,65 @@
+# Copyright 2026 Gurov <thuggerthugger1@duck.com>
+# Distributed under the terms of the GNU General Public License v2
+
+require cmake
+
+SUMMARY="Powerful yet simple to use screenshot software"
+HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot"
+
+DOWNLOADS="
+ https://github.com/flameshot-org/flameshot/archive/refs/tags/v${PV}.tar.gz
+ -> ${PNV}.tar.gz
+"
+
+LICENCES="
+ Apache-2.0
+ FAL-1.3
+ GPL-3+
+"
+SLOT="0"
+PLATFORMS="~amd64"
+
+MYOPTIONS="
+ imgur [[
+ description = [ Enable Imgur uploader ]
+ ]]
+
+ wayland [[
+ description = [ Enable Wayland clipboard support ]
+ ]]
+"
+
+DEPENDENCIES="
+ build:
+ x11-libs/qttools:6[linguist]
+
+ build+run:
+ dev-libs/kdsingleapplication
+ gui-libs/qt-color-widgets
+ sys-apps/dbus
+ x11-libs/qtbase:6[gui]
+ x11-libs/qtsvg:6
+
+ wayland? (
+ kde-frameworks/kguiaddons:6[wayland]
+ )
+"
+
+src_configure() {
+ CMAKE_SRC_CONFIGURE_PARAMS=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
+ -DDISABLE_UPDATE_CHECKER=ON
+ -DENABLE_CACHE=0
+ -DENABLE_IMGUR="$(option imgur ON OFF)"
+ -DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
+ -DUSE_BUNDLED_KDSINGLEAPPLICATION=OFF
+ -DUSE_KDSINGLEAPPLICATION=ON
+ -DUSE_WAYLAND_CLIPBOARD="$(option wayland ON OFF)"
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+}