summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/atk/at-spi2-core/meson-0.50-fix.patch
blob: fbdf7d0e2eaac97f8fff2d7b86dd68666005a556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 44a812ea51223d82f21a098a2d45fcc5c329ce7a Mon Sep 17 00:00:00 2001
From: Tobias Stoeckmann <tobias@stoeckmann.org>
Date: Tue, 12 Mar 2019 11:46:24 +0100
Subject: [PATCH] Fix meson.build for meson 0.50.0.

Since meson 0.50.0 it is not possible anymore to specify an
absolute directory for subdir. To keep current functionality,
use install_dir instead.

atspi/meson.build:60:0: ERROR: Subdir keyword must not be an absolute path.

Upstream-Status: Backport
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
---
 atspi/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/atspi/meson.build b/atspi/meson.build
index b7a9357..2a6915d 100644
--- a/atspi/meson.build
+++ b/atspi/meson.build
@@ -57,7 +57,7 @@ atspi_headers = [
 
 atspi_includedir = join_paths(get_option('prefix'), get_option('includedir'), 'at-spi-2.0', 'atspi')
 
-install_headers(atspi_headers, subdir: atspi_includedir)
+install_headers(atspi_headers, install_dir: atspi_includedir)
 
 atspi_enums = gnome.mkenums('atspi-enum-types',
                             sources: [ 'atspi-constants.h', 'atspi-types.h' ],