meson/pkgbuild: we don't depend on wlroots

This commit is contained in:
Daniel Eklöf 2020-07-22 17:50:24 +02:00
parent d32698c042
commit e04b678518
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 3 additions and 4 deletions

View file

@ -8,7 +8,7 @@ license=(mit)
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
depends=(
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
'wayland' 'wlroots'
'wayland'
'pixman'
'libyaml'
'alsa-lib'

View file

@ -9,7 +9,7 @@ conflicts=('yambar')
provides=('yambar')
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
depends=(
'wayland' 'wlroots'
'wayland'
'pixman'
'libyaml'
'alsa-lib'

View file

@ -60,8 +60,7 @@ backend_x11 = xcb_aux.found() and xcb_cursor.found() and xcb_event.found() and \
# Wayland dependencies
wayland_client = dependency('wayland-client', required: get_option('backend-wayland'))
wayland_cursor = dependency('wayland-cursor', required: get_option('backend-wayland'))
wlroots = dependency('wlroots', required: get_option('backend-wayland'))
backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots.found()
backend_wayland = wayland_client.found() and wayland_cursor.found()
# "My" dependencies, fallback to subproject
tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist')