mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
libva: make libva-full
the default
It seems that all uses of `libva` it in nixpkgs except `mesa` and itself actually either will gain from using `libva-full` instead of `libva-minimal` by default or simply won't care.
This commit is contained in:
parent
8f6f69cb0f
commit
c7cf808ff8
@ -1,4 +1,4 @@
|
||||
{ callPackage, libva-full }:
|
||||
{ callPackage }:
|
||||
|
||||
rec {
|
||||
gstreamer = callPackage ./core { };
|
||||
@ -23,7 +23,6 @@ rec {
|
||||
|
||||
gst-vaapi = callPackage ./vaapi {
|
||||
inherit gst-plugins-base gstreamer gst-plugins-bad;
|
||||
libva = libva-full; # looks also for libva-{x11,wayland}
|
||||
};
|
||||
|
||||
gst-validate = callPackage ./validate { inherit gst-plugins-base; };
|
||||
|
@ -1,11 +1,11 @@
|
||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig
|
||||
, libXext, libdrm, libXfixes, wayland, libffi, libX11
|
||||
, libGL, libGL_driver
|
||||
, minimal ? true, libva
|
||||
, minimal ? false, libva-minimal
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libva-${lib.optionalString (!minimal) "full-"}${version}";
|
||||
name = "libva-${lib.optionalString minimal "minimal-"}${version}";
|
||||
version = "2.1.0";
|
||||
|
||||
# update libva-utils and vaapiIntel as well
|
||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
|
||||
buildInputs = [ libdrm ]
|
||||
++ lib.optionals (!minimal) [ libva libX11 libXext libXfixes wayland libffi libGL ];
|
||||
++ lib.optionals (!minimal) [ libva-minimal libX11 libXext libXfixes wayland libffi libGL ];
|
||||
# TODO: share libs between minimal and !minimal - perhaps just symlink them
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, fetchpatch, lib
|
||||
, pkgconfig, intltool, autoreconfHook, substituteAll
|
||||
, file, expat, libdrm, xorg, wayland, wayland-protocols, openssl
|
||||
, llvmPackages, libffi, libomxil-bellagio, libva
|
||||
, llvmPackages, libffi, libomxil-bellagio, libva-minimal
|
||||
, libelf, libvdpau, valgrind-light, python2
|
||||
, libglvnd
|
||||
, grsecEnabled ? false
|
||||
@ -151,7 +151,7 @@ let self = stdenv.mkDerivation {
|
||||
glproto dri2proto dri3proto presentproto
|
||||
libX11 libXext libxcb libXt libXfixes libxshmfence
|
||||
libffi wayland wayland-protocols libvdpau libelf libXvMC
|
||||
libomxil-bellagio libva libpthreadstubs openssl/*or another sha1 provider*/
|
||||
libomxil-bellagio libva-minimal libpthreadstubs openssl/*or another sha1 provider*/
|
||||
valgrind-light python2
|
||||
];
|
||||
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation ((lib.optionalAttrs (! isNull buildScript) {
|
||||
++ lib.optional odbcSupport pkgs.unixODBC
|
||||
++ lib.optional netapiSupport pkgs.samba4
|
||||
++ lib.optional cursesSupport pkgs.ncurses
|
||||
++ lib.optional vaSupport pkgs.libva-full
|
||||
++ lib.optional vaSupport pkgs.libva
|
||||
++ lib.optional pcapSupport pkgs.libpcap
|
||||
++ lib.optional v4lSupport pkgs.libv4l
|
||||
++ lib.optional saneSupport pkgs.sane-backends
|
||||
|
@ -10328,7 +10328,8 @@ with pkgs;
|
||||
});
|
||||
|
||||
libva = callPackage ../development/libraries/libva { };
|
||||
libva-full = libva.override { minimal = false; };
|
||||
libva-minimal = libva.override { minimal = true; };
|
||||
libva-full = libva;
|
||||
libva-utils = callPackage ../development/libraries/libva-utils { };
|
||||
|
||||
libva1 = callPackage ../development/libraries/libva/1.0.0.nix { };
|
||||
@ -10336,9 +10337,7 @@ with pkgs;
|
||||
|
||||
libvdpau = callPackage ../development/libraries/libvdpau { };
|
||||
|
||||
libvdpau-va-gl = callPackage ../development/libraries/libvdpau-va-gl {
|
||||
libva = libva-full; # also wants libva-{x11}
|
||||
};
|
||||
libvdpau-va-gl = callPackage ../development/libraries/libvdpau-va-gl { };
|
||||
|
||||
libvirt = callPackage ../development/libraries/libvirt { };
|
||||
|
||||
@ -11109,9 +11108,7 @@ with pkgs;
|
||||
|
||||
libopenshot-audio = callPackage ../applications/video/openshot-qt/libopenshot-audio.nix { };
|
||||
|
||||
libqtav = callPackage ../development/libraries/libqtav {
|
||||
libva = libva-full; # also wants libva-x11
|
||||
};
|
||||
libqtav = callPackage ../development/libraries/libqtav { };
|
||||
|
||||
kpmcore = callPackage ../development/libraries/kpmcore { };
|
||||
|
||||
@ -11644,13 +11641,9 @@ with pkgs;
|
||||
|
||||
v8_static = lowPrio (self.v8.override { static = true; });
|
||||
|
||||
vaapiIntel = callPackage ../development/libraries/vaapi-intel {
|
||||
libva = libva-full; # also wants libva-{x11,drm,wayland}
|
||||
};
|
||||
vaapiIntel = callPackage ../development/libraries/vaapi-intel { };
|
||||
|
||||
vaapiVdpau = callPackage ../development/libraries/vaapi-vdpau {
|
||||
libva = libva-full; # needs libva-{x11,glx}
|
||||
};
|
||||
vaapiVdpau = callPackage ../development/libraries/vaapi-vdpau { };
|
||||
|
||||
vale = callPackage ../tools/text/vale { };
|
||||
|
||||
@ -14706,9 +14699,7 @@ with pkgs;
|
||||
|
||||
autopanosiftc = callPackage ../applications/graphics/autopanosiftc { };
|
||||
|
||||
avidemux = libsForQt5.callPackage ../applications/video/avidemux {
|
||||
libva = libva-full;
|
||||
};
|
||||
avidemux = libsForQt5.callPackage ../applications/video/avidemux { };
|
||||
|
||||
avogadro = callPackage ../applications/science/chemistry/avogadro {
|
||||
eigen = eigen2;
|
||||
@ -16732,7 +16723,6 @@ with pkgs;
|
||||
mpv = callPackage ../applications/video/mpv rec {
|
||||
inherit (luaPackages) luasocket;
|
||||
youtube-dl = pythonPackages.youtube-dl;
|
||||
libva = libva-full;
|
||||
waylandSupport = stdenv.isLinux;
|
||||
alsaSupport = !stdenv.isDarwin;
|
||||
pulseSupport = !stdenv.isDarwin;
|
||||
@ -18142,7 +18132,6 @@ with pkgs;
|
||||
|
||||
vlc = callPackage ../applications/video/vlc {
|
||||
ffmpeg = ffmpeg_2;
|
||||
libva = libva-full; # also wants libva-x11
|
||||
};
|
||||
|
||||
vlc_npapi = callPackage ../applications/video/vlc/plugin.nix {
|
||||
@ -18399,9 +18388,7 @@ with pkgs;
|
||||
gtk = gtk2;
|
||||
};
|
||||
|
||||
kodiPlain = callPackage ../applications/video/kodi {
|
||||
libva = libva-full;
|
||||
};
|
||||
kodiPlain = callPackage ../applications/video/kodi { };
|
||||
xbmcPlain = kodiPlain;
|
||||
|
||||
kodiPlugins = recurseIntoAttrs (callPackage ../applications/video/kodi/plugins.nix {});
|
||||
|
Loading…
Reference in New Issue
Block a user