mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 13:49:49 +01:00
5dc7161b1d
so that hyprland builds in a reproducible way in spite of non-deterministic filesystem readdir order. See https://reproducible-builds.org/ for why this is good. This patch was done while working on reproducible builds for openSUSE. Co-authored-by: Bernhard M. Wiedemann <bernhard+gitcommit lsmod.de>
30 lines
738 B
Meson
30 lines
738 B
Meson
globber = run_command('sh', '-c', 'find . -name "*.cpp" | sort', check: true)
|
|
src = globber.stdout().strip().split('\n')
|
|
|
|
executable('Hyprland', src,
|
|
cpp_args: ['-DWLR_USE_UNSTABLE'],
|
|
link_args: '-rdynamic',
|
|
cpp_pch: 'pch/pch.hpp',
|
|
dependencies: [
|
|
server_protos,
|
|
dependency('wayland-server'),
|
|
dependency('wayland-client'),
|
|
wlroots.get_variable('wlroots'),
|
|
dependency('cairo'),
|
|
dependency('libdrm'),
|
|
dependency('egl'),
|
|
dependency('xkbcommon'),
|
|
dependency('libinput'),
|
|
xcb_dep,
|
|
backtrace_dep,
|
|
systemd_dep,
|
|
udis86,
|
|
|
|
dependency('pixman-1'),
|
|
dependency('gl', 'opengl'),
|
|
dependency('threads'),
|
|
dependency('pango'),
|
|
dependency('pangocairo')
|
|
],
|
|
install : true
|
|
)
|