Requires LibSpectre >= 0.2, but ArchLinux still ships 0.1.10
Okular fails to rebuild due to what seems to be a downstream packaging issue. Still might be worth checking out.
-- The following REQUIRED packages have not been found:
* LibSpectre (required version >= 0.2), A PostScript rendering library, <https://libspectre.freedesktop.org>
Support for PS files in okular. You can make the dependency optional adding LibSpectre to the FORCE_NOT_REQUIRED_DEPENDENCIES cmake option
$ pacman -Qqil libspectre
Name : libspectre
Version : 0.2.10-1
Description : Small library for rendering Postscript documents
Architecture : x86_64
URL : https://www.freedesktop.org/wiki/Software/libspectre
Licenses : GPL2
Groups : None
Provides : None
Depends On : ghostscript
Optional Deps : None
Required By : None
Optional For : imlib2 qpdfview
Conflicts With : None
Replaces : None
Installed Size : 89.80 KiB
Packager : Antonio Rojas <arojas@archlinux.org>
Build Date : Sat Feb 12 23:01:04 2022
Install Date : Wed May 4 13:11:34 2022
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
/usr/
/usr/include/
/usr/include/libspectre/
/usr/include/libspectre/spectre-document.h
/usr/include/libspectre/spectre-exporter.h
/usr/include/libspectre/spectre-macros.h
/usr/include/libspectre/spectre-page.h
/usr/include/libspectre/spectre-render-context.h
/usr/include/libspectre/spectre-status.h
/usr/include/libspectre/spectre-version.h
/usr/include/libspectre/spectre.h
/usr/lib/
/usr/lib/libspectre.so
/usr/lib/libspectre.so.1
/usr/lib/libspectre.so.1.1.10
/usr/lib/pkgconfig/
/usr/lib/pkgconfig/libspectre.pc