mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
meson/pkgbuild: we don't depend on wlroots
This commit is contained in:
parent
d32698c042
commit
e04b678518
3 changed files with 3 additions and 4 deletions
2
PKGBUILD
2
PKGBUILD
|
@ -8,7 +8,7 @@ license=(mit)
|
||||||
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
|
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
|
||||||
depends=(
|
depends=(
|
||||||
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
|
'libxcb' 'xcb-util' 'xcb-util-cursor' 'xcb-util-wm'
|
||||||
'wayland' 'wlroots'
|
'wayland'
|
||||||
'pixman'
|
'pixman'
|
||||||
'libyaml'
|
'libyaml'
|
||||||
'alsa-lib'
|
'alsa-lib'
|
||||||
|
|
|
@ -9,7 +9,7 @@ conflicts=('yambar')
|
||||||
provides=('yambar')
|
provides=('yambar')
|
||||||
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
|
makedepends=('meson' 'ninja' 'scdoc' 'tllist>=1.0.1')
|
||||||
depends=(
|
depends=(
|
||||||
'wayland' 'wlroots'
|
'wayland'
|
||||||
'pixman'
|
'pixman'
|
||||||
'libyaml'
|
'libyaml'
|
||||||
'alsa-lib'
|
'alsa-lib'
|
||||||
|
|
|
@ -60,8 +60,7 @@ backend_x11 = xcb_aux.found() and xcb_cursor.found() and xcb_event.found() and \
|
||||||
# Wayland dependencies
|
# Wayland dependencies
|
||||||
wayland_client = dependency('wayland-client', required: get_option('backend-wayland'))
|
wayland_client = dependency('wayland-client', required: get_option('backend-wayland'))
|
||||||
wayland_cursor = dependency('wayland-cursor', 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()
|
||||||
backend_wayland = wayland_client.found() and wayland_cursor.found() and wlroots.found()
|
|
||||||
|
|
||||||
# "My" dependencies, fallback to subproject
|
# "My" dependencies, fallback to subproject
|
||||||
tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist')
|
tllist = dependency('tllist', version: '>=1.0.1', fallback: 'tllist')
|
||||||
|
|
Loading…
Add table
Reference in a new issue