%bcond asan 0 # renovate: datasource=github-tags depName=quickshell-mirror/quickshell %global release_commit 4f508be500dea6e5732cc3d50382a0048b17e7b1 Name: quickshell Version: 0.3.2 Release: 2%{?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: gcc-c++ 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 %if %{with asan} BuildRequires: libasan %endif 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 \ -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DDISTRIBUTOR="Fedora COPR (exponent64/packages/quickshell)" \ -DCRASH_HANDLER=OFF \ -DX11=OFF \ -DHYPRLAND=OFF \ -DHYPRLAND_GLOBAL_SHORTCUTS=OFF \ -DHYPRLAND_FOCUS_GRAB=OFF \ -DSCREENCOPY_HYPRLAND_TOPLEVEL=OFF \ -DI3=OFF \ -DI3_IPC=OFF \ -DASAN=%{?with_asan:ON}%{!?with_asan: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