2019-01-28 11:51:06 +01:00
|
|
|
#
|
|
|
|
# spec file for package waybar
|
|
|
|
#
|
2019-12-28 14:27:09 +01:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2019-01-28 11:51:06 +01:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-09-03 13:17:01 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-01-28 11:51:06 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: waybar
|
2019-12-28 13:21:40 +01:00
|
|
|
Version: 0.9.0
|
2019-01-28 11:51:06 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Customizable Wayland bar for Sway and Wlroots based compositors
|
|
|
|
License: MIT
|
|
|
|
Group: System/GUI/Other
|
|
|
|
URL: https://github.com/Alexays/Waybar
|
2019-09-24 09:28:59 +02:00
|
|
|
Source: %{url}/archive/%{version}.tar.gz
|
2019-12-28 13:26:43 +01:00
|
|
|
BuildRequires: cmake
|
2019-01-28 11:51:06 +01:00
|
|
|
BuildRequires: gcc-c++
|
2019-12-28 14:27:09 +01:00
|
|
|
BuildRequires: gtk-layer-shell-devel
|
2019-01-28 11:51:06 +01:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: ninja
|
2019-09-24 09:28:59 +02:00
|
|
|
BuildRequires: pkgconfig
|
2019-12-28 14:27:09 +01:00
|
|
|
# optional: man pages
|
|
|
|
BuildRequires: scdoc
|
|
|
|
# optional: tray module
|
|
|
|
BuildRequires: pkgconfig(dbusmenu-gtk3-0.4)
|
2019-09-24 09:28:59 +02:00
|
|
|
BuildRequires: pkgconfig(fmt)
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtkmm-3.0)
|
|
|
|
BuildRequires: pkgconfig(jsoncpp)
|
|
|
|
BuildRequires: pkgconfig(libinput)
|
2019-12-28 14:27:09 +01:00
|
|
|
# optional: mpd module
|
|
|
|
BuildRequires: pkgconfig(libmpdclient)
|
|
|
|
# optional: network
|
|
|
|
BuildRequires: pkgconfig(libnl-3.0)
|
|
|
|
BuildRequires: pkgconfig(libnl-genl-3.0)
|
|
|
|
# optional: audio
|
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2019-12-22 17:55:24 +01:00
|
|
|
BuildRequires: pkgconfig(libudev)
|
2019-09-24 09:28:59 +02:00
|
|
|
BuildRequires: pkgconfig(sigc++-2.0)
|
|
|
|
BuildRequires: pkgconfig(spdlog)
|
2019-12-28 14:27:09 +01:00
|
|
|
BuildRequires: pkgconfig(systemd)
|
2019-09-24 09:28:59 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
|
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
2019-01-28 11:51:06 +01:00
|
|
|
# optional: sway integration
|
|
|
|
Recommends: sway
|
|
|
|
|
|
|
|
%description
|
|
|
|
Customizable Wayland bar for Sway and Wlroots based compositors.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Waybar-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%{_sysconfdir}/xdg/waybar/
|
|
|
|
%{_bindir}/waybar
|
2019-09-03 13:17:01 +02:00
|
|
|
%{_mandir}/man?/%{name}*
|
2019-12-28 14:27:09 +01:00
|
|
|
%{_prefix}/lib/systemd/user/waybar.service
|
2019-01-28 11:51:06 +01:00
|
|
|
|
|
|
|
%changelog
|