It appears that kguiaddons5
is a mandatory make
dependency - attempting to build in a clean chroot with aurto
fails. However, building with yay
(when I've got kguiaddons5
already installed on my system) does succeed.
Full error from chroot build
CMake Warning at src/CMakeLists.txt:14 (find_package):
By not providing "FindKF5GuiAddons.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"KF5GuiAddons", but CMake did not find one.
Could not find a package configuration file provided by "KF5GuiAddons" with
any of the following names:
KF5GuiAddonsConfig.cmake
kf5guiaddons-config.cmake
Add the installation prefix of "KF5GuiAddons" to CMAKE_PREFIX_PATH or set
"KF5GuiAddons_DIR" to a directory containing one of the above files. If
"KF5GuiAddons" provides a separate development package or SDK, be sure it
has been installed.
Flameshot predefined color palette large: false
-- Found Git: /usr/bin/git (found version "2.42.0")
git found: /usr/bin/git in version 2.42.0
FLAMESHOT_GIT_HASH: fa29bcb4
-- Configuring done (0.6s)
CMake Error at src/CMakeLists.txt:217 (target_link_libraries):
Target "flameshot" links to:
KF5::GuiAddons
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
Pinned Comments
GC268DM commented on 2022-05-29 10:40 (UTC)
What worked for me was
Where -a stands for aur and --devel for development packages.
Since the --devel flag checks if behind the development packages (like "*-git" packages) there are any newer versions, it will update to the latest version of the package in git and not require and update on the aur listing
mehrad commented on 2022-01-19 10:26 (UTC) (edited on 2022-01-19 10:28 (UTC) by mehrad)
Please stop flagging this AUR as out-of-date unless you have tried these:
If you use a proper AUR helper (e.g
paru
,yay
) this AUR will be use the latest commit of the Github repo. If you usepamac
, it will not update based on the latest commit automatically and you should dopamac install --upgrade flameshot-git
to force it to check for upgrades. Therefore, this AUR cannot become out-of-date unless the Github URL or dependencies get out of date.