Name: kquickimageeditor Version: 0.6.2.1 Release: 3%{?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.* %{_qt6_qmldir}/org/kde/kquickimageeditor/ %files devel %{_includedir}/KQuickImageEditor/ %{_kf6_libdir}/libKQuickImageEditor.so %{_libdir}/cmake/KQuickImageEditor/ %{_qt6_mkspecsdir}/modules/qt_KQuickImageEditor.pri %changelog * Sun Aug 30 2026 Smech - 0.6.2.1-3 - R2 fixed the three include/cmake/pri path mistakes but hit the same VERSION/SOVERSION mismatch class as Gwenview earlier this session: libKQuickImageEditor.so.0.6.2 (real VERSION) is a different file from .so.1 (SOVERSION), and the glob only matched the latter. Switched to a single broad .so.* glob. * Sun Aug 30 2026 Smech - 0.6.2.1-2 - R1 compiled cleanly and the QML module path guess (%{_qt6_qmldir}/org/kde/kquickimageeditor/) was correct. Three real path mistakes: the lowercase real headers install NESTED inside the capital %{_includedir}/KQuickImageEditor/kquickimageeditor/, not as a separate top-level %{_includedir}/kquickimageeditor/ dir (the single capital-dir glob already covers it, so the wrong extra line was just dropped); the cmake config dir is %{_libdir}/cmake/KQuickImageEditor/, not %{_datadir}/cmake/KQuickImageEditor/; and the real .pri filename is qt_KQuickImageEditor.pri (no "lib_" prefix, mixed case), not qt_lib_kquickimageeditor.pri as guessed. All confirmed against the real -- Installing: lines in the build log. * 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.