meson: Install presets files
authorThibault Saunier <thibault.saunier@osg.samsung.com>
Fri, 16 Dec 2016 19:52:00 +0000 (16:52 -0300)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Tue, 3 Jan 2017 11:15:43 +0000 (08:15 -0300)
ext/amrnb/meson.build
ext/x264/meson.build
meson.build

index 33cc685..e9aa4af 100644 (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
index 20e5866..544721a 100644 (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
index 82de4a3..f281d91 100644 (file)
@@ -178,6 +178,7 @@ else
     endif
 endif
 
+presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'presets')
 subdir('gst')
 subdir('ext')
 subdir('tests')