firefox-fourier: ship .desktop launcher (pkgrel=7)
build and publish packages / distcc-avahi-aarch64 (push) Successful in 1m38s
build and publish packages / lmcp-any (push) Successful in 16s
build and publish packages / lmcp-debian (push) Successful in 9s
build and publish packages / claude-his-any (push) Successful in 14s
build and publish packages / ffmpeg-v4l2-request-aarch64 (push) Successful in 13m9s
build and publish packages / claude-his-debian (push) Successful in 9s
build and publish packages / libva-v4l2-request-fourier-aarch64 (push) Successful in 25s
build and publish packages / ffmpeg-v4l2-request-debian (push) Successful in 29m16s
build and publish packages / daedalus-v4l2-debian (push) Successful in 13s
build and publish packages / mpv-fourier-aarch64 (push) Successful in 1m46s
build and publish packages / libva-v4l2-request-fourier-debian (push) Successful in 31s
build and publish packages / daedalus-v4l2-dkms-debian (push) Successful in 7s
build and publish packages / mpv-fourier-debian (push) Successful in 2m31s
build and publish packages / distcc-avahi-aarch64 (push) Successful in 1m38s
build and publish packages / lmcp-any (push) Successful in 16s
build and publish packages / lmcp-debian (push) Successful in 9s
build and publish packages / claude-his-any (push) Successful in 14s
build and publish packages / ffmpeg-v4l2-request-aarch64 (push) Successful in 13m9s
build and publish packages / claude-his-debian (push) Successful in 9s
build and publish packages / libva-v4l2-request-fourier-aarch64 (push) Successful in 25s
build and publish packages / ffmpeg-v4l2-request-debian (push) Successful in 29m16s
build and publish packages / daedalus-v4l2-debian (push) Successful in 13s
build and publish packages / mpv-fourier-aarch64 (push) Successful in 1m46s
build and publish packages / libva-v4l2-request-fourier-debian (push) Successful in 31s
build and publish packages / daedalus-v4l2-dkms-debian (push) Successful in 7s
build and publish packages / mpv-fourier-debian (push) Successful in 2m31s
Stock firefox.desktop disappears when our 'provides=firefox' replaces stock firefox-arch, so installing firefox-fourier left the user without a Plasma/GNOME start-menu entry. Add firefox-fourier.desktop with Categories=Network;WebBrowser; (routes under Internet on KDE Plasma 6), MIME types for the usual web schemes, new-window / private-window actions, and the 128px icon from the package's internal browser/chrome/icons tree. Reported on ohm (PineTab2 / Plasma 6) — manual /usr/share/applications shim proved the file works; this commits it to the recipe so future installs Just Work.
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
pkgname=firefox-fourier
|
pkgname=firefox-fourier
|
||||||
pkgver=150.0.1
|
pkgver=150.0.1
|
||||||
pkgrel=6
|
pkgrel=7
|
||||||
pkgdesc='Firefox with V4L2 stateless HW video decode unlocked for mainline Linux Rockchip'
|
pkgdesc='Firefox with V4L2 stateless HW video decode unlocked for mainline Linux Rockchip'
|
||||||
arch=('aarch64' 'x86_64')
|
arch=('aarch64' 'x86_64')
|
||||||
url='https://www.mozilla.org/firefox'
|
url='https://www.mozilla.org/firefox'
|
||||||
@@ -91,8 +91,11 @@ source=(
|
|||||||
# Vendor-default prefs that gate the patched VAAPI path on RK3399 —
|
# Vendor-default prefs that gate the patched VAAPI path on RK3399 —
|
||||||
# widget.dmabuf.force-enabled etc. See marfrit-packages#8 for evidence.
|
# widget.dmabuf.force-enabled etc. See marfrit-packages#8 for evidence.
|
||||||
'rockchip-fourier-defaults.js'
|
'rockchip-fourier-defaults.js'
|
||||||
|
# Plasma/GNOME start-menu entry — categorises under Internet, picks the
|
||||||
|
# 128px firefox icon shipped under /usr/lib/firefox-fourier/browser/.
|
||||||
|
'firefox-fourier.desktop'
|
||||||
)
|
)
|
||||||
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/firefox-${pkgver}"
|
cd "${srcdir}/firefox-${pkgver}"
|
||||||
@@ -180,4 +183,11 @@ LAUNCHER
|
|||||||
# VAAPI_VLD` + dmabuf surfaces locking end-to-end.
|
# VAAPI_VLD` + dmabuf surfaces locking end-to-end.
|
||||||
install -Dm644 "${srcdir}/rockchip-fourier-defaults.js" \
|
install -Dm644 "${srcdir}/rockchip-fourier-defaults.js" \
|
||||||
"${pkgdir}/usr/lib/firefox-fourier/defaults/preferences/rockchip-fourier-defaults.js"
|
"${pkgdir}/usr/lib/firefox-fourier/defaults/preferences/rockchip-fourier-defaults.js"
|
||||||
|
|
||||||
|
# Desktop entry — fileless install would leave the package without a
|
||||||
|
# start-menu entry (stock firefox.desktop disappears when our `provides`
|
||||||
|
# replaces stock firefox). Plasma & GNOME pick this up via the
|
||||||
|
# `Categories=Network;WebBrowser;` line → "Internet" submenu.
|
||||||
|
install -Dm644 "${srcdir}/firefox-fourier.desktop" \
|
||||||
|
"${pkgdir}/usr/share/applications/firefox-fourier.desktop"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Version=1.0
|
||||||
|
Type=Application
|
||||||
|
Name=Firefox (Fourier — V4L2 HW decode)
|
||||||
|
GenericName=Web Browser
|
||||||
|
Comment=Browse the Web with V4L2 stateless HW video decode (RK3588/RK3566)
|
||||||
|
Exec=/usr/bin/firefox-fourier %u
|
||||||
|
Icon=/usr/lib/firefox-fourier/browser/chrome/icons/default/default128.png
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=true
|
||||||
|
StartupWMClass=firefox-fourier
|
||||||
|
Categories=Network;WebBrowser;
|
||||||
|
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;image/svg+xml;image/webp;image/avif;application/json;application/pdf;audio/flac;audio/ogg;audio/webm;video/ogg;video/webm;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/chrome;x-scheme-handler/mailto;
|
||||||
|
Actions=new-window;new-private-window;
|
||||||
|
|
||||||
|
[Desktop Action new-window]
|
||||||
|
Name=Open a New Window
|
||||||
|
Exec=/usr/bin/firefox-fourier --new-window %u
|
||||||
|
|
||||||
|
[Desktop Action new-private-window]
|
||||||
|
Name=Open a New Private Window
|
||||||
|
Exec=/usr/bin/firefox-fourier --private-window %u
|
||||||
Reference in New Issue
Block a user