Skip to content

Commit bfd952f

Browse files
committed
New package: wivrn-26.2.3
1 parent fb15fca commit bfd952f

3 files changed

Lines changed: 54 additions & 3 deletions

File tree

srcpkgs/opencomposite/template

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ _glm_version=0.9.9.8
99
# this variable must be consistent with its copy in the wivrn package
1010
# or users will have to manually input the path into wivrn
1111
_opencomposite_path=/opt/opencomposite
12+
lib32mode=full
1213
build_style=cmake
1314
configure_args="-DUSE_SYSTEM_OPENXR=OFF -DUSE_SYSTEM_GLM=OFF
1415
-DOC_BACKTRACE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo"
@@ -48,11 +49,11 @@ do_install() {
4849
x86_64*)
4950
vmkdir ${_opencomposite_path}/bin/linux64
5051
vinstall build/bin/linux64/vrclient.so 755 ${_opencomposite_path}/bin/linux64
52+
vinstall ${FILESDIR}/version.txt 644 ${_opencomposite_path}
5153
;;
5254
i686*)
5355
vmkdir ${_opencomposite_path}/bin
5456
vinstall build/bin/vrclient.so 755 ${_opencomposite_path}/bin
5557
;;
5658
esac
57-
vinstall ${FILESDIR}/version.txt 644 ${_opencomposite_path}
5859
}

srcpkgs/wivrn/template

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Template file for 'wivrn'
2+
pkgname=wivrn
3+
version=26.2.3
4+
revision=1
5+
archs="x86_64"
6+
build_style=cmake
7+
8+
# these options must match the ones in their respective packages
9+
# or users will have to manually input paths into wivrn
10+
_xrizer_path=/opt/xrizer
11+
_opencomposite_path=/opt/opencomposite
12+
13+
configure_args="-DGIT_DESC=v${version} -DGIT_COMMIT=v${version}
14+
-DWIVRN_BUILD_SERVER=ON -DWIVRN_BUILD_DASHBOARD=ON
15+
-DWIVRN_BUILD_CLIENT=OFF -DWIVRN_BUILD_WIVRNCTL=OFF
16+
-DWIVRN_USE_SYSTEMD=OFF -DWIVRN_USE_PIPEWIRE=ON
17+
-DWIVRN_FEATURE_STEAMVR_LIGHTHOUSE=ON
18+
-DOVR_COMPAT_SEARCH_PATH=${_opencomposite_path}:${_xrizer_path}
19+
-DCMAKE_BUILD_TYPE=RelWithDebInfo -Wno-dev"
20+
21+
hostmakedepends="boost cli11 cmake eigen extra-cmake-modules gcc
22+
gettext git json-c++ ninja pkg-config"
23+
24+
makedepends="Vulkan-Headers avahi-glib-libs-devel boost-devel
25+
cairo-devel ffmpeg-devel gettext-devel glib-devel glslang-devel
26+
hidapi-devel kf6-kcoreaddons-devel kf6-ki18n-devel
27+
kf6-kiconthemes-devel kf6-kirigami-devel kf6-qqc2-desktop-style-devel
28+
libarchive-devel libbsd-devel libdav1d-devel libdrm-devel
29+
libnotify-devel libnotify-devel libsvt-av1-devel librsvg-devel
30+
libxcb-devel libvpx-devel openssl-devel pipewire-devel pipewire-devel
31+
qcoro-qt6-devel qt6-base-devel qt6-base-private-devel
32+
qt6-declarative-devel qt6-declarative-private-devel vulkan-loader-devel
33+
x264-devel"
34+
35+
depends="avahi cairo ffmpeg glslang hidapi libarchive libbsd libdav1d
36+
libgcc libnotify libsvt-av1-devel libpipewire librsvg libvpx openssl
37+
vulkan-loader x264 xrizer opencomposite"
38+
39+
short_desc="WiVRn VR Streaming Server"
40+
maintainer="rejah <[email protected]>"
41+
license="MIT"
42+
homepage="https://github.com/WiVRn/WiVRn"
43+
changelog="https://github.com/WiVRn/WiVRn/releases/"
44+
distfiles="https://github.com/WiVRn/WiVRn/archive/refs/tags/v${version}.tar.gz"
45+
checksum=7d6eb388d7176263f4ceb6335541d62a2038bd9c4a991e70e6049fb3726fe104
46+
47+
post_install() {
48+
vlicense LICENSE-OFL-1.1
49+
}

srcpkgs/xrizer/template

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ archs="x86_64 i686"
77
# this variable must be consistent with its copy in the wivrn package
88
# or users will have to manually input the path into wivrn
99
_xrizer_path=/opt/xrizer
10+
lib32mode=full
1011
build_style=cargo
11-
hostmakedepends="cmake git cargo rust clang shaderc"
12+
hostmakedepends="cmake git clang shaderc"
1213
makedepends="libX11-devel libxcb-devel wayland-devel"
1314
depends="libX11 libxcb wayland"
1415
short_desc="XR-ize your OpenVR games"
@@ -26,11 +27,11 @@ do_install() {
2627
x86_64*)
2728
vmkdir ${_xrizer_path}/bin/linux64
2829
vinstall target/${RUST_TARGET}/release/libxrizer.so 755 ${_xrizer_path}/bin/linux64 vrclient.so
30+
vinstall ${FILESDIR}/version.txt 644 ${_xrizer_path}
2931
;;
3032
i686*)
3133
vmkdir ${_xrizer_path}/bin
3234
vinstall target/${RUST_TARGET}/release/libxrizer.so 755 ${_xrizer_path}/bin vrclient.so
3335
;;
3436
esac
35-
vinstall ${FILESDIR}/version.txt 644 ${_xrizer_path}
3637
}

0 commit comments

Comments
 (0)