From 9d1942f286ca0f0a1acd026596beb7609fc3f4cb Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Fri, 16 Dec 2016 16:51:48 -0300 Subject: [PATCH] meson: Install presets files --- ext/vpx/meson.build | 2 ++ gst/equalizer/meson.build | 3 +++ gst/isomp4/meson.build | 2 ++ meson.build | 2 ++ 4 files changed, 9 insertions(+) diff --git a/ext/vpx/meson.build b/ext/vpx/meson.build index 9651b95550..685aeb7d4f 100644 --- a/ext/vpx/meson.build +++ b/ext/vpx/meson.build @@ -57,4 +57,6 @@ if vpx_dep.found() install : true, install_dir : plugins_install_dir, ) + + install_data(sources: ['GstVP8Enc.prs'], install_dir: presetdir) endif diff --git a/gst/equalizer/meson.build b/gst/equalizer/meson.build index 35d10b7025..c7981fb993 100644 --- a/gst/equalizer/meson.build +++ b/gst/equalizer/meson.build @@ -13,3 +13,6 @@ gstequalizer = library('gstequalizer', install : true, install_dir : plugins_install_dir, ) + +install_data(sources: ['GstIirEqualizer3Bands.prs', + 'GstIirEqualizer10Bands.prs'], install_dir: presetdir) diff --git a/gst/isomp4/meson.build b/gst/isomp4/meson.build index 4d0baaf179..bda2d6462e 100644 --- a/gst/isomp4/meson.build +++ b/gst/isomp4/meson.build @@ -25,3 +25,5 @@ gstisomp4 = library('gstisomp4', install : true, install_dir : plugins_install_dir, ) + +install_data(sources: 'GstQTMux.prs', install_dir: presetdir) diff --git a/meson.build b/meson.build index b6e6a212c2..57c694b526 100644 --- a/meson.build +++ b/meson.build @@ -262,6 +262,8 @@ else endif endif +presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets') + subdir('gst') subdir('sys') subdir('ext')