kmplayer: fix desktop file exec

This commit is contained in:
zraexy 2017-10-25 06:57:43 -08:00
parent 4068703502
commit 9e1ef99fc2

View file

@ -21,6 +21,11 @@ mkDerivation rec {
./no-docs.patch # Don't build docs due to errors (kdelibs4support propagates kdoctools)
];
postPatch = ''
sed -i src/kmplayer.desktop \
-e "s,^Exec.*,Exec=$out/bin/kmplayer -qwindowtitle %c %i %U,"
'';
nativeBuildInputs = [ extra-cmake-modules makeWrapper ];
buildInputs = [