libaom: move libvmaf and libjxl to propagatedBuildInputs

pkg-config doesn't have absolute store paths so propogating the dependencies was required
Fixes the build for gst_all_1.gst-plugins-bad

Co-authored-by: Sergei Trofimovich <slyich@gmail.com>
This commit is contained in:
Daniel Olsen 2022-06-12 09:10:42 +02:00
parent 9228c0a2d2
commit 826794479e

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchzip, yasm, perl, cmake, pkg-config, python3
, enableButteraugli ? false, libjxl, libhwy # Broken
, enableButteraugli ? false, libjxl # Broken
, enableVmaf ? true, libvmaf
}:
@ -19,10 +19,8 @@ stdenv.mkDerivation rec {
yasm perl cmake pkg-config python3
];
buildInputs = lib.optionals enableButteraugli [
libjxl
libhwy
] ++ lib.optional enableVmaf libvmaf;
propagatedBuildInputs = lib.optional enableButteraugli libjxl
++ lib.optional enableVmaf libvmaf;
preConfigure = ''
# build uses `git describe` to set the build version