Skip to content

Commit

Permalink
fix: switchboard-plug-keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Jul 27, 2024
1 parent 720d794 commit bba30d3
Showing 1 changed file with 12 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,14 @@ 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)
%dnl BuildRequires: pkgconfig(glib-2.0) >= 2.32
%dnl BuildRequires: pkgconfig(granite-7) >= 6.0.0
%dnl 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)
%dnl BuildRequires: pkgconfig(libgnomekbd)
%dnl BuildRequires: pkgconfig(libgnomekbdui)
%dnl BuildRequires: pkgconfig(libhandy-1) >= 0.90.0
BuildRequires: pkgconfig(switchboard-3)
BuildRequires: pkgconfig(xkeyboard-config)

Requires: gala
Expand All @@ -54,20 +54,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 bba30d3

Please sign in to comment.