go-flutter icon indicating copy to clipboard operation
go-flutter copied to clipboard

[feature request] Add package dependencies

Open TheOneWithTheBraid opened this issue 5 years ago • 2 comments

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 modifying DEBIAN/control.tmpl
  • [x] linux-rpm: possible by modifying SPECS/{{.packageName}}.spec.tmpl
  • [ ] linux-snap: unsuccessfully tried to add parts > 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: modify PKGBUILD.tmpl and add depends()
  • [ ] windows-msi: no idea, not a Windows user. Would be great to include chocolatery packages
  • [ ] darwin-*: no idea, not a macOS user. Include homebrew packages?

TheOneWithTheBraid avatar Jun 05 '20 13:06 TheOneWithTheBraid

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.

provokateurin avatar Jun 05 '20 13:06 provokateurin

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...

TheOneWithTheBraid avatar Jun 05 '20 13:06 TheOneWithTheBraid