The 1.24.0-r1 ebuid requires that TeX be installed. This dependency didn't exist in older versions of Atril and is rather onerous if you don't use TeX/LaTeX. This dependency was due to a new 1.24 upstream requirement for an external 'synctex' library instead of previous "built-in" synctex support. Upstream has fixed this at https://github.com/mate-desktop/atril/pull/436, and synctex support is now optional. Until that change appears downstream, the attached ebuild and patch make synctex support optional (via the existing 'synctex' USE flag). The synctex support is disabled by default, which I believe matches the new upstream behavior. Reproducible: Always
Created attachment 654043 [details, diff] Patch to make synctex support optional
Created attachment 654045 [details] ebuild to make synctex support optional
Just to illustrate what I meant by "onerous": without the attached patch, emerge demanded to install 49 new packages in order to upgrade atril from 1.23 to 1.24.
I'm glad to see this issue. I have a similar ebuild in my mate-de-gentoo overlay. Also, a similar patch is already merged upstream. It is found in the 1.25 release of atril.
Thanks for submitting the patches. FYI for the future, try to keep USE flags, DEPENDencies and configure args in alphabetical order.