Work around fontconfig issue on Snap

parent 0194e429
......@@ -36,7 +36,9 @@ config:
- wayland
depends:
- filename: firefox.bst
type: build
- filename: snap/firefox-wrapper.bst
type: build
- filename: firefox.bst
type: build
- filename: snap/firefox-wrapper.bst
type: build
- filename: snap/fontconfig-config.bst
type: build
kind: script
depends:
- filename: desktop/fontconfig.bst
junction: freedesktop-sdk.bst
type: build
- filename: desktop/dejavu-fonts.bst
junction: freedesktop-sdk.bst
type: build
- filename: desktop/emoji-one-font.bst
junction: freedesktop-sdk.bst
type: build
- filename: desktop/gnu-free-fonts.bst
junction: freedesktop-sdk.bst
type: build
- filename: desktop/liberation-fonts.bst
junction: freedesktop-sdk.bst
type: build
- filename: desktop/google-crosextra-carlito.bst
junction: freedesktop-sdk.bst
type: build
- filename: desktop/google-crosextra-caladea.bst
junction: freedesktop-sdk.bst
type: build
config:
commands:
- |
mkdir -p "%{install-root}%{sysconfdir}"
cp -rd /etc/fonts "%{install-root}%{sysconfdir}/fonts"
#!/bin/sh
export PATH="$SNAP/bin"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/lib"
export FONTCONFIG_PATH="$SNAP/etc/fonts"
exec "$SNAP/bin/firefox" "[email protected]"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment