[gtk+/wip/meson: 36/73] meson: add graphene subproject that can be used as fallback



commit 67e3e57f8211d8e272e2ece88743679a391b8246
Author: Tim-Philipp Müller <tim centricular com>
Date:   Sun Feb 5 11:41:14 2017 +0000

    meson: add graphene subproject that can be used as fallback

 meson.build               |    3 +--
 subprojects/graphene.wrap |    4 ++++
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 68ab902..04a1f5e 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,6 @@ project('gtk+-3.0', 'c',
         version: '3.90.0',
         default_options: [
           'buildtype=debugoptimized',
-          'c_std=gnu89',
           'warning_level=1'
         ],
         license: 'LGPLv2.1+')
@@ -180,7 +179,7 @@ colord_dep     = dependency('colord', version: '>= 0.1.9', required: false)
 fontconfig_dep = dependency('fontconfig')
 harfbuzz_dep   = dependency('harfbuzz', version: '>= 0.9', required: false)
 xkbdep         = dependency('xkbcommon', version: '>= 0.2.0')
-graphene_dep   = dependency('graphene-1.0')
+graphene_dep   = dependency('graphene-1.0', fallback : ['graphene', 'graphene_dep'])
 
 if wayland_enabled
   wlclientdep    = dependency('wayland-client', version:  '>= 1.9.91')
diff --git a/subprojects/graphene.wrap b/subprojects/graphene.wrap
new file mode 100644
index 0000000..306c61a
--- /dev/null
+++ b/subprojects/graphene.wrap
@@ -0,0 +1,4 @@
+[wrap-git]
+directory=graphene
+url=https://github.com/ebassi/graphene.git
+revision=master


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]