File fix-hardcord-plugin-dir.patch of Package deepin-screen-recorder
diff -Nur deepin-screen-recorder-6.0.6/src/dde-dock-plugins/recordtime/recordtime.pro deepin-screen-recorder-6.0.6-new/src/dde-dock-plugins/recordtime/recordtime.pro
--- deepin-screen-recorder-6.0.6/src/dde-dock-plugins/recordtime/recordtime.pro 2024-08-04 15:16:59.233865014 +0800
+++ deepin-screen-recorder-6.0.6-new/src/dde-dock-plugins/recordtime/recordtime.pro 2024-08-04 15:18:20.770284446 +0800
@@ -19,7 +19,7 @@
timewidget.cpp \
dbusservice.cpp
-target.path = /usr/lib/dde-dock/plugins/
+target.path = $$LIB_INSTALL_DIR/dde-dock/plugins/
INSTALLS += target
diff -Nur deepin-screen-recorder-6.0.6/src/dde-dock-plugins/shotstart/shotstart.pro deepin-screen-recorder-6.0.6-new/src/dde-dock-plugins/shotstart/shotstart.pro
--- deepin-screen-recorder-6.0.6/src/dde-dock-plugins/shotstart/shotstart.pro 2024-08-04 15:16:13.697336421 +0800
+++ deepin-screen-recorder-6.0.6-new/src/dde-dock-plugins/shotstart/shotstart.pro 2024-08-04 15:18:37.703566434 +0800
@@ -24,7 +24,7 @@
commoniconbutton.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-plugin.gschema.xml
file.path += /usr/share/glib-2.0/schemas/
diff -Nur deepin-screen-recorder-6.0.6/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro deepin-screen-recorder-6.0.6-new/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro
--- deepin-screen-recorder-6.0.6/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro 2024-08-04 15:16:28.610624531 +0800
+++ deepin-screen-recorder-6.0.6-new/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro 2024-08-04 15:18:50.340194789 +0800
@@ -24,7 +24,7 @@
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/shot-start-record-plugin.svg