exelix11 / SysDVR

Stream switch games to your PC via USB or network
GNU General Public License v2.0
1.52k stars 89 forks source link

Update flatpak build #322

Closed Parnassius closed 3 weeks ago

Parnassius commented 3 weeks ago

This updates several things in the flatpak build:

I've tested this with the latest sysmodule release and it's working fine on both network and usb modes.

exelix11 commented 3 weeks ago

Thank you, this is looking great. I only have one question, did you look into the possibility of using org.freedesktop.Platform.ffmpeg-full instead of building it ? The reason is that 90% of the build time of the flatpak is just ffmpeg, getting rid of that step would make it much faster.

Parnassius commented 3 weeks ago

Yes, unfortunately the ffmpeg version provided by that extension doesn't match what's required by the the version of FFmpeg.AutoGen currently used. That wrapper requires 5.1 (libavutil57, libavcodec59, ...), while org.freedesktop.Platform.ffmpeg-full only provides ffmpeg 6.1 (libavutil58, libavcodec60, ...) on 23.08, or ffmpeg 7.x (libavutil59, libavcodec61, ...) on 24.08.

If the wrapper can be updated to use a newer version, then removing the custom built ffmpeg from the manifest and replacing it with org.freedesktop.Platform.ffmpeg-full should be quite easy.

exelix11 commented 3 weeks ago

I see. For now i don't plan on updating the wrapper cause it would mean also figuring out updates on all other platofrms too.

Parnassius commented 3 weeks ago

Yeah, I thought it wasn't really an easy task. Anyway it can be revisited in the future