From d30dd49948cc83c1babbfae913dd03dcc38242a4 Mon Sep 17 00:00:00 2001 From: madonuko Date: Sun, 28 Jul 2024 01:59:32 +0800 Subject: [PATCH] fix: switchboard-plug-notifications --- .../switchboard-plug-notifications.spec | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/anda/desktops/elementary/switchboard-plug-notifications/switchboard-plug-notifications.spec b/anda/desktops/elementary/switchboard-plug-notifications/switchboard-plug-notifications.spec index 7ad464a888..2b2e26cb9c 100644 --- a/anda/desktops/elementary/switchboard-plug-notifications/switchboard-plug-notifications.spec +++ b/anda/desktops/elementary/switchboard-plug-notifications/switchboard-plug-notifications.spec @@ -4,7 +4,7 @@ %global plug_type personal %global plug_name notifications -%global plug_rdnn io.elementary.switchboard.notifications +%global plug_rdnn io.elementary.settings.notifications Name: switchboard-plug-notifications Summary: Switchboard Notifications plug @@ -18,13 +18,13 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson -BuildRequires: vala >= 0.22.0 +#BuildRequires: vala >= 0.22.0 BuildRequires: fdupes -BuildRequires: pkgconfig(glib-2.0) >= 2.32 -BuildRequires: pkgconfig(granite) -BuildRequires: pkgconfig(gtk+-3.0) >= 3.12 -BuildRequires: pkgconfig(switchboard-2.0) +BuildRequires: pkgconfig(glib-2.0) +#BuildRequires: pkgconfig(granite) +#BuildRequires: pkgconfig(gtk+-3.0) >= 3.12 +BuildRequires: pkgconfig(switchboard-3) Requires: gala%{?_isa} Requires: switchboard%{?_isa} @@ -50,21 +50,21 @@ related to the Notifications plugin for Gala. %install %meson_install %fdupes %buildroot%_datadir/locale/ -%find_lang %{plug_name}-plug +%find_lang %{plug_rdnn} %check appstream-util validate-relax --nonet \ - %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml + %{buildroot}/%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml -%files -f %{plug_name}-plug.lang +%files -f %{plug_rdnn}.lang %doc README.md %license COPYING -%{_libdir}/switchboard/%{plug_type}/lib%{plug_name}.so +%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so -%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml +%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml %changelog