Snap with dependencies existent on 24.10

How to build snap for an application which depends on gstreamer1.0-gtk4? This package only exists on Ubuntu 24.10 whereas core24 base is based on Ubuntu 24.04.

You could backport the packages in a PPA and use that PPA during build or you could build it plainly from source during your build process from the snapcraft.yaml