File fix-hardcord-plugin-dir.patch of Package deepin-screen-recorder

diff -Nur deepin-screen-recorder-6.5.17/src/dde-dock-plugins/recordtime/recordtime.pro deepin-screen-recorder-6.5.17-new/src/dde-dock-plugins/recordtime/recordtime.pro
--- deepin-screen-recorder-6.5.17/src/dde-dock-plugins/recordtime/recordtime.pro	2025-05-08 15:35:46.000000000 +0800
+++ deepin-screen-recorder-6.5.17-new/src/dde-dock-plugins/recordtime/recordtime.pro	2025-05-18 21:04:54.770449432 +0800
@@ -29,7 +29,7 @@
     PREFIX = /usr
 }
 
-target.path = $$PREFIX/lib/dde-dock/plugins/
+target.path = $$LIB_INSTALL_DIR/dde-dock/plugins/
 
 INSTALLS += target
 
diff -Nur deepin-screen-recorder-6.5.17/src/dde-dock-plugins/shotstart/shotstart.pro deepin-screen-recorder-6.5.17-new/src/dde-dock-plugins/shotstart/shotstart.pro
--- deepin-screen-recorder-6.5.17/src/dde-dock-plugins/shotstart/shotstart.pro	2025-05-08 15:35:46.000000000 +0800
+++ deepin-screen-recorder-6.5.17-new/src/dde-dock-plugins/shotstart/shotstart.pro	2025-05-18 21:04:41.433567900 +0800
@@ -33,7 +33,7 @@
 isEmpty(PREFIX) {
     PREFIX = /usr
 }
-target.path = $$PREFIX/lib/dde-dock/plugins/
+target.path = $$LIB_INSTALL_DIR/dde-dock/plugins/
 file.files += $$PWD/com.deepin.dde.dock.module.shot-start-plugin.gschema.xml
 file.path += $$PREFIX/share/glib-2.0/schemas/
 shoticon.files += $$PWD/res/dcc-shot-start-plugin.dci
diff -Nur deepin-screen-recorder-6.5.17/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro deepin-screen-recorder-6.5.17-new/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro
--- deepin-screen-recorder-6.5.17/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro	2025-05-08 15:35:46.000000000 +0800
+++ deepin-screen-recorder-6.5.17-new/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro	2025-05-18 21:02:18.362609934 +0800
@@ -30,7 +30,7 @@
     shotstartrecordplugin.cpp \
     recordiconwidget.cpp
 
-target.path = /usr/lib/dde-dock/plugins/
+target.path = $$LIB_INSTALL_DIR/dde-dock/plugins/
 file.files += $$PWD/com.deepin.dde.dock.module.shot-start-record-plugin.gschema.xml
 file.path += /usr/share/glib-2.0/schemas/
 recordicon.files += $$PWD/res/dcc-shot-start-record-plugin.dci
openSUSE Build Service is sponsored by