libva1: 1.7.3 -> 1.8.3, update homepage, add SuperSandro2000 as maintainer
All things under bin moved to libva-utils. Changelog: https://github.com/intel/libva/compare/libva-1.7.3...libva-1.8.3#diff-7ee66c4f1536ac84dc5bbff1b8312e2eef24b974b3e48a5c5c2bcfdf2eb8f3ce
This commit is contained in:
parent
99391da078
commit
f476db5bdd
|
@ -1,37 +0,0 @@
|
|||
{ stdenv, lib, fetchurl, libX11, pkg-config, libXext, libdrm, libXfixes, wayland, libffi
|
||||
, libGL, mesa
|
||||
, minimal ? false, libva1-minimal
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libva";
|
||||
version = "1.7.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.freedesktop.org/software/vaapi/releases/libva/${pname}-${version}.tar.bz2";
|
||||
sha256 = "1ndrf136rlw03xag7j1xpmf9015d1h0dpnv6v587jnh6k2a17g12";
|
||||
};
|
||||
|
||||
outputs = [ "bin" "dev" "out" ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ libdrm ]
|
||||
++ lib.optionals (!minimal) [ libva1-minimal libX11 libXext libXfixes wayland libffi libGL ];
|
||||
# TODO: share libs between minimal and !minimal - perhaps just symlink them
|
||||
|
||||
configureFlags =
|
||||
# Add FHS paths for non-NixOS applications.
|
||||
[ "--with-drivers-path=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri" ] ++
|
||||
lib.optionals (!minimal) [ "--enable-glx" ];
|
||||
|
||||
installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.freedesktop.org/wiki/Software/vaapi";
|
||||
license = licenses.mit;
|
||||
description = "VAAPI library: Video Acceleration API";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
50
pkgs/development/libraries/libva/1.nix
Normal file
50
pkgs/development/libraries/libva/1.nix
Normal file
|
@ -0,0 +1,50 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, libX11
|
||||
, pkg-config
|
||||
, libXext
|
||||
, libdrm
|
||||
, libXfixes
|
||||
, wayland
|
||||
, libffi
|
||||
, libGL
|
||||
, mesa
|
||||
, minimal ? false
|
||||
, libva1-minimal
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libva" + lib.optionalString minimal "-minimal";
|
||||
version = "1.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "libva";
|
||||
rev = version;
|
||||
sha256 = "sha256-ur59cqdZqXIY2dDUSie9XsxyRomVBxIW2IVKAgWYC38=";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
||||
buildInputs = [ libdrm ]
|
||||
++ lib.optionals (!minimal) [ libva1-minimal libX11 libXext libXfixes wayland libffi libGL ];
|
||||
# TODO: share libs between minimal and !minimal - perhaps just symlink them
|
||||
|
||||
# Add FHS paths for non-NixOS applications.
|
||||
configureFlags = [ "--with-drivers-path=${mesa.drivers.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri" ]
|
||||
++ lib.optionals (!minimal) [ "--enable-glx" ];
|
||||
|
||||
installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/vaapi/";
|
||||
license = licenses.mit;
|
||||
description = "VAAPI library: Video Acceleration API";
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
|
@ -18870,7 +18870,7 @@ with pkgs;
|
|||
libva-minimal = libva.override { minimal = true; };
|
||||
libva-utils = callPackage ../development/libraries/libva/utils.nix { };
|
||||
|
||||
libva1 = callPackage ../development/libraries/libva/1.0.0.nix { };
|
||||
libva1 = callPackage ../development/libraries/libva/1.nix { };
|
||||
libva1-minimal = libva1.override { minimal = true; };
|
||||
|
||||
libvarlink = callPackage ../development/libraries/libvarlink { };
|
||||
|
|
Loading…
Reference in a new issue