forked from pool/waybar
ceabdc4b8e
Changed: * Improve Pulseaudio sink/source separation * [Module CPU] fix crash due to empty frequencies - Update to 0.9.6: Added: * Implement support for reloading of config files. #842 * Add simpleclock as fallback when hhdate is not available #903 * Add option 'tag-labels' to river/tags #980 * Add "tooltip-format" to temperature module #891 * Support format-{state} for cpu/disk/memory #881 * Allow customization of battery module tooltip #830 * Add an option to use battery design capacity #964 * Add power formatter to battery module #996 * Add a way to configure auto_back_and_forth on Sway workspaces #1014 * Terminate custom module scripts on exit #1032 * Add length limits for MPD module tags #1002 * Add style for battery state "plugged" #1056 * Add default styling for disk module #1051 * Add cpu min/max/avg frequencies #1037 Changed: * Fix Sway #waybar.solo CSS rule applying on split #946 * Fix for group module selectors when bar is vertical #959 * Added waybar_output.identifier support. #956 * Fixing logic in getIcon #965 * Fix issues in wlr/taskbar #969 * Fix duplicate bars on xdg_output property changes #992 * Update waybar-bluetooth.5.scd #1003 * Improved wlr/taskbar icon search. #1006 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waybar?expand=0&rev=55
104 lines
3.2 KiB
RPMSpec
104 lines
3.2 KiB
RPMSpec
#
|
|
# spec file for package waybar
|
|
#
|
|
# Copyright (c) 2021 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.9.7
|
|
Release: 0
|
|
Summary: Customizable Wayland bar for Sway and Wlroots based compositors
|
|
License: MIT
|
|
Group: System/GUI/Other
|
|
URL: https://github.com/Alexays/Waybar
|
|
# use this to download tarball. then use `meson subprojects download`
|
|
# to get the `date` dependency. and create own tarball
|
|
#Source: https://github.com/Alexays/Waybar/archive/%{version}.tar.gz
|
|
Source: %{version}.tar.xz
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: gtk-layer-shell-devel
|
|
BuildRequires: meson
|
|
BuildRequires: ninja
|
|
BuildRequires: pkgconfig
|
|
# wait for SR#860135
|
|
#BuildRequires: sndio-devel >= 1.7.0
|
|
# 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)
|
|
# optional: mpd module
|
|
BuildRequires: pkgconfig(libmpdclient)
|
|
# optional: network
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
|
BuildRequires: pkgconfig(libnl-genl-3.0)
|
|
# optional: audio
|
|
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)
|
|
# requires branding
|
|
Requires: %{name}-branding
|
|
# optional: sway integration
|
|
Recommends: sway
|
|
|
|
%description
|
|
Customizable Wayland bar for Sway and Wlroots based compositors.
|
|
|
|
%package branding-upstream
|
|
Summary: Upstream branding of %{name}
|
|
Group: System/GUI/Other
|
|
Requires: %{name} = %{version}
|
|
Supplements: packageand(%{name}:branding-upstream)
|
|
Conflicts: otherproviders(%{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
|
|
%meson -Dsndio=disabled
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%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
|
|
%config(noreplace) %{_sysconfdir}/xdg/waybar/style.css
|
|
|
|
%changelog
|