mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
7b975abc16
* force x86_64 arch
23 lines
643 B
Nix
23 lines
643 B
Nix
{ 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";
|
|
};
|
|
}
|