Skip to content

Commit

Permalink
fix: switchboard-plug-wacom (#1412) (#1484)
Browse files Browse the repository at this point in the history
Signed-off-by: madomado <[email protected]>
(cherry picked from commit 7991182)

Co-authored-by: madomado <[email protected]>
  • Loading branch information
raboneko and madonuko authored Jul 10, 2024
1 parent 4f29b72 commit 7cb12a4
Showing 1 changed file with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

Name: switchboard-plug-wacom
Summary: Switchboard Wacom Plug
Expand All @@ -25,7 +25,7 @@ BuildRequires: pkgconfig(libwacom)
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xi)
BuildRequires: switchboard-devel
BuildRequires: pkgconfig(switchboard-3)

Requires: switchboard%{?_isa}
Supplements: switchboard%{?_isa}
Expand All @@ -45,22 +45,18 @@ Supplements: switchboard%{?_isa}
%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_name}.so

%{_datadir}/metainfo/%{plug_rdnn}.appdata.xml

%changelog
* Tue Jun 13 2023 windowsboy111 <[email protected]> - 1.0.1-1
- Initial package.
%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml

0 comments on commit 7cb12a4

Please sign in to comment.