p11-kit: fix trust paths.

Some flatpaks broke with the move to meson [1], which doesn't set
trust_paths automatically (the autoconf based build system did, by
checking what files were available on the system - it picked
/etc/ssl/certs/ca-certificates.crt for our build).

p11-kit on the host system matters for flatpaks, as seen in [2].

Thanks to steinex for coming up with the solution. [3] was a fix for the
same issue, but with autoconf.

[1] 7377f185fc
[2] https://github.com/p11-glue/p11-kit/issues/275
[3] 27d5c551b4
This commit is contained in:
Érico Nogueira 2021-05-28 17:02:10 -03:00
parent 86a560eba8
commit 943e49052c
1 changed files with 3 additions and 2 deletions

View File

@ -1,10 +1,11 @@
# Template file for 'p11-kit'
pkgname=p11-kit
version=0.23.22
revision=2
revision=3
build_style=meson
configure_args="-Dlibffi=enabled -Dsystemd=disabled -Dbash_completion=disabled
-Dgtk_doc=true -Dman=true -Dnls=true -Dtrust_module=enabled"
-Dgtk_doc=true -Dman=true -Dnls=true -Dtrust_module=enabled
-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt"
hostmakedepends="pkg-config gettext gtk-doc libxslt libtasn1-tools"
# glib-devel for gtk-doc
makedepends="libtasn1-devel libffi-devel glib-devel"