fix(dependencies): include glib2

Closes #11
This commit is contained in:
Jeremy Attali 2020-05-17 12:52:01 -04:00
parent d787586b9e
commit 992d97e94d
2 changed files with 5 additions and 2 deletions

View File

@ -110,7 +110,7 @@ The following lines can be used as swappy's default:
## Building from source
Install dependencies:
Install dependencies (on Arch, name can vary for other distros):
- meson
- ninja
@ -118,13 +118,14 @@ Install dependencies:
- cairo
- pango
- gtk
- glib2
- scdoc
Optional dependencies:
- wayland-protocols (for the `-g` option to work with [wlr-screencopy-unstable-v1] protocol)
- wl-clipboard (to make sure the copy is saved if you close swappy)
- libnotify (not get notified when swappshot is copied or saved)
- scdoc to generate the man page
Then run:

View File

@ -27,6 +27,7 @@ pango = dependency('pango')
math = cc.find_library('m')
realtime = cc.find_library('rt')
gtk = dependency('gtk+-3.0', version: '>=3.20.0')
gio = cc.find_library('gio-2.0')
wayland_client = dependency('wayland-client')
wayland_cursor = dependency('wayland-cursor')
wayland_protos = dependency('wayland-protocols', version: '>=1.14', required: false)
@ -67,6 +68,7 @@ executable(
cairo,
pango,
client_protos,
gio,
gtk,
libnotify,
math,