Skip to content

Commit

Permalink
kmplayer: fix desktop file exec
Browse files Browse the repository at this point in the history
(cherry picked from commit 9e1ef99)
  • Loading branch information
zraexy authored and peterhoeg committed Oct 25, 2017
1 parent d4d4e50 commit 2120660
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/applications/video/kmplayer/default.nix
Expand Up @@ -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 = [
Expand Down

0 comments on commit 2120660

Please sign in to comment.