Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
meson: add graphene subproject
So we can build all the OpenGL elements.
  • Loading branch information
tp-m committed Jan 8, 2020
1 parent 1c14720 commit cd4e64f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ext/gl/meson.build
Expand Up @@ -61,7 +61,12 @@ if gl_dep.found() # have desktop GL
]
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()
optional_deps += graphene_dep
core_conf.set('HAVE_GRAPHENE', true)
Expand Down
4 changes: 4 additions & 0 deletions subprojects/graphene.wrap
@@ -0,0 +1,4 @@
[wrap-git]
directory=graphene
url=https://github.com/ebassi/graphene.git
revision=master

0 comments on commit cd4e64f

Please sign in to comment.