3
0
Fork 0
forked from mirrors/nixpkgs

kmplayer: minor fixes

Wrap mplayer into PATH
Remove unneeded dependency on gtk
This commit is contained in:
Song Wenwu 2013-06-25 07:32:04 +08:00
parent c74b3e26f7
commit f305fe1c02

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, pkgconfig, gettext
, kdelibs, gtk
{ stdenv, fetchurl, cmake, pkgconfig, gettext, makeWrapper
, kdelibs, cairo, dbus_glib, mplayer
}:
stdenv.mkDerivation {
@ -11,9 +11,14 @@ stdenv.mkDerivation {
};
buildInputs = [
cmake gettext pkgconfig kdelibs gtk
cmake gettext pkgconfig makeWrapper
kdelibs cairo dbus_glib
];
postInstall = ''
wrapProgram $out/bin/kmplayer --suffix PATH : ${mplayer}/bin
'';
meta = {
description = "MPlayer front-end for KDE";
license = "GPL";