mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-18 14:33:09 -04:00
nix: fix build dependency
This commit is contained in:
parent
251369b5a3
commit
99b696541a
2 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ endif
|
||||||
|
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
libm = cc.find_library('m')
|
libm = cc.find_library('m')
|
||||||
|
libdrm = dependency('libdrm')
|
||||||
xcb = dependency('xcb', required : get_option('xwayland'))
|
xcb = dependency('xcb', required : get_option('xwayland'))
|
||||||
xlibs = dependency('xcb-icccm', required : get_option('xwayland'))
|
xlibs = dependency('xcb-icccm', required : get_option('xwayland'))
|
||||||
wlroots_dep = dependency('wlroots-0.20',version: '>=0.20.0')
|
wlroots_dep = dependency('wlroots-0.20',version: '>=0.20.0')
|
||||||
|
|
@ -98,6 +99,7 @@ executable('mango',
|
||||||
wayland_sources,
|
wayland_sources,
|
||||||
dependencies : [
|
dependencies : [
|
||||||
libm,
|
libm,
|
||||||
|
libdrm,
|
||||||
xcb,
|
xcb,
|
||||||
xlibs,
|
xlibs,
|
||||||
wayland_server_dep,
|
wayland_server_dep,
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
libX11,
|
libX11,
|
||||||
libinput,
|
libinput,
|
||||||
libxcb,
|
libxcb,
|
||||||
|
libdrm,
|
||||||
libxkbcommon,
|
libxkbcommon,
|
||||||
pcre2,
|
pcre2,
|
||||||
pango,
|
pango,
|
||||||
|
|
@ -58,6 +59,7 @@ stdenv.mkDerivation {
|
||||||
wlroots_0_19
|
wlroots_0_19
|
||||||
scenefx
|
scenefx
|
||||||
libGL
|
libGL
|
||||||
|
libdrm
|
||||||
]
|
]
|
||||||
++ lib.optionals enableXWayland [
|
++ lib.optionals enableXWayland [
|
||||||
libX11
|
libX11
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue