Work around Wayland Qt5 crash by forcing xcb in desktop launchers

This commit is contained in:
Sebastian Palencsar
2026-05-31 16:34:24 +02:00
parent 9849b89c9d
commit 4507023da2
8 changed files with 16 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
pkgbase = bearhub-git
pkgdesc = Arch-first package manager hub (development snapshot, fork of bauh)
pkgver = 0.10.7.r0.g0000000
pkgrel = 3
pkgrel = 4
url = https://github.com/spalencsar/bearhub
arch = any
license = ZLIB

View File

@@ -1,6 +1,6 @@
pkgname=bearhub-git
pkgver=0.10.7.r0.g0000000
pkgrel=3
pkgrel=4
pkgdesc="Arch-first package manager hub (development snapshot, fork of bauh)"
arch=('any')
url="https://github.com/spalencsar/bearhub"
@@ -39,6 +39,10 @@ build() {
package() {
cd "$srcdir/bearhub"
sed -i 's|^Exec=/usr/bin/bearhub$|Exec=env QT_QPA_PLATFORM=xcb /usr/bin/bearhub|' "bearhub/desktop/bearhub.desktop"
sed -i 's|^Exec=/usr/bin/bearhub-tray$|Exec=env QT_QPA_PLATFORM=xcb /usr/bin/bearhub-tray|' "bearhub/desktop/bearhub_tray.desktop"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "bearhub/desktop/bearhub.desktop" \

View File

@@ -1,7 +1,7 @@
pkgbase = bearhub
pkgdesc = Arch-first package manager hub (community-maintained fork of bauh)
pkgver = 0.10.7
pkgrel = 7
pkgrel = 8
url = https://github.com/spalencsar/bearhub
arch = any
license = ZLIB

View File

@@ -1,6 +1,6 @@
pkgname=bearhub
pkgver=0.10.7
pkgrel=7
pkgrel=8
pkgdesc="Arch-first package manager hub (community-maintained fork of bauh)"
arch=('any')
url="https://github.com/spalencsar/bearhub"
@@ -32,6 +32,10 @@ build() {
package() {
cd "$srcdir/$pkgname-${pkgver}-bearhub.5"
sed -i 's|^Exec=/usr/bin/bearhub$|Exec=env QT_QPA_PLATFORM=xcb /usr/bin/bearhub|' "bearhub/desktop/bearhub.desktop"
sed -i 's|^Exec=/usr/bin/bearhub-tray$|Exec=env QT_QPA_PLATFORM=xcb /usr/bin/bearhub-tray|' "bearhub/desktop/bearhub_tray.desktop"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "bearhub/desktop/bearhub.desktop" \