Skip to content

Commit

Permalink
Add a way to build all GStreamer as a pitivi Subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
thiblahute committed May 18, 2018
1 parent b3f3492 commit b3bfc0e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
14 changes: 13 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@ itstool = find_program('itstool')
msgfmt = find_program('msgfmt')

python_dep = dependency('python3', version : '>= 3.3')
gst_dep = dependency('gstreamer-1.0', version : '>= 1.13.0.1')
if get_option('build-gst')
subproject('gst-build', default_options: ['enable_python=true',
'disable_gstreamer_sharp=true', 'disable_rtsp_server=true',
'gst-devtools:disable_gtkdoc=true',
'gst-editing-services:disable_gtkdoc=true',
'gst-plugins-base:disable_gtkdoc=true',
'gstreamer:disable_gtkdoc=true',
])
subproject('gst-transcoder')
endif

gst_dep = dependency('gstreamer-1.0', version : '>= 1.14.1',
fallback : ['gstreamer', 'gst_dep'])
cairo_dep = dependency('cairo')
pycairo_dep = dependency('py3cairo')

Expand Down
1 change: 1 addition & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
option('disable-help', type : 'boolean', value : false)
option('build-gst', type : 'boolean', value : false)

0 comments on commit b3bfc0e

Please sign in to comment.