From 50037dd1eb373b9773bca22ef05139d389d83665 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Tue, 29 Jan 2019 10:58:21 +0900 Subject: [PATCH] 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. --- meson.build | 2 ++ meson_options.txt | 1 + subprojects/orc.wrap | 5 +++++ 3 files changed, 8 insertions(+) create mode 100644 subprojects/orc.wrap diff --git a/meson.build b/meson.build index 585041569d..e5a4d16eac 100644 --- a/meson.build +++ b/meson.build @@ -59,6 +59,8 @@ if build_system == 'windows' subproject('win-flex-bison-binaries') endif +subproject('orc', required: get_option('orc')) + subprojects_names = [] foreach project_name, build_infos: subprojects is_required = build_infos.get('option', true) diff --git a/meson_options.txt b/meson_options.txt index 7614c782e3..0d36f6ebb5 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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('introspection', type : 'feature', value : 'auto', description : 'Generate introspection data') 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') diff --git a/subprojects/orc.wrap b/subprojects/orc.wrap new file mode 100644 index 0000000000..40fb220cbe --- /dev/null +++ b/subprojects/orc.wrap @@ -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