forked from mirrors/nixpkgs
kmplayer: minor fixes
Wrap mplayer into PATH Remove unneeded dependency on gtk
This commit is contained in:
parent
c74b3e26f7
commit
f305fe1c02
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue