7fa3ce9a5f
* Add config option to select UPower device based on device model. * Add GitHub action for nightly Docker image building * add hide-empty-text option to hide module whenever output is empty but format is not * Add hotplug detection of bluetooth controllers * Adding the ability to have dropdown menu for modules * Add keyboard debug info to hyprland language module * AModule: Cursor config option * Cava. $XDG_CONFIG_HOME validation * cava bump: 0.10.2 * chore: update meson build command in readme * clang-tidy fixes in the privacy module * Do not try to strcmp a variable that may be a null-pointer * Enable using capture groups in window-rewrite * feat: Toggle drawer state * change layer for mode invisible to nullopt * Fix Clock. Tooltip calendar text overflows(#2240) * Fix device list not being updated on selecting new bluetooth controller * fix: display titles with '&' correctly * Fix docker image build github action * fix example in manpage for pulseaudio/slider * Fix format replacement names * Fix hyprland/language events not working with keyboard names with commas in them * fix mpris: hide on current player vanished * fix privacy: consider only configured modules * fix: taskbar not applying empty class on empty * hyprland: disable modules instead of rendering empty * (hyprland) fix crash when failed to parse IPC message * hyprland: refactor and cleanup * hyprland/window: fix crash when no return from socket * Hyprland/Workspaces: Added option to hide non-visible special workspaces * hyprland/workspaces: remove deprecated property * modules/battery: Deprioritize capacity /sys value for battery calculation if other methods are available * modules/hyprland/backend: handle empty socket response * modules/hyprland/backend: use /tmp * modules/hyprland/workspace: ignore empty window-rewrite * network: add bssid format replacement * Organize tests and start Hyprland testing * pulseaudio: Consider ignored sinks never running * Support for muted icons for pulseaudio devices/ports * sway/workspaces: Correct behavior when "current-only" is set * sway/workspaces: remove deprecated field and ignore empty rewrite rules * temperature: allow hwmon-path-abs as array * (temperature) fix clang-tidy lint . * treewide: clang-tidy * treewide: meson deprecation and freebsd fixes * Upower. Fix segmentation fault * Upower refactoring * workaround for icons not rendered for apps existing before waybar launch OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waybar?expand=0&rev=132
125 lines
3.8 KiB
RPMSpec
125 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package waybar
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: waybar
|
|
Version: 0.10.4
|
|
Release: 0
|
|
Summary: Customizable Wayland bar for Sway and Wlroots based compositors
|
|
License: MIT
|
|
Group: System/GUI/Other
|
|
URL: https://github.com/Alexays/Waybar
|
|
Source0: https://github.com/Alexays/Waybar/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1: waybar.rpmlintrc
|
|
BuildRequires: cmake
|
|
%if 0%{?sle_version} >= 150400
|
|
BuildRequires: gcc13-c++
|
|
%else
|
|
BuildRequires: gcc-c++ >= 8
|
|
%endif
|
|
BuildRequires: gtk-layer-shell-devel
|
|
BuildRequires: meson
|
|
BuildRequires: ninja
|
|
BuildRequires: pkgconfig
|
|
# test dependency
|
|
BuildRequires: pkgconfig(catch2) >= 3.0
|
|
BuildRequires: sndio-devel >= 1.7.0
|
|
# optional: mpris module
|
|
BuildRequires: pkgconfig(playerctl)
|
|
# optional: man pages
|
|
BuildRequires: scdoc
|
|
# optional: tray module
|
|
BuildRequires: pkgconfig(dbusmenu-gtk3-0.4)
|
|
BuildRequires: pkgconfig(fmt)
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
BuildRequires: pkgconfig(gtkmm-3.0)
|
|
BuildRequires: pkgconfig(jsoncpp)
|
|
BuildRequires: pkgconfig(libinput)
|
|
BuildRequires: pkgconfig(upower-glib)
|
|
# optional: mpd module
|
|
BuildRequires: pkgconfig(libmpdclient)
|
|
# optional: network
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
|
BuildRequires: pkgconfig(libnl-genl-3.0)
|
|
# optional: audio
|
|
BuildRequires: pkgconfig(libevdev)
|
|
BuildRequires: pkgconfig(jack)
|
|
BuildRequires: pkgconfig(libpulse)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(sigc++-2.0)
|
|
BuildRequires: pkgconfig(spdlog)
|
|
BuildRequires: pkgconfig(systemd)
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
|
BuildRequires: pkgconfig(wireplumber-0.5)
|
|
BuildRequires: pkgconfig(xkbregistry)
|
|
# requires branding
|
|
# NOTE: unversioned branding is required to avoid issues like bsc#1205950
|
|
Requires: %{name}-branding
|
|
# optional: sway integration
|
|
Recommends: sway
|
|
# Default configurations require Fontawesome 6
|
|
Recommends: fontawesome-fonts
|
|
|
|
%description
|
|
A customizable Wayland bar for Sway and Wlroots based compositors.
|
|
It comes with modules for pipewire, alsa, backlight, and bluetooth.
|
|
Other modules can be found in the manpages of Waybar.
|
|
|
|
%package branding-upstream
|
|
Summary: Upstream branding of %{name}
|
|
Group: System/GUI/Other
|
|
Requires: %{name} = %{version}
|
|
Supplements: (%{name} and branding-upstream)
|
|
Conflicts: %{name}-branding
|
|
Provides: %{name}-branding = %{version}
|
|
BuildArch: noarch
|
|
#BRAND: /etc/xdg/waybar/config contains upstream config
|
|
#BRAND: /etc/xdg/waybar/style.css contains upstream style
|
|
|
|
%description branding-upstream
|
|
This package provides the upstream look and feel for sway.
|
|
|
|
%prep
|
|
%autosetup -p1 -n Waybar-%{version}
|
|
|
|
%build
|
|
%if 0%{?sle_version} >= 150400
|
|
export CXX=g++-13
|
|
%endif
|
|
%meson -Dcava=disabled -Dtests=enabled
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%files
|
|
%{_bindir}/waybar
|
|
%{_mandir}/man?/%{name}*
|
|
%{_prefix}/lib/systemd/user/waybar.service
|
|
|
|
%files branding-upstream
|
|
%dir %{_sysconfdir}/xdg/waybar
|
|
%config(noreplace) %{_sysconfdir}/xdg/waybar/config.jsonc
|
|
%config(noreplace) %{_sysconfdir}/xdg/waybar/style.css
|
|
|
|
%changelog
|