mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
23 lines
641 B
Nix
23 lines
641 B
Nix
{ stdenv, fetchurl, pkgconfig, xlibs }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libvdpau-0.7";
|
|
|
|
src = fetchurl {
|
|
url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.gz";
|
|
sha256 = "1q5wx6fmqg2iiw57wxwh5vv4yszqs4nlvlzhzdn9vig8gi30ip14";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|