Commit af58f4c6 authored by Adrien Plazas's avatar Adrien Plazas

build: Add libhandy-0.0 dependency

This is needed to access widgets to make the shell adaptive.

This also adds libhandy as a submodule and will make use of that version
if it isn't available otherwise.
parent 459fb91a
[submodule "subprojects/gvc"]
path = subprojects/gvc
url = https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
[submodule "subprojects/libhandy"]
path = subprojects/libhandy
url = https://source.puri.sm/Librem5/libhandy.git
......@@ -96,6 +96,21 @@ libgvc = subproject(
)
libgvc_dep = libgvc.get_variable('libgvc_dep')
libhandy_dep = dependency('libhandy-0.0', version: '>= 0.0.4', required: false)
if not libhandy_dep.found()
libhandy = subproject(
'libhandy',
default_options: [
'examples=false',
'glade_catalog=false',
'introspection=false',
'tests=false',
'vapi=false',
]
)
libhandy_dep = libhandy.get_variable('libhandy_dep')
endif
goa_req_version = '>= 3.25.3'
pulse_req_version = '>= 2.0'
......@@ -122,6 +137,7 @@ common_deps = [
gio_dep,
glib_dep,
gsettings_desktop_dep,
libhandy_dep,
dependency('gio-unix-2.0'),
dependency('gthread-2.0'),
dependency('gtk+-3.0', version: '>= 3.22.20')
......
libhandy @ 5004b420
Subproject commit 5004b4204a11f021c8e75c7dce034e19c29b987c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment