deepin.dtkgui: fix svg renderer

This commit is contained in:
rewine 2024-08-30 21:06:47 +08:00
parent 2d0cdadc74
commit 8166a4e0ca

View File

@ -27,6 +27,11 @@ stdenv.mkDerivation rec {
./fix-pri-path.patch
];
postPatch = ''
substituteInPlace src/util/dsvgrenderer.cpp \
--replace-fail 'QLibrary("rsvg-2", "2")' 'QLibrary("${lib.getLib librsvg}/lib/librsvg-2.so")'
'';
nativeBuildInputs = [
cmake
doxygen