1
0
mirror of https://gitlab.gnome.org/GNOME/evince synced 2024-06-30 22:54:23 +00:00

build: Allow building without libhandy-1 available

This commit is contained in:
Bastien Nocera 2021-02-21 17:17:15 +01:00 committed by Germán Poo-Caamaño
parent 960372e7fa
commit 2408fd4a4d
2 changed files with 7 additions and 1 deletions

View File

@ -163,7 +163,8 @@ gmodule_dep = dependency('gmodule-2.0')
gmodule_no_export_dep = dependency('gmodule-no-export-2.0', version: glib_req_version)
gtk_dep = dependency('gtk+-3.0', version: gtk_req_version)
gthread_dep = dependency('gthread-2.0', version: glib_req_version)
hdy_dep = dependency('libhandy-1', version: hdy_req_version)
# Keep the version here synchronised with subprojects/libhandy.wrap
hdy_dep = dependency('libhandy-1', version: hdy_req_version, fallback: ['libhandy', 'libhandy_dep'])
m_dep = cc.find_library('m')

View File

@ -0,0 +1,5 @@
[wrap-git]
directory=libhandy
url=https://gitlab.gnome.org/GNOME/libhandy.git
# See comment in meson.build
revision=e455f608e7a4ac4ab51e0bb70296f40862054f2b