flathub / com.realm667.Wolfenstein_Blade_of_Agony

https://flathub.org/apps/details/com.realm667.Wolfenstein_Blade_of_Agony
0 stars 2 forks source link

Add the launcher? #20

Open Talon1024 opened 3 years ago

Talon1024 commented 3 years ago

I think it would be cool to add @mgrinzPlayer's launcher to the Flatpak (and snap eventually) release. However, the launcher is written in Pascal, and the project doesn't have a widely-known build system like CMake or Meson set up.

I was able to extract the build command from Lazarus, but IMO using it would be a rather crude and hackish solution: /usr/bin/fpc -B -Tlinux -Px86_64 -MObjFPC -Scghi -CX -Cg -Os2 -Xs -XX -l -vewnhibq -Fi${REPO}/lib/x86_64-linux -Fu${HOME}/.lazarus/lib/units/x86_64-linux/qt5 -Fu/usr/share/lazarus/2.0.10/lcl/units/x86_64-linux -Fu/usr/share/lazarus/2.0.10/components/lazutils/lib/x86_64-linux -Fu/usr/share/lazarus/2.0.10/packager/units/x86_64-linux -Fu${REPO} -FU${REPO}/lib/x86_64-linux/ -FE${REPO} -o${REPO}/Blade_of_Agony_Launcher_qt5 -dLCL -dLCLqt5 BladeOfAgonyLauncher.lpr

Also, since the launcher is written in Pascal, it requires the Free Pascal compiler, and it uses a GUI library which is only available for apps written in Pascal. I'm very new to Flatpak, so would this mean that a custom SDK and runtime would be necessary to add the launcher to the BoA Flatpak release?