From: Thibault Saunier Date: Fri, 16 Dec 2016 19:52:00 +0000 (-0300) Subject: meson: Install presets files X-Git-Tag: 1.19.3~505^2~243 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d045b4197b601c164ba60817abe85f1923e05c6;p=platform%2Fupstream%2Fgstreamer.git meson: Install presets files --- diff --git a/ext/amrnb/meson.build b/ext/amrnb/meson.build index 33cc685..e9aa4af 100644 --- a/ext/amrnb/meson.build +++ b/ext/amrnb/meson.build @@ -9,4 +9,5 @@ if amrnb_dep.found() install : true, install_dir : plugins_install_dir, ) + install_data(sources: 'GstAmrnbEnc.prs', install_dir: presetdir) endif diff --git a/ext/x264/meson.build b/ext/x264/meson.build index 20e5866..544721a 100644 --- a/ext/x264/meson.build +++ b/ext/x264/meson.build @@ -19,4 +19,6 @@ if x264_dep.found() install : true, install_dir : plugins_install_dir, ) + + install_data(sources: 'GstX264Enc.prs', install_dir: presetdir) endif diff --git a/meson.build b/meson.build index 82de4a3..f281d91 100644 --- a/meson.build +++ b/meson.build @@ -178,6 +178,7 @@ else endif endif +presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets') subdir('gst') subdir('ext') subdir('tests')