From cd4e64f885a602d147b0c2519f961a406f22a0b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 8 Jan 2020 17:28:46 +0000 Subject: [PATCH] meson: add graphene subproject So we can build all the OpenGL elements. --- ext/gl/meson.build | 7 ++++++- subprojects/graphene.wrap | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 subprojects/graphene.wrap diff --git a/ext/gl/meson.build b/ext/gl/meson.build index ca15402d5f..64ef7f0da9 100644 --- a/ext/gl/meson.build +++ b/ext/gl/meson.build @@ -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) diff --git a/subprojects/graphene.wrap b/subprojects/graphene.wrap new file mode 100644 index 0000000000..1f61aecd1c --- /dev/null +++ b/subprojects/graphene.wrap @@ -0,0 +1,4 @@ +[wrap-git] +directory=graphene +url=https://github.com/ebassi/graphene.git +revision=master \ No newline at end of file