Skip to content

Commit 8f91dd1

Browse files
committed
new package: wayvr 26.2.1
1 parent c746c2d commit 8f91dd1

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

srcpkgs/wayvr/template

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Template file for 'wayvr'
2+
pkgname=wayvr
3+
version=26.2.1
4+
revision=1
5+
archs="x86_64"
6+
build_style=cargo
7+
8+
# Disable OpenVR support, no shlib for it and native steamvr is crashy anyways
9+
configure_args="--no-default-features --features=openxr,osc,wayland,pipewire,xcb,x11"
10+
11+
hostmakedepends="cmake cargo rust clang pkg-config"
12+
13+
makedepends="base-devel libxkbcommon-devel openxr-devel pipewire-devel
14+
openssl-devel fontconfig-devel dbus-devel wayland-devel alsa-lib-devel
15+
shaderc libX11-devel libXext-devel libXrandr-devel libxcb-devel"
16+
17+
depends="libxkbcommon openxr pipewire openssl fontconfig dbus wayland
18+
alsa-lib libX11 libXext libXrandr libxcb"
19+
20+
short_desc="Lightweight VR overlay (Compiled for OpenXR)"
21+
maintainer="rejah <rejahtavi@gmail.com>"
22+
license="GPL-3.0-or-later"
23+
homepage="https://github.com/wlx-team/wayvr"
24+
changelog="https://github.com/wlx-team/wayvr/releases"
25+
distfiles="https://github.com/wlx-team/wayvr/archive/refs/tags/v${version}.tar.gz"
26+
checksum=c81824f9a2855d01ac4c97165338cb24133febd17211b17aa302b8e8c7596c70
27+
28+
do_install() {
29+
vbin target/${RUST_TARGET}/release/wayvr
30+
vbin target/${RUST_TARGET}/release/wayvrctl
31+
vbin target/${RUST_TARGET}/release/uidev
32+
vinstall wayvr/wayvr.desktop 644 /usr/share/applications/
33+
vinstall wayvr/wayvr.png 644 /usr/share/icons/hicolor/128x128/
34+
vinstall wayvr/wayvr.svg 644 /usr/share/icons/hicolor/scalable/
35+
}

0 commit comments

Comments
 (0)