Closed vitor251093 closed 1 year ago
Please check out https://github.com/mmtrt/WINE_AppImage. This task is too complex for pkg2appimage.
I'm not asking for a Wine AppImage. I'm working on it. I tried to build an AppImage using that project you mentioned, but it didn't work.
What I'm asking for is for a method to install a package with an specific version/build. Is that really too complex for pkg2appimage?
Just checked pkg2appimage source. It seems that, in order to have version support, the function apt-get.do-download would need to be updated accordingly. Otherwise, it will only consider the package name, but not the package version. Is that right?
Packaging WINE is too complex for pkg2appimage. Trust me. I've been there.
I've managed to package Wine with pkg2appimage with ease, but I had to do some improvements in pkg2appimage to do do, so it could download packages at specific versions. I will submit a pull request later.
In the meanwhile, you can check the result yourself: https://github.com/vitor251093/Wine_AppImage_Builder
If you have NodeJS installed that should be enough to try the build.js script. Downloading pkg2appimage isn't a requirement right now because, in order to test my changes, I've added it inside the project temporarily.
I'm trying to create an AppImage for Wine, for I'm having trouble with setting the Wine build.
When creating an AppImage with "winehq-stable" in the packages list, it will install the 2.0.2 version. If I use "winehq-stable=6.0.4\~buster" instead, Wine won't be installed. If I replace "winehq-stable=6.0.4\~buster" with "winehq-stable 6.0.4\~buster", it installs winehq-stable 2.0.2 instead. How can I specify which package build do I want to install?
Here is a sample of the YML file: