Skip to content
Snippets Groups Projects
Commit 31b586ef authored by Amish M's avatar Amish M
Browse files

Enable Wayland support in thunderbird when running under wayland

parent 0fc26614
No related branches found
Tags 2.2.0-95
No related merge requests found
......@@ -153,10 +153,13 @@ package_thunderbird() {
ln -Ts /usr/share/hyphen "$pkgdir/usr/lib/$pkgname/hyphenation"
# Install a wrapper to avoid confusion about binary path
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
#!/bin/sh
exec /usr/lib/$pkgname/thunderbird "\$@"
END
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
#!/bin/sh
if [ -n "\$WAYLAND_DISPLAY" ]; then
export MOZ_ENABLE_WAYLAND=1
fi
exec /usr/lib/$pkgname/thunderbird "\$@"
END
# Replace duplicate binary with wrapper
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment