From 25922912c7e37f3bc3000e71b647e77677d8f2c5 Mon Sep 17 00:00:00 2001 From: coast Date: Mon, 12 Oct 2026 14:41:07 +0330 Subject: sync --- .../x11-apps/flameshot/flameshot-14.0.0.exheres-0 | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 packages/x11-apps/flameshot/flameshot-14.0.0.exheres-0 (limited to 'packages/x11-apps/flameshot') 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 +# 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 +} -- cgit v1.3