deepin.dde-launcher: fix build with new dtk

This commit is contained in:
rewine
2023-04-23 10:01:35 +08:00
committed by rewine
parent 6d6d177020
commit 642f20cae1
@@ -28,6 +28,9 @@ stdenv.mkDerivation rec {
};
postPatch = ''
#fix build with new dtk(https://github.com/linuxdeepin/dde-launcher/pull/369)
substituteInPlace src/windowedframe.h \
--replace "#include <dregionmonitor.h>" " "
substituteInPlace src/boxframe/{backgroundmanager.cpp,boxframe.cpp} \
--replace "/usr/share/backgrounds" "/run/current-system/sw/share/backgrounds"
substituteInPlace dde-launcher.desktop dde-launcher-wapper src/dbusservices/com.deepin.dde.Launcher.service \