mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 12:26:00 +01:00
Nix & Meson: add hyprpm
This commit is contained in:
parent
6e3c909087
commit
657cee2b98
3 changed files with 16 additions and 3 deletions
10
hyprpm/src/meson.build
Normal file
10
hyprpm/src/meson.build
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
globber = run_command('sh', '-c', 'find . -name "*.cpp" | sort', check: true)
|
||||||
|
src = globber.stdout().strip().split('\n')
|
||||||
|
|
||||||
|
executable('hyprpm', src,
|
||||||
|
dependencies: [
|
||||||
|
dependency('threads'),
|
||||||
|
dependency('tomlplusplus')
|
||||||
|
],
|
||||||
|
install : true
|
||||||
|
)
|
|
@ -80,6 +80,7 @@ endforeach
|
||||||
subdir('protocols')
|
subdir('protocols')
|
||||||
subdir('src')
|
subdir('src')
|
||||||
subdir('hyprctl')
|
subdir('hyprctl')
|
||||||
|
subdir('hyprpm/src')
|
||||||
subdir('assets')
|
subdir('assets')
|
||||||
subdir('example')
|
subdir('example')
|
||||||
subdir('docs')
|
subdir('docs')
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
pango,
|
pango,
|
||||||
pciutils,
|
pciutils,
|
||||||
systemd,
|
systemd,
|
||||||
|
tomlplusplus,
|
||||||
udis86,
|
udis86,
|
||||||
wayland,
|
wayland,
|
||||||
wayland-protocols,
|
wayland-protocols,
|
||||||
|
@ -81,19 +82,20 @@ assert lib.assertMsg (!hidpiXWayland) "The option `hidpiXWayland` has been remov
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[
|
[
|
||||||
git
|
|
||||||
cairo
|
cairo
|
||||||
|
git
|
||||||
hyprland-protocols
|
hyprland-protocols
|
||||||
libGL
|
|
||||||
libdrm_2_4_118
|
libdrm_2_4_118
|
||||||
|
libGL
|
||||||
libinput
|
libinput
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
mesa
|
mesa
|
||||||
pango
|
pango
|
||||||
|
pciutils
|
||||||
|
tomlplusplus
|
||||||
udis86
|
udis86
|
||||||
wayland
|
wayland
|
||||||
wayland-protocols
|
wayland-protocols
|
||||||
pciutils
|
|
||||||
wlroots
|
wlroots
|
||||||
]
|
]
|
||||||
++ lib.optionals enableXWayland [libxcb xcbutilwm xwayland]
|
++ lib.optionals enableXWayland [libxcb xcbutilwm xwayland]
|
||||||
|
|
Loading…
Reference in a new issue