main/postmarketos-ui-gnome-mobile: remove firefox-wayland.sh

firefox, firefox-esr and thunderbird already default to Wayland.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6372
This commit is contained in:
fossdd
2025-04-02 12:09:14 +02:00
committed by Pablo Correa Gómez
parent dc89a04eec
commit 4bf90844db
2 changed files with 1 additions and 15 deletions
+1 -7
View File
@@ -35,13 +35,10 @@ _pmb_recommends="
gnome-mobile-extensions-app
"
subpackages="$pkgname-openrc"
source="firefox-wayland.sh"
options="!check pmb:systemd"
package() {
install -Dm755 \
"$srcdir"/firefox-wayland.sh \
-t "$pkgdir"/etc/profile.d/
mkdir -p "$pkgdir"
}
openrc() {
@@ -52,6 +49,3 @@ openrc() {
mkdir -p "$subpkgdir"
}
sha512sums="
0d9ec58be7dc354e181989c7f08e7d4dd93fefd06a99e784b87fe898479dd47a40dfa9689c6a63ebdc04bf87883a270686aec27f7cc34cb21ec0f370a4afe2d8 firefox-wayland.sh
"
@@ -1,8 +0,0 @@
#!/bin/sh
# Firefox does run with xwayland by default on Gnome, this setting
# makes it pick the wayland backend without setting GDK_BACKEND=wayland
# which causes more issues in the Gnome stack
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
fi