96cda2369b
* Added gamemode man file to meson #1566 * upower: unbreak build on libc++ systems (FreeBSD, OpenBSD, Chimera) #1567 * fix: vertical bar not anchored when width is set #1571 * fixes bluetooth module #1576 * Advertise river modules #1578 * river/mode: new module in #1579 * README.md: add river/mode to feature list in #1580 * Add total bandwidth formatting options #1575 * Retain instance name css class for custom modules #1588 * pulseaudio: avoid retaining outdated form factor #1590 * Last weekday applies Unix fmt #1599 * New Gentoo CI #1612 * CI: upgrade FreeBSD version to avoid future breakage #1621 * battery: fix wrong definition for "format" #1624 * Language: Add layout as class name #1628 * fix: adapt to fmt 9.0.0 breaking changes #1617 * CI: prevent FreeBSD breakage in future #1637 * Added UPower to README #1638 * sni: Use the pixmap if for the given icon name an icon could not be found #1627 * mpd: add filename formatter #1631 * Added a Hyprland backend and a Window module #1656 * Feature: sway/window can show 'shell' parameter #1651 * #1591 river escape window and mode #1668 * fix(network): dont escape essid in tooltip #1669 * scale icons for HiDPI monitor #1670 * style(lint): fix some files lint #1672 * add JACK module #1653 * Added a basic hyprland/language module #1657 * Add 'max-volume' option to pulseaudio #1659 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/waybar?expand=0&rev=82
116 lines
3.5 KiB
RPMSpec
116 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package waybar
|
|
#
|
|
# Copyright (c) 2022 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.15
|
|
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
|
|
%if 0%{?sle_version} >= 150400
|
|
BuildRequires: gcc11-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: 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(xkbregistry)
|
|
# 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
|
|
%if 0%{?sle_version} >= 150400
|
|
export CXX=g++-11
|
|
%endif
|
|
%meson
|
|
%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
|