Skip to content

Commit

Permalink
fix: switchboard-plug-keyboard (#1668)
Browse files Browse the repository at this point in the history
* fix: switchboard-plug-keyboard

* Update switchboard-plug-keyboard.spec

Signed-off-by: madomado <[email protected]>

---------

Signed-off-by: madomado <[email protected]>
(cherry picked from commit 2d1d04a)
  • Loading branch information
madonuko authored and raboneko committed Jul 27, 2024
1 parent 1a8f70e commit c9671e1
Showing 1 changed file with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

%global plug_type hardware
%global plug_name keyboard
%global plug_rdnn io.elementary.switchboard.keyboard
%global plug_rdnn io.elementary.settings.keyboard

Name: switchboard-plug-keyboard
Summary: Switchboard Keyboard plug
Expand All @@ -21,14 +21,8 @@ BuildRequires: meson
BuildRequires: vala >= 0.22.0
BuildRequires: fdupes

BuildRequires: pkgconfig(glib-2.0) >= 2.32
BuildRequires: pkgconfig(granite) >= 6.0.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(ibus-1.0) >= 1.5.19
BuildRequires: pkgconfig(libgnomekbd)
BuildRequires: pkgconfig(libgnomekbdui)
BuildRequires: pkgconfig(libhandy-1) >= 0.90.0
BuildRequires: pkgconfig(switchboard-2.0)
BuildRequires: pkgconfig(switchboard-3)
BuildRequires: pkgconfig(xkeyboard-config)

Requires: gala
Expand All @@ -54,20 +48,20 @@ same time. Keyboard shortcuts are also part of this plug.
%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}.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
%{_datadir}/glib-2.0/schemas/keyboard.gschema.xml
%{_libdir}/switchboard-3/%{plug_type}/lib%{plug_name}.so
%{_datadir}/glib-2.0/schemas/%{plug_rdnn}.gschema.xml
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml


Expand Down

0 comments on commit c9671e1

Please sign in to comment.