From d8e42e101603d16311eb70f409dcde1e114a8461 Mon Sep 17 00:00:00 2001 From: madonuko Date: Sun, 28 Jul 2024 01:18:20 +0800 Subject: [PATCH 1/2] fix: switchboard-plug-sharing --- .../switchboard-plug-sharing.spec | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/anda/desktops/elementary/switchboard-plug-sharing/switchboard-plug-sharing.spec b/anda/desktops/elementary/switchboard-plug-sharing/switchboard-plug-sharing.spec index afb174268c..c2c4a0691c 100644 --- a/anda/desktops/elementary/switchboard-plug-sharing/switchboard-plug-sharing.spec +++ b/anda/desktops/elementary/switchboard-plug-sharing/switchboard-plug-sharing.spec @@ -4,7 +4,7 @@ %global plug_type network %global plug_name sharing -%global plug_rdnn io.elementary.switchboard.sharing +%global plug_rdnn io.elementary.settings.sharing Name: switchboard-plug-sharing Summary: Switchboard Sharing Plug @@ -18,12 +18,12 @@ 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: pkgconfig(glib-2.0) >= 2.32 -BuildRequires: pkgconfig(granite) -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(switchboard-2.0) +BuildRequires: pkgconfig(glib-2.0) +#BuildRequires: pkgconfig(granite) +#BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(switchboard-3) Requires: rygel Requires: switchboard%{?_isa} @@ -46,21 +46,21 @@ Configure the sharing of system services. %install %meson_install -%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_rdnn}.so -%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml +%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml %changelog From 2d69f46cf2617ffd2a79ac8539789e56feedccd4 Mon Sep 17 00:00:00 2001 From: madomado Date: Sun, 28 Jul 2024 01:27:19 +0800 Subject: [PATCH 2/2] Update switchboard-plug-sharing.spec Signed-off-by: madomado --- .../switchboard-plug-sharing/switchboard-plug-sharing.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/anda/desktops/elementary/switchboard-plug-sharing/switchboard-plug-sharing.spec b/anda/desktops/elementary/switchboard-plug-sharing/switchboard-plug-sharing.spec index c2c4a0691c..789ef70cfc 100644 --- a/anda/desktops/elementary/switchboard-plug-sharing/switchboard-plug-sharing.spec +++ b/anda/desktops/elementary/switchboard-plug-sharing/switchboard-plug-sharing.spec @@ -18,11 +18,8 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson -#BuildRequires: vala >= 0.22.0 BuildRequires: pkgconfig(glib-2.0) -#BuildRequires: pkgconfig(granite) -#BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(switchboard-3) Requires: rygel