[packages/kp5-plasma-remotecontrollers] - adding udev patch - packaging dirs - BRs

mrozowik mrozowik at pld-linux.org
Sat May 13 19:48:27 CEST 2023


commit 5b05babacfdfb119fe215cb272d9afb553151279
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Sat May 13 17:48:01 2023 +0000

    - adding udev patch
    - packaging dirs
    - BRs

 kp5-plasma-remotecontrollers.spec |  7 ++++++-
 udev.patch                        | 11 +++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/kp5-plasma-remotecontrollers.spec b/kp5-plasma-remotecontrollers.spec
index 138eb1a..8e84649 100644
--- a/kp5-plasma-remotecontrollers.spec
+++ b/kp5-plasma-remotecontrollers.spec
@@ -14,6 +14,7 @@ License:	LGPL v2.1+
 Group:		X11/Applications
 Source0:	https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
 # Source0-md5:	a1d5c114997f50bc6a6e1c40cc63009c
+Patch0:		udev.patch
 URL:		https://kde.org/
 BuildRequires:	Qt5Core-devel >= 5.15.2
 BuildRequires:	Qt5DBus-devel >= 5.15.2
@@ -34,7 +35,9 @@ BuildRequires:	kf5-kitemmodels-devel >= 5.98.0
 BuildRequires:	kf5-knotifications-devel >= 5.68.0
 BuildRequires:	kf5-kpackage-devel >= 5.68.0
 BuildRequires:	kf5-kwindowsystem-devel >= 5.68.0
+BuildRequires:	kf5-plasma-wayland-protocols-devel >= 1.10.0
 BuildRequires:	kf5-solid-devel >= 5.68.0
+BuildRequires:	kp5-kscreenlocker-devel >= %{version}
 BuildRequires:	kp5-plasma-workspace-devel >= %{version}
 BuildRequires:	libcec-devel
 BuildRequires:	libevdev-devel
@@ -55,6 +58,7 @@ keypresses on a keyboard and pointer events (mouse movement).
 
 %prep
 %setup -q -n %{kpname}-%{version}
+%patch0 -p1
 
 %build
 install -d build
@@ -88,7 +92,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/qt5/plugins/kcms/kcm_mediacenter_remotecontrollers.so
 %dir %{_libdir}/qt5/qml/org/kde/plasma/remotecontrollers
 %{_libdir}/qt5/qml/org/kde/plasma/remotecontrollers/qmldir
-%{_libdir}/udev/rules.d/40-uinput.rules
+/lib/udev/rules.d/40-uinput.rules
 %{_desktopdir}/org.kde.plasma-remotecontrollers.desktop
 %{_datadir}/knotifications5/plasma-remotecontrollers.notifyrc
 %dir %{_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers
@@ -98,6 +102,7 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers/contents/ui/delegates
 %{_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers/contents/ui/+mediacenter/DeviceMap.qml
 %{_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers/contents/ui/+mediacenter/DeviceSetupView.qml
+%dir %{_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers/contents/ui/+mediacenter/delegates
 %{_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers/contents/ui/+mediacenter/delegates/DeviceDelegate.qml
 %{_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers/contents/ui/+mediacenter/main.qml
 %{_datadir}/kpackage/kcms/kcm_mediacenter_remotecontrollers/contents/ui/DeviceMap.qml
diff --git a/udev.patch b/udev.patch
new file mode 100644
index 0000000..b865669
--- /dev/null
+++ b/udev.patch
@@ -0,0 +1,11 @@
+--- plasma-remotecontrollers-5.27.5/CMakeLists.txt~	2023-05-09 11:38:31.000000000 +0000
++++ plasma-remotecontrollers-5.27.5/CMakeLists.txt	2023-05-13 17:31:58.848889239 +0000
+@@ -67,7 +67,7 @@
+ 
+ install(FILES plasma-remotecontrollersrc DESTINATION ${KDE_INSTALL_CONFDIR})
+ install(FILES plasma-remotecontrollers.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR})
+-install(FILES 40-uinput.rules DESTINATION ${KDE_INSTALL_LIBDIR}/udev/rules.d)
++install(FILES 40-uinput.rules DESTINATION /lib/udev/rules.d)
+ 
+ install(FILES org.kde.plasma.remotecontrollers.metainfo.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp5-plasma-remotecontrollers.git/commitdiff/5b05babacfdfb119fe215cb272d9afb553151279



More information about the pld-cvs-commit mailing list