2014-07-02 22:30:28 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xorg }:
|
2010-12-27 19:30:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-07-02 22:30:28 +02:00
|
|
|
name = "libvdpau-0.8";
|
2013-02-02 16:18:48 +01:00
|
|
|
|
2010-12-27 19:30:52 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.gz";
|
2014-07-02 22:30:28 +02:00
|
|
|
sha256 = "1v81875hppablq9gpsmvhnyl7z80zihx6arry758pvdbq4fd39vk";
|
2010-12-27 19:30:52 +01:00
|
|
|
};
|
|
|
|
|
2014-07-02 22:30:28 +02:00
|
|
|
buildInputs = with xorg; [ pkgconfig dri2proto libXext ];
|
2012-07-02 16:14:14 +02:00
|
|
|
|
2014-07-02 22:30:28 +02:00
|
|
|
propagatedBuildInputs = [ xorg.libX11 ];
|
2013-11-16 21:25:57 +01:00
|
|
|
|
2013-07-04 07:03:18 +02:00
|
|
|
configureFlags = stdenv.lib.optional stdenv.isDarwin [ "--build=x86_64" ];
|
2010-12-27 19:30:52 +01:00
|
|
|
|
2014-07-02 22:30:28 +02:00
|
|
|
meta = with stdenv.lib; {
|
2010-12-27 19:30:52 +01:00
|
|
|
homepage = http://people.freedesktop.org/~aplattner/vdpau/;
|
|
|
|
description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
|
2014-07-02 22:30:28 +02:00
|
|
|
license = licenses.mit;
|
2010-12-27 19:30:52 +01:00
|
|
|
};
|
|
|
|
}
|