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:
parent
9228c0a2d2
commit
826794479e
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue