add gstreamer-vaapi as a possible subproject

https://bugzilla.gnome.org/show_bug.cgi?id=778407
This commit is contained in:
Scott D Phillips 2017-02-09 11:08:39 -08:00 committed by Thibault Saunier
parent 5a06cf2807
commit a6ae14b612
4 changed files with 15 additions and 0 deletions

2
.gitignore vendored
View file

@ -10,6 +10,7 @@ gst-plugins-ugly
gst-python
gst-rtsp-server
gstreamer
gstreamer-vaapi
__pycache__
meson/
subprojects/gst-devtools/
@ -23,4 +24,5 @@ subprojects/gst-plugins-ugly/
subprojects/gst-python/
subprojects/gst-rtsp-server/
subprojects/gstreamer/
subprojects/gstreamer-vaapi/
subprojects/glib/

View file

@ -59,6 +59,14 @@ if not get_option('disable_gst_omx')
subprojects += ['gst-omx']
endif
if not get_option('disable_gstreamer_vaapi')
if dependency('libva', version: '>= 0.30.4', required : false).found()
subprojects += ['gstreamer-vaapi']
else
message('WARNING: not building gstreamer-vaapi module, missing libva')
endif
endif
if not get_option('disable_gst_devtools')
if dependency('json-glib-1.0', required : false).found()
subprojects += ['gst-devtools']

View file

@ -6,3 +6,4 @@ option('disable_gst_devtools', type : 'boolean', value : false)
option('disable_gst_editing_services', type : 'boolean', value : false)
option('disable_rtsp_server', type : 'boolean', value : false)
option('disable_gst_omx', type : 'boolean', value : true)
option('disable_gstreamer_vaapi', type : 'boolean', value : false)

View file

@ -0,0 +1,4 @@
[wrap-git]
directory=gstreamer-vaapi
url=https://anongit.freedesktop.org/git/gstreamer/gstreamer-vaapi.git
revision=master