pv-runtime, pv-adverb: Use ${LIB} instead of ${PLATFORM} if possible
Continuing on from !633 (merged) and !634 (merged) to fix steamrt/tasks#349: ${PLATFORM}
-based paths not working under FEX-Emu.
-
tests: Install helper libraries into temporary directory
Otherwise, pv-adverb will be unable to detect the expansion of ${LIB} or ${PLATFORM}, leading to a somewhat unrealistic test.
-
pv-adverb: Try to use both ${LIB} and ${PLATFORM} for per-arch dirs
When running under FEX-Emu, we cannot determine the correct value for ${PLATFORM}. However, the standard "rootfs" environments for FEX-Emu are all based on operating systems whose ${LIB} setup we understand - either Debian multiarch, FHS/Red Hat multilib, or Arch multilib - so we can prefer to use one of those, only falling back to ${PLATFORM} if nothing else works.
Helps: steamrt/tasks#349
-
pv-runtime: Delegate setup of VDPAU to pv-adverb
This lets us use a path based on ${LIB} rather than ${PLATFORM}, which will work under FEX-Emu.
Helps: steamrt/tasks#349