swaylock/meson.build

40 lines
598 B
Meson
Raw Normal View History

2018-04-19 19:25:51 -05:00
sysconfdir = get_option('sysconfdir')
2018-04-02 21:48:13 -05:00
executable(
2018-04-02 22:14:37 -05:00
'swaylock', [
'main.c',
'password.c',
'render.c',
2018-04-02 22:14:37 -05:00
'seat.c'
],
2018-04-02 21:48:13 -05:00
include_directories: [sway_inc],
dependencies: [
cairo,
client_protos,
gdk_pixbuf,
libpam,
math,
pango,
pangocairo,
2018-04-02 22:43:19 -05:00
xkbcommon,
2018-04-02 21:48:13 -05:00
wayland_client,
wlroots,
],
link_with: [lib_sway_common, lib_sway_client],
install: true
)
2018-04-19 19:25:51 -05:00
if is_freebsd
install_data(
'pam/swaylock.freebsd',
install_dir: sysconfdir + '/pam.d/',
rename: 'swaylock'
)
else
install_data(
'pam/swaylock.linux',
install_dir: sysconfdir + '/pam.d/',
rename: 'swaylock'
)
endif