2015-09-27 16:11:01 +01:00
|
|
|
{ stdenv, fetchurl
|
|
|
|
, automoc4, cmake, gettext, makeWrapper, perl, pkgconfig
|
2013-06-25 00:32:04 +01:00
|
|
|
, kdelibs, cairo, dbus_glib, mplayer
|
2013-06-23 07:53:18 +01:00
|
|
|
}:
|
2010-02-10 15:06:50 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2013-06-23 07:53:18 +01:00
|
|
|
name = "kmplayer-0.11.3d";
|
|
|
|
|
2010-02-10 15:06:50 +00:00
|
|
|
src = fetchurl {
|
2014-12-20 09:32:46 +00:00
|
|
|
#url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.3d.tar.bz2;
|
|
|
|
url = "mirror://gentoo/distfiles/kmplayer-0.11.3d.tar.bz2";
|
2013-06-23 07:53:18 +01:00
|
|
|
sha256 = "1yvbkb1hh5y7fqfvixjf2rryzm0fm0fpkx4lmvhi7k7d0v4wpgky";
|
2010-02-10 15:06:50 +00:00
|
|
|
};
|
2013-06-23 07:53:18 +01:00
|
|
|
|
2015-09-27 16:11:01 +01:00
|
|
|
buildInputs = [ kdelibs cairo dbus_glib ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext makeWrapper perl pkgconfig ];
|
2013-06-23 07:53:18 +01:00
|
|
|
|
2013-06-25 00:32:04 +01:00
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/kmplayer --suffix PATH : ${mplayer}/bin
|
|
|
|
'';
|
|
|
|
|
2010-02-10 15:06:50 +00:00
|
|
|
meta = {
|
|
|
|
description = "MPlayer front-end for KDE";
|
|
|
|
license = "GPL";
|
|
|
|
homepage = http://kmplayer.kde.org;
|
2013-06-23 07:53:18 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
2010-02-10 15:06:50 +00:00
|
|
|
};
|
|
|
|
}
|