mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
build: Allow using libepoxy as a subproject
Like we do for Graphene, we can build libepoxy as a sub-project of GTK+ in case we do not find the dependency installed on the system.
This commit is contained in:
parent
3168bbe55b
commit
55c42b9d25
@ -321,13 +321,14 @@ cairo_dep = dependency('cairo', version: cairo_req)
|
||||
pangocairo_dep = dependency('pangocairo', version: cairo_req)
|
||||
cairogobj_dep = dependency('cairo-gobject', version: cairo_req)
|
||||
pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req)
|
||||
epoxy_dep = dependency('epoxy', version: epoxy_req)
|
||||
epoxy_dep = dependency('epoxy', version: epoxy_req,
|
||||
fallback: ['libepoxy', 'libepoxy_dep'])
|
||||
atk_dep = dependency('atk', version: atk_req)
|
||||
gmodule_dep = dependency('gmodule-2.0', version: glib_req)
|
||||
harfbuzz_dep = dependency('harfbuzz', version: '>= 0.9', required: false)
|
||||
xkbdep = dependency('xkbcommon', version: xkbcommon_req)
|
||||
graphene_dep = dependency('graphene-gobject-1.0', version: graphene_req,
|
||||
fallback : ['graphene', 'graphene_dep'])
|
||||
fallback: ['graphene', 'graphene_dep'])
|
||||
|
||||
fontconfig_dep = [] # only used in x11 backend
|
||||
atkbridge_dep = [] # only used in x11 backend
|
||||
|
4
subprojects/libepoxy.wrap
Normal file
4
subprojects/libepoxy.wrap
Normal file
@ -0,0 +1,4 @@
|
||||
[wrap-git]
|
||||
directory=libepoxy
|
||||
url=https://github.com/anholt/libepoxy.git
|
||||
revision=master
|
Loading…
Reference in New Issue
Block a user