3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #30784 from zraexy/kmplayer

kmplayer: fix desktop file exec
This commit is contained in:
Peter Hoeg 2017-10-25 23:42:05 +08:00 committed by GitHub
commit a47c892bf5

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 = [