mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
meson: add graphene subproject
So we can build all the OpenGL elements.
This commit is contained in:
parent
1c147208cc
commit
cd4e64f885
2 changed files with 10 additions and 1 deletions
|
@ -61,7 +61,12 @@ if gl_dep.found() # have desktop GL
|
||||||
]
|
]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
graphene_dep = dependency('graphene-1.0', version : '>=1.4.0', required : get_option('gl-graphene'))
|
graphene_dep = dependency('graphene-gobject-1.0',
|
||||||
|
version : '>=1.4.0',
|
||||||
|
required : get_option('gl-graphene'),
|
||||||
|
fallback: ['graphene', 'graphene_gobject_dep'],
|
||||||
|
default_options: ['introspection=false', 'installed_tests=false', 'tests=false'])
|
||||||
|
|
||||||
if graphene_dep.found()
|
if graphene_dep.found()
|
||||||
optional_deps += graphene_dep
|
optional_deps += graphene_dep
|
||||||
core_conf.set('HAVE_GRAPHENE', true)
|
core_conf.set('HAVE_GRAPHENE', true)
|
||||||
|
|
4
subprojects/graphene.wrap
Normal file
4
subprojects/graphene.wrap
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
[wrap-git]
|
||||||
|
directory=graphene
|
||||||
|
url=https://github.com/ebassi/graphene.git
|
||||||
|
revision=master
|
Loading…
Reference in a new issue