forked from mirrors/nixpkgs
f28848cb4d
Our kdelibs4 package does not come from KDE 4, so per upstream's request I am moving it out of the kde4 set.
31 lines
842 B
Nix
31 lines
842 B
Nix
{ stdenv, fetchurl
|
|
, automoc4, cmake, gettext, makeWrapper, perl, pkgconfig
|
|
, kdelibs4, cairo, dbus_glib, mplayer
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "kmplayer-0.11.3d";
|
|
|
|
src = fetchurl {
|
|
#url = http://kmplayer.kde.org/pkgs/kmplayer-0.11.3d.tar.bz2;
|
|
url = "mirror://gentoo/distfiles/kmplayer-0.11.3d.tar.bz2";
|
|
sha256 = "1yvbkb1hh5y7fqfvixjf2rryzm0fm0fpkx4lmvhi7k7d0v4wpgky";
|
|
};
|
|
|
|
buildInputs = [ kdelibs4 cairo dbus_glib ];
|
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext makeWrapper perl pkgconfig ];
|
|
|
|
postInstall = ''
|
|
wrapProgram $out/bin/kmplayer --suffix PATH : ${mplayer}/bin
|
|
'';
|
|
|
|
meta = {
|
|
description = "MPlayer front-end for KDE";
|
|
license = "GPL";
|
|
homepage = http://kmplayer.kde.org;
|
|
broken = true; # Also unavailable on this mirror
|
|
maintainers = [ stdenv.lib.maintainers.sander ];
|
|
};
|
|
}
|