File fix-hardcord-plugin-dir.patch of Package deepin-screen-recorder
diff -Nur deepin-screen-recorder-6.6.7/src/dde-dock-plugins/recordtime/recordtime.pro deepin-screen-recorder-6.6.7-new/src/dde-dock-plugins/recordtime/recordtime.pro
--- deepin-screen-recorder-6.6.7/src/dde-dock-plugins/recordtime/recordtime.pro 2025-09-18 20:10:53.000000000 +0800
+++ deepin-screen-recorder-6.6.7-new/src/dde-dock-plugins/recordtime/recordtime.pro 2025-10-09 22:47:22.048253862 +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.6.7/src/dde-dock-plugins/shotstart/shotstart.pro deepin-screen-recorder-6.6.7-new/src/dde-dock-plugins/shotstart/shotstart.pro
--- deepin-screen-recorder-6.6.7/src/dde-dock-plugins/shotstart/shotstart.pro 2025-09-18 20:10:53.000000000 +0800
+++ deepin-screen-recorder-6.6.7-new/src/dde-dock-plugins/shotstart/shotstart.pro 2025-10-09 22:48:29.155110341 +0800
@@ -34,7 +34,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.6.7/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro deepin-screen-recorder-6.6.7-new/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro
--- deepin-screen-recorder-6.6.7/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro 2025-09-18 20:10:53.000000000 +0800
+++ deepin-screen-recorder-6.6.7-new/src/dde-dock-plugins/shotstartrecord/shotstartrecord.pro 2025-10-09 22:49:09.187024721 +0800
@@ -31,7 +31,7 @@
recordiconwidget.cpp \
../../dbus_name.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