Pokemon Y not working on citra-canary in Linux

So, I recently installed citra-canary on my machine running pop-os(Linux distro). The reason being that I wanted to play Pokemon Y. But my dream bubble was burst open when I started the game and citra suddenly closed after selecting the language. I tried restarting the program but it didn’t work.

Any help would be appreciated.

Flatpak doesn’t ship with the AAC Decoder so you will need to build it yourself for now: https://github.com/citra-emu/citra/wiki/HLE-AAC-Decoder

Oh, alright thank you.

CMake Error at CMakeLists.txt:5 (include):
include could not find load file:

DownloadExternals

– Copying pre-commit hook
CMake Error at CMakeLists.txt:31 (file):
file COPY cannot find “/home/arian/hooks/pre-commit”.

CMake Error at CMakeLists.txt:39 (file):
file failed to open for reading (No such file or directory):

/home/arian/.gitmodules

Call Stack (most recent call first):
CMakeLists.txt:49 (check_submodules_present)

CMake Error: File /home/arian/dist/compatibility_list/compatibility_list.qrc does not exist.
CMake Error at CMakeLists.txt:51 (configure_file):
configure_file Problem configuring file

– Target architecture: x86_64
CMake Error at CMakeLists.txt:203 (find_package):
By not providing “FindFFmpeg.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “FFmpeg”, but
CMake did not find one.

Could not find a package configuration file provided by “FFmpeg” with any
of the following names:

FFmpegConfig.cmake
ffmpeg-config.cmake

Add the installation prefix of “FFmpeg” to CMAKE_PREFIX_PATH or set
“FFmpeg_DIR” to a directory containing one of the above files. If “FFmpeg”
provides a separate development package or SDK, be sure it has been
installed.

– Configuring incomplete, errors occurred!
See also “/home/arian/build/CMakeFiles/CMakeOutput.log”.
See also “/home/arian/build/CMakeFiles/CMakeError.log”.

I am getting this error even after installing FFmpeg, what to do?