sway/swaylock/meson.build

40 lines
598 B
Meson
Raw Normal View History

2018-04-20 00:25:51 +00:00
sysconfdir = get_option('sysconfdir')
2018-04-03 02:48:13 +00:00
executable(
2018-04-03 03:14:37 +00:00
'swaylock', [
'main.c',
'password.c',
'render.c',
2018-04-03 03:14:37 +00:00
'seat.c'
],
2018-04-03 02:48:13 +00:00
include_directories: [sway_inc],
dependencies: [
cairo,
client_protos,
gdk_pixbuf,
libpam,
math,
pango,
pangocairo,
2018-04-03 03:43:19 +00:00
xkbcommon,
2018-04-03 02:48:13 +00:00
wayland_client,
wlroots,
],
link_with: [lib_sway_common, lib_sway_client],
install: true
)
2018-04-20 00:25:51 +00: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