From a4c52c17a36b49e5806661e551d6ba6cc216ecc7 Mon Sep 17 00:00:00 2001 From: rejahtavi Date: Wed, 18 Mar 2026 13:27:50 +0100 Subject: [PATCH] new package: wayvr-26.2.1 --- srcpkgs/wayvr/template | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 srcpkgs/wayvr/template diff --git a/srcpkgs/wayvr/template b/srcpkgs/wayvr/template new file mode 100644 index 00000000000000..e16806041e1c86 --- /dev/null +++ b/srcpkgs/wayvr/template @@ -0,0 +1,35 @@ +# Template file for 'wayvr' +pkgname=wayvr +version=26.2.1 +revision=1 +archs="x86_64" +build_style=cargo + +# Disable OpenVR support, no shlib for it and native steamvr is crashy anyways +configure_args="--no-default-features --features=openxr,osc,wayland,pipewire,xcb,x11" + +hostmakedepends="cmake clang pkg-config" + +makedepends="base-devel libxkbcommon-devel openxr-devel pipewire-devel +openssl-devel fontconfig-devel dbus-devel wayland-devel alsa-lib-devel +shaderc libX11-devel libXext-devel libXrandr-devel libxcb-devel" + +depends="libxkbcommon openxr pipewire openssl fontconfig dbus wayland +alsa-lib libX11 libXext libXrandr libxcb" + +short_desc="Lightweight VR overlay (Compiled for OpenXR)" +maintainer="rejah " +license="GPL-3.0-or-later" +homepage="https://github.com/wlx-team/wayvr" +changelog="https://github.com/wlx-team/wayvr/releases" +distfiles="https://github.com/wlx-team/wayvr/archive/refs/tags/v${version}.tar.gz" +checksum=c81824f9a2855d01ac4c97165338cb24133febd17211b17aa302b8e8c7596c70 + +do_install() { + vbin target/${RUST_TARGET}/release/wayvr + vbin target/${RUST_TARGET}/release/wayvrctl + vbin target/${RUST_TARGET}/release/uidev + vinstall wayvr/wayvr.desktop 644 /usr/share/applications/ + vinstall wayvr/wayvr.png 644 /usr/share/icons/hicolor/128x128/apps/ + vinstall wayvr/wayvr.svg 644 /usr/share/icons/hicolor/scalable/apps/ +}