SHA256
1
0
forked from pool/waybar

Accepting request 1043178 from X11:Wayland

- Fix: actually use the date library dependency provided by hhdate
  * add 0001-require-date-dependency.patch

OBS-URL: https://build.opensuse.org/request/show/1043178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/waybar?expand=0&rev=41
This commit is contained in:
Dominique Leuenberger 2022-12-16 16:51:36 +00:00 committed by Git OBS Bridge
commit 7df6b5ebff
3 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --git a/meson.build b/meson.build
index 9354ca8..e61ee70 100644
--- a/meson.build
+++ b/meson.build
@@ -120,7 +120,6 @@ gtk_layer_shell = dependency('gtk-layer-shell-0',
fallback : ['gtk-layer-shell', 'gtk_layer_shell_dep'])
systemd = dependency('systemd', required: get_option('systemd'))
tz_dep = dependency('date',
- required: false,
default_options : [ 'use_system_tzdb=true' ],
modules : [ 'date::date', 'date::date-tz' ],
fallback: [ 'date', 'tz_dep' ])

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 13 20:58:47 UTC 2022 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Fix: actually use the date library dependency provided by hhdate
* add 0001-require-date-dependency.patch
-------------------------------------------------------------------
Mon Dec 5 19:10:20 UTC 2022 - Filippo Bonazzi <filippo.bonazzi@suse.com>

View File

@ -25,6 +25,7 @@ Group: System/GUI/Other
URL: https://github.com/Alexays/Waybar
Source0: %{name}-%{version}.tar.gz
Patch0: 0000-replace-gethostbyname-getaddrinfo.patch
Patch1: 0001-require-date-dependency.patch
BuildRequires: cmake
%if 0%{?sle_version} >= 150400
BuildRequires: gcc11-c++
@ -38,7 +39,7 @@ BuildRequires: pkgconfig
# test dependency
BuildRequires: pkgconfig(catch2) >= 3.0
BuildRequires: sndio-devel >= 1.7.0
# date module
# clock module
BuildRequires: hhdate-devel
# optional: man pages
BuildRequires: scdoc