diff --git a/.gitignore b/.gitignore index 38ade21f..993e1957 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,5 @@ vendor # Files configured by meson fractal-gtk/src/config.rs fractal-gtk/src/static_resources.rs +subprojects/* +!subprojects/*.wrap diff --git a/meson.build b/meson.build index 920becb7..6529f0e2 100644 --- a/meson.build +++ b/meson.build @@ -12,7 +12,7 @@ dependency('gio-2.0', version: '>= 2.56') dependency('cairo', version: '>= 1.16') dependency('gdk-pixbuf-2.0') dependency('gtk+-3.0', version: '>= 3.24.7') -dependency('libhandy-0.0', version: '>= 0.0.13') +dependency('libhandy-0.0', version: '>= 0.0.13', fallback: ['libhandy', 'libhandy_dep']) dependency('gtksourceview-4', version: '>= 4.0') dependency('gspell-1', version: '>= 1.8') diff --git a/subprojects/libhandy.wrap b/subprojects/libhandy.wrap new file mode 100644 index 00000000..9408ec3b --- /dev/null +++ b/subprojects/libhandy.wrap @@ -0,0 +1,6 @@ +[wrap-file] +directory = libhandy-v0.0.13 + +source_url = https://source.puri.sm/Librem5/libhandy/-/archive/v0.0.13/libhandy-v0.0.13.tar.bz2 +source_filename = libhandy-v0.0.13.tar.bz2 +source_hash = 507f92e173a6ab9c07f612d2758de434f1feeb72ca4a9dd7de16d9a2b533d60b