0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-08-29 11:33:18 +00:00
Files
termux-packages/x11-packages/firefoxpwa/native_Cargo.toml.patch
Robert Kirkman d409fce76f bump(x11/firefoxpwa): 2.15.0
- Fixes https://github.com/termux/termux-packages/issues/25404

- Rebase all patches

- Adjust formatting

- This package, while working already under ideal conditions, has some bugs in common edge cases, which I believe I have now fixed here.
  - Add `TERMUX_DEBUG_BUILD=true` support
  - `termux_step_create_debscipts()`->`termux_step_create_debscripts()`
  - Add patch that prevents `No such file or directory (os error 2)` during `firefoxpwa runtime install --link` during `postinst` script during clean installation by creating the `~/.local/share/firefoxpwa/runtime/` folder automatically if it does not exist right before it's needed
2025-07-20 07:11:06 -05:00

17 lines
692 B
Diff

--- a/native/Cargo.toml
+++ b/native/Cargo.toml
@@ -73,11 +73,11 @@ features = [
"Win32_UI_Shell_PropertiesSystem"
]
-[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
+[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", target_os = "android"))'.dependencies]
glob = "0.3.2"
phf = { version = "0.12.1", features = ["macros"] }
-[target.'cfg(target_os = "linux")'.dependencies]
+[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
blake3 = "1.8.2"
xz2 = "0.1.7"
tar = "0.4.44"