mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
Don't hardcode plugin path
Use SPA_PLUGIN_DIR to get the plugin path. Install plugins in subdirectory to make it match the build tree.
This commit is contained in:
parent
763bd1100e
commit
4a6b1b42bc
20 changed files with 84 additions and 36 deletions
|
|
@ -10,4 +10,4 @@ spa_alsa = shared_library('spa-alsa',
|
|||
dependencies : [ alsa_dep, libudev_dep ],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/alsa'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ audiomixerlib = shared_library('spa-audiomixer',
|
|||
include_directories : [spa_inc, spa_libinc],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/audiomixer/'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ audiotestsrclib = shared_library('spa-audiotestsrc',
|
|||
dependencies : libm,
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/audiotestsrc'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ ffmpeglib = shared_library('spa-ffmpeg',
|
|||
dependencies : [ avcodec_dep, avformat_dep ],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/ffmpeg'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ spa_support_lib = shared_library('spa-support',
|
|||
include_directories : [ spa_inc, spa_libinc],
|
||||
dependencies : threads_dep,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/support'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ testlib = shared_library('spa-test',
|
|||
dependencies : threads_dep,
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/test'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ v4l2lib = shared_library('spa-v4l2',
|
|||
dependencies : [ v4l2_dep, libudev_dep ],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/v4l2'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ videotestsrclib = shared_library('spa-videotestsrc',
|
|||
dependencies : threads_dep,
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/videotestsrc'.format(get_option('libdir')))
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ volumelib = shared_library('spa-volume',
|
|||
include_directories : [spa_inc, spa_libinc],
|
||||
link_with : spalib,
|
||||
install : true,
|
||||
install_dir : '@0@/spa'.format(get_option('libdir')))
|
||||
install_dir : '@0@/spa/volume'.format(get_option('libdir')))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue