summaryrefslogtreecommitdiff
path: root/nongnu/packages/benchmark.scm
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2022-11-06 12:49:51 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2022-11-06 12:49:51 -0500
commitdfc2b256ebe208605c7da1b35ab0bfd8304ae675 (patch)
tree3edbebef07fbeeadd67db5870c1409b10e07d2a3 /nongnu/packages/benchmark.scm
parentbddabaacc567651d8e15beda668b5722af305316 (diff)
nongnu: firefox-esr: Fix VA-API support.
This also fixes the firefox package. VA-API runs in the RDD (Remote Data Decoder) sandbox in firefox and thus needs to have specified everything it needs access to. Using commit b7a0935420ee630a29b7e5ac73a32ba1eb24f00b of Guix's icecat package, we can get all the dependencies needed and add that to LD_LIBRARY_PATH. These are then accessible in the RDD sandbox, allowing VA-API to fully load and work for hardware video decoding support. * nongnu/package/mozilla.scm (firefox-esr)[modules]: Add (srfi srfi-1), (rnrs bytevectors), (rnrs io ports), (guix elf), and (guix build gremlin). [phases]{wrap-program}: New functions RUNPATH-OF and RUNPATHS-OF-INPUT. Use these for RDD-WHITELIST, the runpaths of mesa and ffmpeg. Add this list to LD_LIBRARY_PATH.
Diffstat (limited to 'nongnu/packages/benchmark.scm')
0 files changed, 0 insertions, 0 deletions