libva1,libva1-minimal: drop (#519971)
This commit is contained in:
@@ -1,73 +0,0 @@
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
autoreconfHook,
|
||||
libx11,
|
||||
pkg-config,
|
||||
libxext,
|
||||
libdrm,
|
||||
libxfixes,
|
||||
wayland,
|
||||
wayland-scanner,
|
||||
libffi,
|
||||
libGL,
|
||||
mesa,
|
||||
minimal ? false,
|
||||
libva1-minimal,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libva" + lib.optionalString minimal "-minimal";
|
||||
# nixpkgs-update: no auto update
|
||||
version = "1.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "libva";
|
||||
rev = version;
|
||||
sha256 = "sha256-ur59cqdZqXIY2dDUSie9XsxyRomVBxIW2IVKAgWYC38=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"dev"
|
||||
"out"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
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 =
|
||||
lib.optionals stdenv.hostPlatform.isLinux [
|
||||
"--with-drivers-path=${mesa.driverLink}/lib/dri:/usr/lib/dri:/usr/lib32/dri"
|
||||
]
|
||||
++ lib.optionals (!minimal) [ "--enable-glx" ];
|
||||
|
||||
installFlags = [ "dummy_drv_video_ladir=$(out)/lib/dri" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/vaapi/";
|
||||
license = lib.licenses.mit;
|
||||
description = "VAAPI library: Video Acceleration API";
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
@@ -1169,6 +1169,8 @@ mapAliases {
|
||||
libtransmission_3 = throw "libtransmission_3 has been removed in favour of libtransmission_4. Note that upgrade caused data loss for some users so backup is recommended (see NixOS 24.11 release notes for details)"; # Converted to throw 2025-10-26
|
||||
libubox-wolfssl = throw "'libubox-wolfssl' has been removed, use 'libubox' or 'libubox-mbedtls'"; # Added 2026-03-29
|
||||
libuinputplus = throw "'libuinputplus' has been removed, as it was unmaintained upstream since 2021, no longer builds, and is no longer used by anything"; # Added 2025-11-02
|
||||
libva1 = throw "'libva1' has been removed, as it is no longer required. Please use libva."; # Added 2026-05-14
|
||||
libva1-minimal = throw "'libva1-minimal' has been removed, as it is no longer required. Please use libva-minimal."; # Added 2026-05-14
|
||||
libviper = throw "'libviper' was removed as it is broken and not maintained upstream"; # Added 2025-05-17
|
||||
libWindowsWM = libwindowswm; # Added 2026-01-19
|
||||
libwnck3 = throw "'libwnck3' has been renamed to/replaced by 'libwnck'"; # Converted to throw 2025-10-27
|
||||
|
||||
@@ -6644,9 +6644,6 @@ with pkgs;
|
||||
libva = libva-minimal.override { minimal = false; };
|
||||
libva-utils = callPackage ../development/libraries/libva/utils.nix { };
|
||||
|
||||
libva1 = callPackage ../development/libraries/libva/1.nix { };
|
||||
libva1-minimal = libva1.override { minimal = true; };
|
||||
|
||||
libwnck = callPackage ../development/libraries/libwnck { };
|
||||
libwnck2 = callPackage ../development/libraries/libwnck/2.nix { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user