libdocument/meson.build has the following declaration (same in libview):
libdocument = library(
'document',
libdocument_private_headers + libdocument_sources,
dependencies: libdocument_deps,
include_directories: include_root,
soversion: binary_major_version,
version: binary_version,
install: true,
)
This leads to soname libdocument.so, which means that atril 1.28.2 does not link with anything if using pkg-config, which contains the -latrildocument flag. To fix this, one would need to either set 'atrildocument'/atrilview as the name or configure the soname too in the .pc.in files (alternatively, set name_prefix to libatril as the default is lib, from what I could find on https://mesonbuild.com/Reference-manual_functions.html#library_name_prefix).
Also, configure set api_version to 1.5.0 while meson sets it to 1.5, which leads to pkg-config not finding the previously working atril-view-1.5.0.pc since the file is now called atril-view-.1.5.pc.
libdocument/meson.buildhas the following declaration (same in libview):This leads to soname
libdocument.so, which means that atril 1.28.2 does not link with anything if using pkg-config, which contains the-latrildocumentflag. To fix this, one would need to either set 'atrildocument'/atrilviewas the name or configure the soname too in the .pc.in files (alternatively, setname_prefixtolibatrilas the default islib, from what I could find on https://mesonbuild.com/Reference-manual_functions.html#library_name_prefix).Also, configure set
api_versionto 1.5.0 while meson sets it to 1.5, which leads to pkg-config not finding the previously workingatril-view-1.5.0.pcsince the file is now calledatril-view-.1.5.pc.