Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions srcpkgs/wayvr/template
Original file line number Diff line number Diff line change
@@ -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 cargo rust 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 <rejahtavi@gmail.com>"
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/
vinstall wayvr/wayvr.svg 644 /usr/share/icons/hicolor/scalable/
}