summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/libva/utils.nix
blob: 67de8a65269f953cd9a5846bf910968cdfb4294a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
  lib,
  stdenv,
  fetchFromGitHub,
  meson,
  ninja,
  pkg-config,
  libdrm,
  libva,
  libx11,
  libxext,
  libxfixes,
  wayland,
}:

stdenv.mkDerivation rec {
  pname = "libva-utils";
  version = "2.24.0";

  src = fetchFromGitHub {
    owner = "intel";
    repo = "libva-utils";
    rev = version;
    sha256 = "sha256-ezYoJ9hyG0pAficudoS4oiXbdrw4oCUU8C6qmJrNQRc=";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
  ];

  buildInputs = [
    libdrm
    libva
    libx11
    libxext
    libxfixes
    wayland
  ];

  meta = {
    description = "Collection of utilities and examples for VA-API";
    longDescription = ''
      libva-utils is a collection of utilities and examples to exercise VA-API
      in accordance with the libva project.
    '';
    homepage = "https://github.com/intel/libva-utils";
    changelog = "https://raw.githubusercontent.com/intel/libva-utils/${version}/NEWS";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ SuperSandro2000 ];
    platforms = lib.platforms.unix;
  };
}