Added libnotify integration for meson-driven builds

This commit is contained in:
Honore Doktorr 2022-07-18 17:58:24 -04:00
parent bb7a2047d5
commit 29936c5843

View File

@ -1,6 +1,6 @@
Name: zenity
Version: 3.43.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Display dialog boxes from shell scripts
License: LGPLv2+
@ -8,6 +8,7 @@ URL: https://wiki.gnome.org/Projects/Zenity
Source: https://download.gnome.org/sources/%{name}/3.43/%{name}-%{version}.tar.xz
BuildRequires: pkgconfig(gtk+-3.0) >= 3.16.0
BuildRequires: pkgconfig(libnotify) >= 0.6.1
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: itstool
@ -24,7 +25,7 @@ from the same family as dialog, Xdialog, and cdialog.
%build
%meson
%meson -Dlibnotify=true
%meson_build
@ -46,6 +47,10 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/gdialog
%changelog
* Sun Jul 17 2022 Honore Doktorr <hdfssk@gmail.com> - 3.43.0-2
- Add missing BuildRequires for pkgconfig(libnotify)
- enable libnotify option for meson build
* Thu Jul 07 2022 David King <amigadave@amigadave.com> - 3.43.0-1
- Update to 3.43.0