From 8a10614a1dcf31ceab602b1febca019ea942e5ad Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 11 Aug 2024 04:29:41 -0700 Subject: [PATCH] fix: switchboard-plug-mouse-touchpad (#1678) (#1690) (cherry picked from commit 6a7d308034c7eabcbe9dffe84598900e46d46f15) Co-authored-by: madomado --- .../switchboard-plug-mouse-touchpad.spec | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/anda/desktops/elementary/switchboard-plug-mouse-touchpad/switchboard-plug-mouse-touchpad.spec b/anda/desktops/elementary/switchboard-plug-mouse-touchpad/switchboard-plug-mouse-touchpad.spec index 61208cff0c..3d913ec48d 100644 --- a/anda/desktops/elementary/switchboard-plug-mouse-touchpad/switchboard-plug-mouse-touchpad.spec +++ b/anda/desktops/elementary/switchboard-plug-mouse-touchpad/switchboard-plug-mouse-touchpad.spec @@ -4,7 +4,7 @@ %global plug_type hardware %global plug_name mouse-touchpad -%global plug_rdnn io.elementary.switchboard.mouse-touchpad +%global plug_rdnn io.elementary.settings.mouse-touchpad Name: switchboard-plug-mouse-touchpad Summary: Switchboard Mouse and Touchpad plug @@ -18,13 +18,9 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: meson -BuildRequires: vala >= 0.22.0 -BuildRequires: pkgconfig(glib-2.0) >= 2.32 -BuildRequires: pkgconfig(granite) -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(switchboard-2.0) -BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(switchboard-3) Requires: switchboard%{?_isa} Supplements: switchboard%{?_isa} @@ -45,21 +41,21 @@ A switchboard plug to configure the behavior of mice and touchpads. %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 +%{_datadir}/metainfo/%{plug_rdnn}.metainfo.xml %changelog