Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ if get_option('wayland-logout') == true
wayland_logout = subproject('wayland-logout')
endif

if get_option('weather') == true
subproject('owf')
add_project_arguments('-DHAVE_WEATHER=1', language: 'cpp')
endif

if libpulse.found()
libgvc = libgvc.get_variable('libgvc_dep')
add_project_arguments('-DHAVE_PULSE=1', language: 'cpp')
Expand Down
6 changes: 6 additions & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ option(
value: true,
description: 'Install wayland-logout',
)
option(
'weather',
type: 'boolean',
value: false,
description: 'Install weather widgets and open-weather-fetch systemd service',
)
4 changes: 4 additions & 0 deletions subprojects/owf.wrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[wrap-git]
url = https://github.com/Secret-chest/open-weather-fetch
revision = 18d282873cfcad7670f3d44edd870f560ca5735c
depth = 1
Loading