meson: Install presets files

This commit is contained in:
Thibault Saunier 2016-12-16 16:52:00 -03:00
parent 31e9641c4a
commit 8d045b4197
3 changed files with 4 additions and 0 deletions

View file

@ -9,4 +9,5 @@ if amrnb_dep.found()
install : true,
install_dir : plugins_install_dir,
)
install_data(sources: 'GstAmrnbEnc.prs', install_dir: presetdir)
endif

View file

@ -19,4 +19,6 @@ if x264_dep.found()
install : true,
install_dir : plugins_install_dir,
)
install_data(sources: 'GstX264Enc.prs', install_dir: presetdir)
endif

View file

@ -178,6 +178,7 @@ else
endif
endif
presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets')
subdir('gst')
subdir('ext')
subdir('tests')