File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Template file for 'xrizer'
2+ pkgname=xrizer
3+ version=0.4
4+ revision=1
5+ archs="x86_64 i686"
6+ _xrizer_path=/opt/xrizer
7+ build_style=cargo
8+ hostmakedepends="cmake git cargo rust clang shaderc"
9+ makedepends="libX11-devel libxcb-devel wayland-devel"
10+ depends="libX11 libxcb wayland"
11+ short_desc="XR-ize your OpenVR games"
12+ maintainer="rejah <rejahtavi@gmail.com>"
13+ license="GPL-3.0-or-later"
14+ homepage="https://github.com/Supreeeme/xrizer"
15+ changelog="https://github.com/Supreeeme/xrizer/releases"
16+ distfiles="https://github.com/Supreeeme/xrizer/archive/refs/tags/v${version}.tar.gz"
17+ checksum=de42ea85fd47cbbd6ee26bfe2093441cba199eafbea8d529e03807062bf50681
18+
19+ # note: wivrn and openxr expect this specific per-architecture substructure for plugins
20+ # it will not work with the standard /usr/lib and /usr/lib32 locations
21+ do_install() {
22+ case "$XBPS_TARGET_MACHINE" in
23+ x86_64*)
24+ vmkdir ${_xrizer_path}/bin/linux64
25+ vinstall target/${RUST_TARGET}/release/libxrizer.so 755 ${_xrizer_path}/bin/linux64 vrclient.so
26+ ;;
27+ i686*)
28+ vmkdir ${_xrizer_path}/bin
29+ vinstall target/${RUST_TARGET}/release/libxrizer.so 755 ${_xrizer_path}/bin vrclient.so
30+ ;;
31+ esac
32+ vinstall ${FILESDIR}/version.txt 644 ${_xrizer_path}
33+ }
You can’t perform that action at this time.
0 commit comments