From fd0112425f165aff786bcfec8c610114324c37a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= Date: Sun, 12 Jun 2022 22:57:03 +0200 Subject: Added meson buildfiles this makes for a far better experience in combination with wlroots, since that whole makefile mess is not required. Additionaly, handling of wayland protocol sources is also slightly better, but could be improved with mesons inbuilt wayland module. To build Hyprland using meson: meson _build -Ddefault_library=static ninja -C _build ninja -C _build install --- example/meson.build | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 example/meson.build (limited to 'example') diff --git a/example/meson.build b/example/meson.build new file mode 100644 index 00000000..cf4a2ff0 --- /dev/null +++ b/example/meson.build @@ -0,0 +1,2 @@ +install_data('hyprland.conf', install_dir: join_paths(get_option('datadir'), 'hyprland')) +install_data('hyprland.desktop', install_dir: join_paths(get_option('datadir'), 'wayland-sessions')) -- cgit v1.2.3 From 89454ada6cb49c95bf3372e8291e88dc772e9a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20=22sp1rit=22=E2=80=8B?= Date: Tue, 14 Jun 2022 12:20:48 +0200 Subject: added runtime tag to the wayland-session launchable and sample config this allows for a small-install footprint by running meson install -C _build --tags runtime --- example/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example') diff --git a/example/meson.build b/example/meson.build index cf4a2ff0..ccfc4e00 100644 --- a/example/meson.build +++ b/example/meson.build @@ -1,2 +1,2 @@ -install_data('hyprland.conf', install_dir: join_paths(get_option('datadir'), 'hyprland')) -install_data('hyprland.desktop', install_dir: join_paths(get_option('datadir'), 'wayland-sessions')) +install_data('hyprland.conf', install_dir: join_paths(get_option('datadir'), 'hyprland'), install_tag: 'runtime') +install_data('hyprland.desktop', install_dir: join_paths(get_option('datadir'), 'wayland-sessions'), install_tag: 'runtime') -- cgit v1.2.3