Build with libappindicator which enables Status Notifier Item support

This feature is usable in environments where SNI[1] is the only
supported protocol for tray. Even if built, SNI is not enabled by
default. There is a special command line option for it:

	nm-applet --indicator

[1] https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/
This commit is contained in:
Ivan Mironov 2019-08-01 23:27:13 +05:00
parent 46e340c107
commit f4574d05c6

View File

@ -7,7 +7,7 @@
%global rpm_version 1.16.0 %global rpm_version 1.16.0
%global real_version 1.16.0 %global real_version 1.16.0
%global release_version 1 %global release_version 2
%global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p') %global real_version_major %(printf '%s' '%{real_version}' | sed -n 's/^\\([1-9][0-9]*\\.[1-9][0-9]*\\)\\.[1-9][0-9]*$/\\1/p')
@ -56,6 +56,8 @@ BuildRequires: jansson-devel
BuildRequires: gcr-devel BuildRequires: gcr-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: mobile-broadband-provider-info-devel BuildRequires: mobile-broadband-provider-info-devel
BuildRequires: libappindicator-gtk3-devel
BuildRequires: libdbusmenu-gtk3-devel
%description %description
This package contains a network control and status notification area applet This package contains a network control and status notification area applet
@ -77,7 +79,8 @@ utility for use with NetworkManager.
%meson \ %meson \
-Dgcr=true \ -Dgcr=true \
-Dselinux=true \ -Dselinux=true \
-Ddisable-static=true -Ddisable-static=true \
-Dappindicator=yes
%meson_build %meson_build
%install %install
@ -127,6 +130,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/nm-connection-edit
%changelog %changelog
* Thu Apr 30 2020 Ivan Mironov <mironov.ivan@gmail.com> - 1.16.0-2
- Build with libappindicator which enables Status Notifier Item support
* Sat Mar 7 2020 Thomas Haller <thaller@redhat.com> - 1.16.0-1 * Sat Mar 7 2020 Thomas Haller <thaller@redhat.com> - 1.16.0-1
- Update to 1.16.0 release - Update to 1.16.0 release
- Move libnma to separate, independent project - Move libnma to separate, independent project