deepin.deepin-screen-recorder: fix build on new dtk

This commit is contained in:
rewine 2023-12-24 19:43:35 +08:00 committed by rewine
parent a53248c23e
commit 90a3dcf57e

View File

@ -78,6 +78,9 @@ stdenv.mkDerivation rec {
gst-plugins-good
]);
# Fix build failure on dtk 5.6.20
env.NIX_CFLAGS_COMPILE = "-std=c++14";
# qt5integration must be placed before qtsvg in QT_PLUGIN_PATH
qtWrapperArgs = [
"--prefix QT_PLUGIN_PATH : ${qt5integration}/${qtbase.qtPluginPrefix}"