Skip to content

Commit

Permalink
fix: switchboard (#1413)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3a0d36e)
  • Loading branch information
madonuko authored and raboneko committed Jul 4, 2024
1 parent ba37028 commit 1ebeba3
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions anda/desktops/elementary/switchboard/switchboard.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global srcname switchboard
%global appname io.elementary.switchboard
%global appname io.elementary.settings

Name: switchboard
Summary: Modular Desktop Settings Hub
Expand All @@ -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}

Expand Down Expand Up @@ -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
Expand All @@ -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 <[email protected]> - 6.0.2-1
- Repackaged for Terra
%{_datadir}/vala/vapi/%{name}-3.deps
%{_datadir}/vala/vapi/%{name}-3.vapi

0 comments on commit 1ebeba3

Please sign in to comment.