1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 00:54:46 +00:00
nixpkgs/pkgs/development/libraries/libvdpau/default.nix

23 lines
643 B
Nix
Raw Normal View History

2013-02-02 15:18:48 +00:00
{ stdenv, fetchurl, pkgconfig, xlibs }:
stdenv.mkDerivation rec {
2013-02-02 15:18:48 +00:00
name = "libvdpau-0.6";
src = fetchurl {
url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.gz";
2013-02-02 15:18:48 +00:00
sha256 = "0x9dwxzw0ilsy88kqlih3170z1zfrrsx1dr9jbwbn0cbkpnbwmcv";
};
2013-02-02 15:18:48 +00:00
buildInputs = with xlibs; [ pkgconfig dri2proto libXext ];
2013-02-02 15:18:48 +00:00
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";
};
}