Skip to content

Commit

Permalink
added gweather4, but it does not give a long-term forecast, the probl…
Browse files Browse the repository at this point in the history
…em is most likely in the library, I observe
  • Loading branch information
Dirli committed Aug 7, 2023
1 parent 1c5b863 commit 0ef2ebb
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ gresource = gnome.compile_resources (
wingpanel_dep = dependency ('wingpanel')
wingpanel_indicatorsdir = wingpanel_dep.get_pkgconfig_variable ('indicatorsdir', define_variable: ['libdir', libdir])

gweather_dep = dependency ('gweather-3.0')
if gweather_dep.version () >= '40.0'
gweather_dep = dependency ('gweather4', required: false)
if gweather_dep.found ()
add_project_arguments ('--define=GWEATHER_40', language: 'vala')
else
gweather_dep = dependency ('gweather-3.0')
if gweather_dep.version () >= '40.0'
add_project_arguments ('--define=GWEATHER_40', language: 'vala')
endif
endif

deps = [
Expand Down

0 comments on commit 0ef2ebb

Please sign in to comment.