# renovate: datasource=github-tags depName=quickshell-mirror/quickshell %global release_commit 4f508be500dea6e5732cc3d50382a0048b17e7b1 %global toolchain clang Name: quickshell Version: 0.3.2 Release: 6%{?dist} Summary: Flexible QtQuick based desktop shell toolkit License: LGPL-3.0-only AND GPL-3.0-only URL: https://github.com/quickshell-mirror/quickshell Source: %{url}/archive/%{release_commit}.tar.gz BuildRequires: cmake BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6CorePrivate) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6ShaderTools) BuildRequires: cmake(Qt6WaylandClient) BuildRequires: cmake(VulkanHeaders) BuildRequires: desktop-file-utils BuildRequires: clang BuildRequires: lld BuildRequires: llvm BuildRequires: compiler-rt BuildRequires: libstdc++-devel BuildRequires: ninja-build BuildRequires: pkgconfig(CLI11) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gbm) BuildRequires: pkgconfig(jemalloc) BuildRequires: pkgconfig(libdrm) BuildRequires: pkgconfig(libpipewire-0.3) BuildRequires: pkgconfig(pam) BuildRequires: pkgconfig(polkit-agent-1) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: spirv-tools Provides: desktop-notification-daemon %description Quickshell is a toolkit for building status bars, widgets, lockscreens, and other desktop components using QtQuick. It can be used alongside a Wayland compositor to build a complete desktop environment. %prep %autosetup -n %{name}-%{release_commit} -p1 %conf %cmake -GNinja \ -DCMAKE_C_COMPILER=clang \ -DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_AR=%{_bindir}/llvm-ar \ -DCMAKE_RANLIB=%{_bindir}/llvm-ranlib \ -DCMAKE_NM=%{_bindir}/llvm-nm \ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DDISTRIBUTOR="Fedora COPR (exponent64/packages/quickshell)" \ -DCRASH_HANDLER=OFF \ -DX11=OFF \ -DINSTALL_QML_PREFIX=%{_lib}/qt6/qml \ %{?commit:-DGIT_REVISION=%{commit}} \ %{nil} %build %cmake_build %install %cmake_install %check desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files %license LICENSE %license LICENSE-GPL %doc BUILD.md %doc CONTRIBUTING.md %doc README.md %doc changelog/v%{version}.md %{_bindir}/qs %{_bindir}/%{name} %{_datadir}/applications/org.%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/org.%{name}.svg %{_libdir}/qt6/qml/Quickshell %changelog %autochangelog