From 1ebeba3f3af393581602ad0e81e3decd0280d29d Mon Sep 17 00:00:00 2001 From: madomado Date: Thu, 4 Jul 2024 13:42:26 +0800 Subject: [PATCH] fix: switchboard (#1413) (cherry picked from commit 3a0d36ec645413e453040829ef85737cd8f3f2b4) --- .../elementary/switchboard/switchboard.spec | 33 ++++++++----------- 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/anda/desktops/elementary/switchboard/switchboard.spec b/anda/desktops/elementary/switchboard/switchboard.spec index cd3a9bbe41..41dad281da 100644 --- a/anda/desktops/elementary/switchboard/switchboard.spec +++ b/anda/desktops/elementary/switchboard/switchboard.spec @@ -1,5 +1,5 @@ %global srcname switchboard -%global appname io.elementary.switchboard +%global appname io.elementary.settings Name: switchboard Summary: Modular Desktop Settings Hub @@ -16,12 +16,10 @@ BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: vala -BuildRequires: pkgconfig(gee-0.8) -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(granite) >= 5.4.0 -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(libhandy-1) >= 0.83.0 -BuildRequires: fdupes +BuildRequires: pkgconfig(granite-7) +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: fdupes sassc Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -92,7 +90,7 @@ appstream-util validate-relax --nonet \ %{_datadir}/applications/%{appname}.desktop %{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml -%{_datadir}/icons/hicolor/*/apps/%{appname}.svg +%{_iconsdir}/hicolor/*/apps/%{appname}.svg %{_datadir}/metainfo/%{appname}.appdata.xml %files libs @@ -102,19 +100,14 @@ appstream-util validate-relax --nonet \ %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/* -%{_libdir}/lib%{name}-2.0.so.0 -%{_libdir}/lib%{name}-2.0.so.2.0 +%{_libdir}/lib%{name}-3.so.0 +%{_libdir}/lib%{name}-3.so.2.0 %files devel -%{_includedir}/%{name}-2.0/ +%{_includedir}/%{name}-3/ -%{_libdir}/lib%{name}-2.0.so -%{_libdir}/pkgconfig/%{name}-2.0.pc +%{_libdir}/lib%{name}-3.so +%{_libdir}/pkgconfig/%{name}-3.pc -%{_datadir}/vala/vapi/%{name}-2.0.deps -%{_datadir}/vala/vapi/%{name}-2.0.vapi - - -%changelog -* Sat Oct 15 2022 windowsboy111 - 6.0.2-1 -- Repackaged for Terra +%{_datadir}/vala/vapi/%{name}-3.deps +%{_datadir}/vala/vapi/%{name}-3.vapi