mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Adding the vaapi Intel driver.
I also renamed the vdpau driver to 'vaapiDriver' in all-packages. I think it's a better name.
This commit is contained in:
parent
111b203467
commit
c73655fa92
23
pkgs/development/libraries/vaapi-intel/default.nix
Normal file
23
pkgs/development/libraries/vaapi-intel/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{ stdenv, fetchurl, autoconf, automake, libtool, mesa, libva, libdrm, libX11, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "intel-driver-1.0.19";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://cgit.freedesktop.org/intel-driver/snapshot/${name}.tar.bz2";
|
||||
sha256 = "1ns6y1hdqvqd92mc0d6axyh17rgyzp73xnbf97mnnzi9fc47x6p1";
|
||||
};
|
||||
|
||||
buildInputs = [ autoconf automake libtool mesa libva pkgconfig libdrm libX11 ];
|
||||
|
||||
preConfigure = ''
|
||||
sh autogen.sh
|
||||
sed -i -e "s,LIBVA_DRIVERS_PATH=.*,LIBVA_DRIVERS_PATH=$out/lib/dri," configure
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://cgit.freedesktop.org/vaapi/intel-driver/;
|
||||
license = "MIT";
|
||||
description = "Intel driver for the VAAPI library";
|
||||
};
|
||||
}
|
@ -5057,7 +5057,9 @@ let
|
||||
|
||||
ucommon = callPackage ../development/libraries/ucommon { };
|
||||
|
||||
vdpauDriver = callPackage ../development/libraries/vaapi-vdpau { };
|
||||
vaapiIntel = callPackage ../development/libraries/vaapi-intel { };
|
||||
|
||||
vaapiVdpau = callPackage ../development/libraries/vaapi-vdpau { };
|
||||
|
||||
vamp = callPackage ../development/libraries/audio/vamp { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user