2013-02-02 15:18:48 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, xlibs }:
|
2010-12-27 18:30:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-11-16 20:25:57 +00:00
|
|
|
name = "libvdpau-0.7";
|
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";
|
2013-11-16 20:25:57 +00:00
|
|
|
sha256 = "1q5wx6fmqg2iiw57wxwh5vv4yszqs4nlvlzhzdn9vig8gi30ip14";
|
2010-12-27 18:30:52 +00:00
|
|
|
};
|
|
|
|
|
2013-02-02 15:18:48 +00:00
|
|
|
buildInputs = with xlibs; [ pkgconfig dri2proto libXext ];
|
2012-07-02 14:14:14 +00:00
|
|
|
|
2013-02-02 15:18:48 +00:00
|
|
|
propagatedBuildInputs = [ xlibs.libX11 ];
|
2013-11-16 20:25:57 +00:00
|
|
|
|
2013-07-04 05:03:18 +00:00
|
|
|
configureFlags = stdenv.lib.optional stdenv.isDarwin [ "--build=x86_64" ];
|
2010-12-27 18:30:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://people.freedesktop.org/~aplattner/vdpau/;
|
|
|
|
description = "Library to use the Video Decode and Presentation API for Unix (VDPAU)";
|
|
|
|
license = "bsd";
|
|
|
|
};
|
|
|
|
}
|