e356596
%global forgeurl https://github.com/ubuntu/%{name}
d183658
%global commit 03a7412e604670597dfd5d8a70fcc90ebed48b7b
e25beff
%global uuid appindicatorsupport@rgcjonas.gmail.com
3939933
e25beff
Name: gnome-shell-extension-appindicator
Packit 0037297
Version: 58
e356596
%forgemeta
063118b
Release: %autorelease
e25beff
Summary: AppIndicator/KStatusNotifierItem support for GNOME Shell
e25beff
BuildArch: noarch
3939933
2fbb5c3
License: GPL-2.0-only
e356596
URL: %{forgeurl}
e356596
Source0: %{forgesource}
3939933
41b0b78
BuildRequires: gettext
41b0b78
BuildRequires: glib2
41b0b78
BuildRequires: jq
41b0b78
BuildRequires: meson
3cad06b
e25beff
Requires: gnome-shell >= 3.14.0
9138755
Requires: libappindicator-gtk3
3939933
b083937
# gnome-shell-extension-appindicator version >= 40 now also includes
b083937
# support for legacy X11 tray icons and the topicons(-plus) extensions
b083937
# are no longer maintained upstream
b083937
Provides:  gnome-shell-extension-topicons-plus = %{version}-%{release}
b083937
Obsoletes: gnome-shell-extension-topicons-plus <= 27-9
b083937
3939933
%description
ea9d712
This extension integrates Ubuntu AppIndicators and KStatusNotifierItems (KDE's
ea9d712
blessed successor of the systray) into GNOME Shell.
3939933
3939933
You can use gnome-tweaks (additional package) or run in terminal:
3939933
59abe2e
  $ gnome-extensions enable %uuid
ea9d712
3939933
3939933
%prep
e356596
%forgeautosetup -p1
3939933
ea9d712
b083937
%build
41b0b78
%meson \
41b0b78
    -Dlocal_install=disabled
41b0b78
%meson_build
b083937
b083937
3939933
%install
41b0b78
%meson_install
41b0b78
%find_lang AppIndicatorExtension
41b0b78
rm %{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled
ea9d712
3939933
41b0b78
%files -f AppIndicatorExtension.lang
ea9d712
%license LICENSE
3939933
%doc README.md AUTHORS.md
ea9d712
%{_datadir}/gnome-shell/extensions/%{uuid}/
41b0b78
%{_datadir}/glib-2.0/schemas/*.gschema.xml
ea9d712
3939933
3939933
%changelog
063118b
%autochangelog