feat: jsoncpp wrap

This commit is contained in:
Alex 2022-11-03 14:08:22 +01:00
parent 3cf027fc56
commit eb705533b5
2 changed files with 10 additions and 1 deletions

View File

@ -87,7 +87,7 @@ wayland_protos = dependency('wayland-protocols')
gtkmm = dependency('gtkmm-3.0', version : ['>=3.22.0']) gtkmm = dependency('gtkmm-3.0', version : ['>=3.22.0'])
dbusmenu_gtk = dependency('dbusmenu-gtk3-0.4', required: get_option('dbusmenu-gtk')) dbusmenu_gtk = dependency('dbusmenu-gtk3-0.4', required: get_option('dbusmenu-gtk'))
giounix = dependency('gio-unix-2.0', required: (get_option('dbusmenu-gtk').enabled() or get_option('logind').enabled() or get_option('upower_glib').enabled())) giounix = dependency('gio-unix-2.0', required: (get_option('dbusmenu-gtk').enabled() or get_option('logind').enabled() or get_option('upower_glib').enabled()))
jsoncpp = dependency('jsoncpp', version : ['>=1.9.2']) jsoncpp = dependency('jsoncpp', version : ['>=1.9.2'], fallback : ['jsoncpp', 'jsoncpp_dep'])
sigcpp = dependency('sigc++-2.0') sigcpp = dependency('sigc++-2.0')
libinotify = dependency('libinotify', required: false) libinotify = dependency('libinotify', required: false)
libepoll = dependency('epoll-shim', required: false) libepoll = dependency('epoll-shim', required: false)

9
subprojects/jsoncpp.wrap Normal file
View File

@ -0,0 +1,9 @@
[wrap-file]
directory = jsoncpp-1.9.5
source_url = https://github.com/open-source-parsers/jsoncpp/archive/1.9.5.tar.gz
source_filename = jsoncpp-1.9.5.tar.gz
source_hash = f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2
[provide]
jsoncpp = jsoncpp_dep