Blame SOURCES/0151-libfprint-Make-sure-we-install-fp-enums.h-in-the-rig.patch

73b847
From f3d202ff1c9e3f07a9b9526f17eb1d4e13b6f96b Mon Sep 17 00:00:00 2001
73b847
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
73b847
Date: Tue, 17 Dec 2019 15:39:24 +0100
73b847
Subject: [PATCH 151/181] libfprint: Make sure we install fp-enums.h in the
73b847
 right folder
73b847
73b847
Since we were not explictly setting the install_dir, it was endind up in
73b847
$PREFIX/include by default, while we use our project name as subfolder.
73b847
---
73b847
 libfprint/meson.build | 4 +++-
73b847
 1 file changed, 3 insertions(+), 1 deletion(-)
73b847
73b847
diff --git a/libfprint/meson.build b/libfprint/meson.build
73b847
index c4984e2..50df8a0 100644
73b847
--- a/libfprint/meson.build
73b847
+++ b/libfprint/meson.build
73b847
@@ -176,7 +176,9 @@ other_sources = []
73b847
 
73b847
 fp_enums = gnome.mkenums_simple('fp-enums',
73b847
     sources: libfprint_public_headers,
73b847
-    install_header : true)
73b847
+    install_header: true,
73b847
+    install_dir: get_option('includedir') / meson.project_name(),
73b847
+)
73b847
 fp_enums_h = fp_enums[1]
73b847
 
73b847
 fpi_enums = gnome.mkenums_simple('fpi-enums',
73b847
-- 
73b847
2.24.1
73b847