.in is just a convention; it stands for ‘input’. The file is processed by meson to hardcode various build variables into the output file.
In gnome-music.in there are strings like @version@ which are replaced by the values in bin_config, defined in meson.build just above the excerpt you shared.