mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
meson: install headers in versioned paths
Make sure all headers and plugins are installed in versioned paths so that we can parallel install versions if we want.
This commit is contained in:
parent
d0f69e44cd
commit
95ecbacfe0
5 changed files with 34 additions and 24 deletions
|
|
@ -6,7 +6,7 @@ spa_buffer_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_buffer_headers,
|
||||
subdir : 'spa/buffer')
|
||||
subdir : join_paths(spa_name, 'spa', 'buffer'))
|
||||
|
||||
spa_control_headers = [
|
||||
'control/control.h',
|
||||
|
|
@ -14,7 +14,7 @@ spa_control_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_control_headers,
|
||||
subdir : 'spa/control')
|
||||
subdir : join_paths(spa_name, 'spa', 'control'))
|
||||
|
||||
spa_debug_headers = [
|
||||
'debug/buffer.h',
|
||||
|
|
@ -26,14 +26,14 @@ spa_debug_headers = [
|
|||
'debug/types.h',
|
||||
]
|
||||
install_headers(spa_debug_headers,
|
||||
subdir : 'spa/debug')
|
||||
subdir : join_paths(spa_name, 'spa', 'debug'))
|
||||
|
||||
spa_graph_headers = [
|
||||
'graph/graph.h',
|
||||
]
|
||||
|
||||
install_headers(spa_graph_headers,
|
||||
subdir : 'spa/graph')
|
||||
subdir : join_paths(spa_name, 'spa', 'graph'))
|
||||
|
||||
spa_monitor_headers = [
|
||||
'monitor/device.h',
|
||||
|
|
@ -41,7 +41,7 @@ spa_monitor_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_monitor_headers,
|
||||
subdir : 'spa/monitor')
|
||||
subdir : join_paths(spa_name, 'spa', 'monitor'))
|
||||
|
||||
spa_node_headers = [
|
||||
'node/command.h',
|
||||
|
|
@ -54,7 +54,7 @@ spa_node_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_node_headers,
|
||||
subdir : 'spa/node')
|
||||
subdir : join_paths(spa_name, 'spa', 'node'))
|
||||
|
||||
spa_param_headers = [
|
||||
'param/format.h',
|
||||
|
|
@ -66,7 +66,7 @@ spa_param_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_param_headers,
|
||||
subdir : 'spa/param')
|
||||
subdir : join_paths(spa_name, 'spa', 'param'))
|
||||
|
||||
spa_pod_headers = [
|
||||
'pod/builder.h',
|
||||
|
|
@ -80,7 +80,7 @@ spa_pod_headers = [
|
|||
'pod/vararg.h',
|
||||
]
|
||||
install_headers(spa_pod_headers,
|
||||
subdir : 'spa/pod')
|
||||
subdir : join_paths(spa_name, 'spa', 'pod'))
|
||||
|
||||
spa_support_headers = [
|
||||
'support/cpu.h',
|
||||
|
|
@ -93,7 +93,7 @@ spa_support_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_support_headers,
|
||||
subdir : 'spa/support')
|
||||
subdir : join_paths(spa_name, 'spa', 'support'))
|
||||
|
||||
spa_utils_headers = [
|
||||
'utils/defs.h',
|
||||
|
|
@ -109,7 +109,7 @@ spa_utils_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_utils_headers,
|
||||
subdir : 'spa/utils')
|
||||
subdir : join_paths(spa_name, 'spa', 'utils'))
|
||||
|
||||
spa_audio_headers = [
|
||||
'param/audio/format.h',
|
||||
|
|
@ -120,7 +120,7 @@ spa_audio_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_audio_headers,
|
||||
subdir : 'spa/param/audio')
|
||||
subdir : join_paths(spa_name, 'spa', 'param', 'audio'))
|
||||
|
||||
spa_video_headers = [
|
||||
'param/video/chroma.h',
|
||||
|
|
@ -134,4 +134,4 @@ spa_video_headers = [
|
|||
]
|
||||
|
||||
install_headers(spa_video_headers,
|
||||
subdir : 'spa/param/video')
|
||||
subdir : join_paths(spa_name, 'spa', 'param', 'video'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue