Name: kquickimageeditor Version: 0.6.2.1 Release: 1%{?dist} Summary: Simple image editor for QtQuick applications License: BSD-2-Clause AND CC0-1.0 AND GFDL-1.2-only AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only URL: https://invent.kde.org/libraries/kquickimageeditor Source0: https://download.kde.org/stable/kquickimageeditor/kquickimageeditor-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: kf6-rpm-macros BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(KF6Config) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Quick) %description KQuickImageEditor is a small QtQuick image-cropping/editing library, the third package in the Wayland stack being built to unblock Spectacle (after wayland-protocols and plasma-wayland-protocols). Its own CMakeLists.txt defaults WITH_OPENCV to TRUE on Unix, which escalates OpenCV to a hard REQUIRED find_package() -- OpenCV is confirmed absent from this distro's package repos entirely (a huge computer-vision library, genuinely out of scope to build from source for one optional blur backend). This is a real, upstream-provided cmake_dependent_option, not a hidden hard link, so passed -DWITH_OPENCV=OFF cleanly -- the library loses only its OpenCV-based blur implementation, everything else (crop, the core QtQuick image editing surface Spectacle/other apps consume) is unaffected. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel %{summary}. %prep %autosetup -p1 %build %cmake_kf6 -DWITH_OPENCV=OFF -DBUILD_TESTING:BOOL=OFF %cmake_build_kf6 %install %cmake_install_kf6 %files %license LICENSES/* %{_kf6_libdir}/libKQuickImageEditor.so.1* %{_qt6_qmldir}/org/kde/kquickimageeditor/ %files devel %{_includedir}/KQuickImageEditor/ %{_includedir}/kquickimageeditor/ %{_kf6_libdir}/libKQuickImageEditor.so %{_datadir}/cmake/KQuickImageEditor/ %{_qt6_mkspecsdir}/modules/qt_lib_kquickimageeditor.pri %changelog * Sun Aug 30 2026 Smech - 0.6.2.1-1 - Real upstream source. Third package in the Wayland stack being built to unblock Spectacle. Disabled the OpenCV-based blur backend via the real WITH_OPENCV cmake_dependent_option (confirmed OpenCV itself isn't packaged on this distro at all, and building it from source would be its own large side-quest disproportionate to one optional blur mode). %%files QML module path (%{_qt6_qmldir}/org/kde/kquickimageeditor/) is a first-pass estimate based on ecm_add_qml_module's standard install convention for reusable (non-executable) QML modules -- unlike Filelight earlier this session, this is a library meant to be `import`ed by other QML code, so it should install a real qmldir rather than compiling everything into a binary resource; expect a real-error correction round if the path is wrong.