summary refs log tree commit diff
path: root/pkgs/development/libraries/libvdpau/default.nix
blob: 835e2711a77611a7ab845b96b9d9a222ef00b1d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, pkgconfig, xlibs }:

stdenv.mkDerivation rec {
  name = "libvdpau-0.6";

  src = fetchurl {
    url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.gz";
    sha256 = "0x9dwxzw0ilsy88kqlih3170z1zfrrsx1dr9jbwbn0cbkpnbwmcv";
  };

  buildInputs = with xlibs; [ pkgconfig dri2proto libXext ];

  propagatedBuildInputs = [ xlibs.libX11 ];
  
  configureFlags = stdenv.lib.optional stdenv.isDarwin [ "--build=x86_64" ];

  meta = {
    homepage = http://people.freedesktop.org/~aplattner/vdpau/;
    description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
    license = "bsd";
  };
}