I have the following error while trying to install the package with yay:
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
CMake Error at /usr/lib/cmake/KDSingleApplication-qt6/KDSingleApplication-qt6Config.cmake:15 (include):
include could not find requested file:
/usr/lib/cmake/KDSingleApplication-qt6/KDSingleApplication-qt6Targets.cmake
Call Stack (most recent call first):
CMakeLists.txt:128 (find_package)
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR)
-- KDSingleApplication is used!
Flameshot predefined color palette large: false
-- Found Git: /usr/bin/git (found version "2.51.0")
git found: /usr/bin/git in version 2.51.0
FLAMESHOT_GIT_HASH: f8ab6a67
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
-> error making: flameshot-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
flameshot-git - exit status 4
I have checked that all dependencies are installed on my system.
Based on this issue, it's suggested that something could be wrong with the PKGBUILD file, but it's pretty old, and I assume that this problem has been fixed since.
Thanks.
I think kdsingleapplication should be listed as a dependency. My AUR manager refuses to build the package because it's using it's own bundled version of the library and it's conflicting with the package manager version of said library which I already have installed
Thanks for everyone's comment, Now that we moved to Qt6 in the main repo, the dependencies are changed to reflect that too.
As @m0r4a and @c02y's comments show,kguiaddons5 should be replaced with kguiaddons, and all qt5-xxx changed to qt6-xxx(including qt5-base,qt5-svg and qt5-tools).
I think qt6-tools is required now
The latest version needs package kguiaddons which is v6.
I'm having an issue where flameshot only screenshots the main monitor when I launch it with flameshot gui, any idea how to solve that?
@earlybird
Can you check the pkgbuild to see what is wrong with it?
qt-color-widgets - error cmake version
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
add this line to the cmake
Thanks for bringing this up, but this was not an issue with AUR, but rather the cmake dependency in the main project. It was fixed in #3901 and the AUR now builds.