Add an orc wrap file for using orc subproject

Depending on the newly added 'orc' meson option, this make possible
to use orc subproject on gst-build.
This commit is contained in:
Seungha Yang 2019-01-29 10:58:21 +09:00
parent 987067c39c
commit 50037dd1eb
3 changed files with 8 additions and 0 deletions

View file

@ -59,6 +59,8 @@ if build_system == 'windows'
subproject('win-flex-bison-binaries') subproject('win-flex-bison-binaries')
endif endif
subproject('orc', required: get_option('orc'))
subprojects_names = [] subprojects_names = []
foreach project_name, build_infos: subprojects foreach project_name, build_infos: subprojects
is_required = build_infos.get('option', true) is_required = build_infos.get('option', true)

View file

@ -15,3 +15,4 @@ option('examples', type : 'feature', value : 'auto', description : 'Build exampl
option('gtk_doc', type : 'feature', value : 'auto', description : 'Generate API documentation with gtk-doc') option('gtk_doc', type : 'feature', value : 'auto', description : 'Generate API documentation with gtk-doc')
option('introspection', type : 'feature', value : 'auto', description : 'Generate introspection data') option('introspection', type : 'feature', value : 'auto', description : 'Generate introspection data')
option('nls', type : 'feature', value : 'auto', description : 'Enable native language support (translations)') option('nls', type : 'feature', value : 'auto', description : 'Enable native language support (translations)')
option('orc', type : 'feature', value : 'auto', description : 'Enable Optimized Inner Loop Runtime Compiler')

5
subprojects/orc.wrap Normal file
View file

@ -0,0 +1,5 @@
[wrap-git]
directory=orc
url=https://gitlab.freedesktop.org/gstreamer/orc.git
push-url=git@gitlab.freedesktop.org:gstreamer/orc.git
revision=master