go-flutter
go-flutter copied to clipboard
[feature request] Add package dependencies
Is your feature request related to a problem?
My Flutter application calls native platform binaries to render eg. LaTeX using pdflatex. To support this in packaged builds, I would need to be able to add native platform dependencies to the packages.
Describe the feature you'd like
- [x]
linux-deb: possible by modifyingDEBIAN/control.tmpl - [x]
linux-rpm: possible by modifyingSPECS/{{.packageName}}.spec.tmpl - [ ]
linux-snap: unsuccessfully tried to addparts > app > stage-packages. Is it somehow possible to include packages from the underlying Ubuntu? - [ ]
linux-appimage: somehow include tarballs or similar inside the AppImage file? - [x]
linux-pgk: modifyPKGBUILD.tmpland adddepends() - [ ]
windows-msi: no idea, not a Windows user. Would be great to includechocolaterypackages - [ ]
darwin-*: no idea, not a macOS user. Includehomebrewpackages?
I think for snap and appimage there is a possibility to add dependencies, but I don't have any experience with them. For darwin and windows I have no clue, but from the way software management on these platforms work I would guess there is no standard way to do it.
Well, on windows, there are two working formats of software distribution, I guess: MSI and choco. I don't know how far it is possible to include a package of the chocolatey inside an MSI but I think it might be possible to include prebuilt MSIs inside another MSI.
On macOS, the same but the formats are called pkg and brew...