aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/libraries/libva/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libva/default.nix')
-rw-r--r--nixpkgs/pkgs/development/libraries/libva/default.nix23
1 files changed, 16 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libva/default.nix b/nixpkgs/pkgs/development/libraries/libva/default.nix
index 1c8e78a3a37..86c6a88b1ef 100644
--- a/nixpkgs/pkgs/development/libraries/libva/default.nix
+++ b/nixpkgs/pkgs/development/libraries/libva/default.nix
@@ -2,23 +2,24 @@
, libXext, libdrm, libXfixes, wayland, libffi, libX11
, libGL, mesa
, minimal ? false, libva-minimal
+, buildPackages
}:
stdenv.mkDerivation rec {
name = "libva-${lib.optionalString minimal "minimal-"}${version}";
- version = "2.6.1";
+ version = "2.7.1"; # Also update the hash for libva-utils!
# update libva-utils and vaapiIntel as well
src = fetchFromGitHub {
- owner = "01org";
+ owner = "intel";
repo = "libva";
rev = version;
- sha256 = "1x34kf38p5rf52bf54ljr9f7knnbilm7kbszqnfk3lzsqrfc7r2g";
+ sha256 = "0ywasac7z3hwggj8szp83sbxi2naa0a3amblx64y7i1hyyrn0csq";
};
outputs = [ "dev" "out" ];
- nativeBuildInputs = [ autoreconfHook pkgconfig ];
+ nativeBuildInputs = [ autoreconfHook pkgconfig wayland ];
buildInputs = [ libdrm ]
++ lib.optionals (!minimal) [ libva-minimal libX11 libXext libXfixes wayland libffi libGL ];
@@ -29,6 +30,7 @@ stdenv.mkDerivation rec {
configureFlags = [
# Add FHS paths for non-NixOS applications.
"--with-drivers-path=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
+ "ac_cv_path_WAYLAND_SCANNER=${buildPackages.wayland}/bin/wayland-scanner"
] ++ lib.optionals (!minimal) [ "--enable-glx" ];
installFlags = [
@@ -36,10 +38,17 @@ stdenv.mkDerivation rec {
];
meta = with stdenv.lib; {
- description = "VAAPI library: Video Acceleration API";
- homepage = "http://www.freedesktop.org/wiki/Software/vaapi";
+ description = "An implementation for VA-API (Video Acceleration API)";
+ longDescription = ''
+ VA-API is an open-source library and API specification, which provides
+ access to graphics hardware acceleration capabilities for video
+ processing. It consists of a main library (this package) and
+ driver-specific acceleration backends for each supported hardware vendor.
+ '';
+ homepage = "https://01.org/linuxmedia/vaapi";
+ changelog = "https://raw.githubusercontent.com/intel/libva/${version}/NEWS";
license = licenses.mit;
- maintainers = with maintainers; [ ];
+ maintainers = with maintainers; [ primeos ];
platforms = platforms.unix;
};
}