2014-07-02 21:30:28 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xorg }:
|
2010-12-27 18:30:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-03-26 20:59:01 +00:00
|
|
|
name = "libvdpau-1.1";
|
2013-02-02 15:18:48 +00:00
|
|
|
|
2010-12-27 18:30:52 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://people.freedesktop.org/~aplattner/vdpau/${name}.tar.gz";
|
2015-03-26 20:59:01 +00:00
|
|
|
sha256 = "069r4qc934xw3z20hpmg0gx0al7fl1kdik1r46x2dgr0ya1yg95f";
|
2010-12-27 18:30:52 +00:00
|
|
|
};
|
|
|
|
|
2014-07-02 21:30:28 +01:00
|
|
|
buildInputs = with xorg; [ pkgconfig dri2proto libXext ];
|
2012-07-02 15:14:14 +01:00
|
|
|
|
2014-07-02 21:30:28 +01:00
|
|
|
propagatedBuildInputs = [ xorg.libX11 ];
|
2013-11-16 20:25:57 +00:00
|
|
|
|
2014-07-02 21:30:28 +01:00
|
|
|
meta = with stdenv.lib; {
|
2010-12-27 18:30:52 +00:00
|
|
|
homepage = http://people.freedesktop.org/~aplattner/vdpau/;
|
|
|
|
description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
|
2014-12-25 08:42:31 +00:00
|
|
|
license = licenses.mit; # expat version
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.vcunat ];
|
2010-12-27 18:30:52 +00:00
|
|
|
};
|
|
|
|
}
|