summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-08-19 01:11:38 +0100
committerTim-Philipp Müller <tim@centricular.com>2018-08-19 01:11:38 +0100
commit40d13b47e3d0dd0e15764e317964fd0f7f9cfbbd (patch)
tree0cd038e66619b4f356b2702d3681626e10609609
parent7b8d74c15bb817c65c06c63580dae3633a914841 (diff)
meson: build neonhttpsrc
-rw-r--r--ext/meson.build2
-rw-r--r--ext/neon/meson.build13
-rw-r--r--meson_options.txt3
3 files changed, 16 insertions, 2 deletions
diff --git a/ext/meson.build b/ext/meson.build
index 7b51a8203..0e656533a 100644
--- a/ext/meson.build
+++ b/ext/meson.build
@@ -31,7 +31,7 @@ subdir('lv2')
subdir('mpeg2enc')
subdir('mplex')
#subdir('musepack')
-#subdir('neon')
+subdir('neon')
#subdir('ofa')
#subdir('openal')
subdir('opencv')
diff --git a/ext/neon/meson.build b/ext/neon/meson.build
new file mode 100644
index 000000000..f5242efc9
--- /dev/null
+++ b/ext/neon/meson.build
@@ -0,0 +1,13 @@
+neon_dep = dependency('neon', version: ['>= 0.27', '<= 0.30.99'],
+ required : get_option('neon'))
+
+if neon_dep.found()
+ gstneon = library('gstneonhttpsrc',
+ 'gstneonhttpsrc.c',
+ c_args : gst_plugins_bad_args,
+ include_directories : [configinc],
+ dependencies : [gstbase_dep, neon_dep],
+ install : true,
+ install_dir : plugins_install_dir)
+ pkgconfig.generate(gstneon, install_dir : plugins_pkgconfig_install_dir)
+endif
diff --git a/meson_options.txt b/meson_options.txt
index 0ee11e7b1..619c12a71 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -9,8 +9,8 @@ option('aiff', type : 'feature', value : 'auto')
option('asfmux', type : 'feature', value : 'auto')
option('audiobuffersplit', type : 'feature', value : 'auto')
option('audiofxbad', type : 'feature', value : 'auto')
-option('audiomixmatrix', type : 'feature', value : 'auto')
option('audiolatency', type : 'feature', value : 'auto')
+option('audiomixmatrix', type : 'feature', value : 'auto')
option('audiovisualizers', type : 'feature', value : 'auto')
option('autoconvert', type : 'feature', value : 'auto')
option('bayer', type : 'feature', value : 'auto')
@@ -108,6 +108,7 @@ option('libmms', type : 'feature', value : 'auto', description : 'Microsoft mult
option('lv2', type : 'feature', value : 'auto', description : 'LV2 audio plugin bridge')
option('mpeg2enc', type : 'feature', value : 'auto', description : 'mpeg2enc video encoder plugin')
option('mplex', type : 'feature', value : 'auto', description : 'mplex audio/video multiplexer plugin')
+option('neon', type : 'feature', value : 'auto', description : 'NEON HTTP source plugin')
option('openh264', type : 'feature', value : 'auto', description : 'H.264 video codec plugin')
option('openjpeg', type : 'feature', value : 'auto', description : 'JPEG2000 image codec plugin')
option('opus', type : 'feature', value : 'auto', description : 'OPUS audio parser plugin')