meson: Install presets files

This commit is contained in:
Thibault Saunier 2016-12-16 16:51:48 -03:00
parent a2d02300f8
commit 9d1942f286
4 changed files with 9 additions and 0 deletions

View file

@ -57,4 +57,6 @@ if vpx_dep.found()
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
install_data(sources: ['GstVP8Enc.prs'], install_dir: presetdir)
endif endif

View file

@ -13,3 +13,6 @@ gstequalizer = library('gstequalizer',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
install_data(sources: ['GstIirEqualizer3Bands.prs',
'GstIirEqualizer10Bands.prs'], install_dir: presetdir)

View file

@ -25,3 +25,5 @@ gstisomp4 = library('gstisomp4',
install : true, install : true,
install_dir : plugins_install_dir, install_dir : plugins_install_dir,
) )
install_data(sources: 'GstQTMux.prs', install_dir: presetdir)

View file

@ -262,6 +262,8 @@ else
endif endif
endif endif
presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets')
subdir('gst') subdir('gst')
subdir('sys') subdir('sys')
subdir('ext') subdir('ext')