From 989360357166d503000cc0c47029272476273a44 Mon Sep 17 00:00:00 2001 From: Subhaditya Nath Date: Fri, 3 Feb 2023 02:19:13 +0530 Subject: [PATCH] New package: hyprland-0.21.0 --- srcpkgs/hyprland/patches/wlroots.patch | 12 ++++++++++++ srcpkgs/hyprland/template | 17 +++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 srcpkgs/hyprland/patches/wlroots.patch create mode 100644 srcpkgs/hyprland/template diff --git a/srcpkgs/hyprland/patches/wlroots.patch b/srcpkgs/hyprland/patches/wlroots.patch new file mode 100644 index 000000000000..b071f79dc6a5 --- /dev/null +++ b/srcpkgs/hyprland/patches/wlroots.patch @@ -0,0 +1,12 @@ +--- a/subprojects/wlroots/meson.build ++++ b/subprojects/wlroots/meson.build +@@ -46,6 +46,9 @@ + '-Wno-missing-braces', + '-Wno-missing-field-initializers', + '-Wno-unused-parameter', ++ ++ '-Wno-error=unused-variable', ++ '-Wno-error=unused-but-set-variable', + ]), language: 'c') + + # Compute the relative path used by compiler invocations. diff --git a/srcpkgs/hyprland/template b/srcpkgs/hyprland/template new file mode 100644 index 000000000000..7f98f07c4b95 --- /dev/null +++ b/srcpkgs/hyprland/template @@ -0,0 +1,17 @@ +# Template file for 'hyprland' +pkgname=hyprland +version=0.21.0 +revision=1 +build_style=meson +hostmakedepends="jq git pkg-config cmake glslang wayland-devel hwids" +makedepends="libdrm-devel libxkbcommon-devel pixman-devel cairo-devel + libseat-devel libinput-devel wayland-devel wayland-protocols + xcb-util-renderutil-devel xcb-util-errors-devel xcb-util-wm-devel + xorg-server-xwayland vulkan-loader Vulkan-Headers" +short_desc="Dynamic tiling Wayland compositor that doesn't sacrifice on its looks" +maintainer="Subhaditya Nath " +license="GPL-3.0-or-later" +homepage="https://hyprland.org/" +changelog="https://github.com/hyprwm/Hyprland/releases" +distfiles="https://github.com/hyprwm/Hyprland/releases/download/v${version}beta/source-v${version}beta.tar.gz" +checksum=fba4902f39fe549ecf829c23b1c086cbe02cd068c6f65c2571c357226fa915fd