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 33cc68585c66f9463f3b9861dcbb7fa71672771d..e9aa4af51c7a401086bc5228d996c7ed9f330b87 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 20e5866de457bc3e957c89572343a3a1c6f04ea1..544721a3cfa6cd6d796ba28dc37292143e109336 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 82de4a30bab431893b0e9d7fabdfc80fb61b5371..f281d91f301e1e82dd5a2b7550b0c6b0fd35598e 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')