|
| 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 | +} |
0 commit comments