app-misc/wayvr - 9999 (guru)

Search

Install

Install this version:

emerge -a =app-misc/wayvr-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/wayvr-9999

Or alternatively:

emerge --autounmask-write -a =app-misc/wayvr-9999

Package Information

Description:
A lightweight OpenXR/OpenVR overlay for Wayland and X11 desktops
Homepage:
https://github.com/wayvr-org/wayvr.git
License:
GPL-3 Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 GPL-3 ISC MIT Unicode-DFS-2016 Unlicense

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# Autogenerated by pycargoebuild 0.13.3

EAPI=8

LLVM_COMPAT=({15..22})
RUST_MIN_SLOT="1.83.0"

inherit cargo git-r3 llvm-r2 desktop
EGIT_REPO_URI="https://github.com/wayvr-org/wayvr.git"
DESCRIPTION="A lightweight OpenXR/OpenVR overlay for Wayland and X11 desktops"
HOMEPAGE="https://github.com/wayvr-org/wayvr.git"

REQUIRED_USE="
	|| ( openvr openxr )
	|| ( wayland X )
	wayland? ( pipewire )
"

LICENSE="GPL-3"
# Dependent crate licenses
LICENSE+="
	Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD CC0-1.0 GPL-3
	ISC MIT Unicode-DFS-2016 Unlicense
"
SLOT="0"
IUSE="+openvr +openxr +wayland +X +pipewire +osc +wayvrctl"
DEPEND="
	dev-libs/openssl
	media-libs/alsa-lib
	media-libs/shaderc
	media-libs/fontconfig
	sys-apps/dbus
	media-libs/freetype
	X? (
		x11-libs/libxcb
		x11-libs/libxkbcommon[X]
		x11-libs/libX11
		x11-libs/libXext
		x11-libs/libXrandr
	)
	openvr? (
		=media-libs/openvr-1.23.8-r0
	)
	openxr? (
		media-libs/openxr-loader[X?,wayland?]
	)
	pipewire? (
		media-video/pipewire
	)
	wayland? (
		x11-libs/libxkbcommon[wayland]
	)
	$(llvm_gen_dep '
		llvm-core/clang:${LLVM_SLOT}=
	')
"
BDEPEND="
	virtual/pkgconfig
"
RDEPEND="${DEPEND}"

pkg_setup() {
	export PKG_CONFIG_ALLOW_CROSS=1
	export OPENVR_NO_VENDOR=1
	rust_pkg_setup
}

src_unpack() {
	git-r3_src_unpack
	cargo_live_src_unpack
}

src_configure() {
	local myfeatures=(
		$(usev openvr)
		$(usev openxr)
		$(usev wayland)
		$(usev X x11)
		$(usev pipewire)
		$(usev osc)
	)
	cargo_src_configure --no-default-features --frozen
}

src_install() {
	cargo_src_install --path wayvr
	domenu wayvr/wayvr.desktop
	doicon wayvr/wayvr.png --size 128
	doicon wayvr/wayvr.svg --size scalable
	if use wayvrctl; then
		cargo_src_configure --no-default-features
		cargo_src_install --path wayvrctl
	fi

}

USE Flags

Manage flags for this package: euse -i <flag> -p app-misc/wayvr | euse -E <flag> -p app-misc/wayvr | euse -D <flag> -p app-misc/wayvr

Global/Standard Flags

openvr
Default: Enabled (+)
openxr
Default: Enabled (+)
wayland
Default: Enabled (+)
X
Default: Enabled (+)
pipewire
Default: Enabled (+)
osc
Default: Enabled (+)
wayvrctl
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/openssl
	media-libs/alsa-lib
	media-libs/shaderc
	media-libs/fontconfig
	sys-apps/dbus
	media-libs/freetype
	X? (
		x11-libs/libxcb
		x11-libs/libxkbcommon[X]
		x11-libs/libX11
		x11-libs/libXext
		x11-libs/libXrandr
	)
	openvr? (
		=media-libs/openvr-1.23.8-r0
	)
	openxr? (
		media-libs/openxr-loader[X?,wayland?]
	)
	pipewire? (
		media-video/pipewire
	)
	wayland? (
		x11-libs/libxkbcommon[wayland]
	)
	$(llvm_gen_dep '
		llvm-core/clang:${LLVM_SLOT}=
	')

RDEPEND

	dev-libs/openssl
	media-libs/alsa-lib
	media-libs/shaderc
	media-libs/fontconfig
	sys-apps/dbus
	media-libs/freetype
	X? (
		x11-libs/libxcb
		x11-libs/libxkbcommon[X]
		x11-libs/libX11
		x11-libs/libXext
		x11-libs/libXrandr
	)
	openvr? (
		=media-libs/openvr-1.23.8-r0
	)
	openxr? (
		media-libs/openxr-loader[X?,wayland?]
	)
	pipewire? (
		media-video/pipewire
	)
	wayland? (
		x11-libs/libxkbcommon[wayland]
	)
	$(llvm_gen_dep '
		llvm-core/clang:${LLVM_SLOT}=
	')

BDEPEND

	virtual/pkgconfig