build: Fix build with newer meson

The gtk-doc meson helper regressed in that it didn't expect the
libfprint.types file to not exist, as earlier versions did. Remove
the --rebuild-types call so that it is not generated, and meson carries
on compiling the rest of the library.

See https://gitlab.gnome.org/GNOME/gtk-doc/issues/48
See https://github.com/mesonbuild/meson/issues/3892
See https://bugzilla.redhat.com/show_bug.cgi?id=1604585
This commit is contained in:
Bastien Nocera 2018-07-20 12:22:50 +02:00
parent bc79f9504b
commit c9abbec48a
2 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,7 @@ variables:
before_script: before_script:
- dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES && rpm -Uvh --oldpackage https://kojipkgs.fedoraproject.org//packages/meson/0.46.1/2.fc29/noarch/meson-0.46.1-2.fc29.noarch.rpm - dnf update -y --nogpgcheck && dnf install -y --nogpgcheck $DEPENDENCIES
build: build:

View file

@ -54,7 +54,6 @@ gnome.gtkdoc('libfprint',
content_files: content_files, content_files: content_files,
expand_content_files: expand_content_files, expand_content_files: expand_content_files,
scan_args: [ scan_args: [
'--rebuild-types',
'--ignore-decorators=API_EXPORTED', '--ignore-decorators=API_EXPORTED',
'--ignore-headers=' + ' '.join(private_headers), '--ignore-headers=' + ' '.join(private_headers),
], ],