commit: 68746b3190a14021dbdf98b9aaa14676477cba6b
Author: Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
AuthorDate: Sun May 18 15:29:19 2025 +0000
Commit: Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
CommitDate: Sun May 18 15:35:48 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68746b31
media-libs/wivrn: add 0.25, drop old
Signed-off-by: Patrick Nicolas <patricknicolas <AT> laposte.net>
media-libs/wivrn/Manifest | 6 +-
media-libs/wivrn/wivrn-0.24.1.ebuild | 151 ---------------------
.../{wivrn-0.23.2-r1.ebuild => wivrn-0.25.ebuild} | 0
3 files changed, 2 insertions(+), 155 deletions(-)
diff --git a/media-libs/wivrn/Manifest b/media-libs/wivrn/Manifest
index bad4987a9..28d04dd21 100644
--- a/media-libs/wivrn/Manifest
+++ b/media-libs/wivrn/Manifest
@@ -1,4 +1,2 @@
-DIST wivrn-0.23.2-server-build-deps.tar.xz 21758304 BLAKE2B
e95559305dc161823946df57b40c401a263524f23c4f638e0d7154b0c2f0450d8ba5db7e7296c6cc8a02ffec9d54afbc4e5946cdff11de4219c772ec5b5a47c6
SHA512
b9a25c94ed058e74e3339e08d29d8f0a728fb15ce64bfa1b27ab98a476bf16632f9cf22fe84bead2423a64d6d8a5a5942e3027fc16ac592087e4be0137d83871
-DIST wivrn-0.23.2.tar.gz 11184314 BLAKE2B
c3890a115e502b70ed62f1f2694b4b9494d83a6670948198e475d82c26d447c9c88758cf69e6e90da903f7e0f838d3c4814204901d0266d526b1334df719fcb6
SHA512
9d69c1f4de09ea718b2ba038d030af3941a6d1ff14d6ca3d6476399b0b03e8e459ecd3340ed54c06f5e1be070a63586d3437c3332be832f67958af9cb7f99838
-DIST wivrn-0.24.1-server-build-deps.tar.xz 22033532 BLAKE2B
14c382da4c190c3895773b45f012dc4e6810593011f816c77e3b8ec6664ed7ff06834e43216179b93cf405199fc71617eb233709336eb76b4966b9806fd4409f
SHA512
f5feb6251d2b7c5cac1fb78fdaaa282888c21325760f4956c55d3d3487d43dc2b08ec737c3a55efdd805f0531e274f9c619507dd238a8340ba7636bb753c70de
-DIST wivrn-0.24.1.tar.gz 11236753 BLAKE2B
2c271e3ad8e44291c3c376bde53cdad72766d253fd755d7d6ad83b730ad9e9d10157c8e4359ccf12323af50b143e11e4d20deae98d0375e69fe3b1c3b035e7f6
SHA512
f946f815568bf757cb069b247e00c9d9a116829c64a18cebd95a6989a5a573a1b49afcfa78323befa641f34f553497fa88cd24bad686c22f3a10b15ddd1ef857
+DIST wivrn-0.25-server-build-deps.tar.xz 22247744 BLAKE2B
d11282538d68a9f4d4eb1abc473fe8e95294beada00eb4434ca7c97fb7931fd18f2cee75f09bb02bf58b77757873ea237c413bebfe4bca88b9d59bfa40683c66
SHA512
dd41b236784a7a5ec6fb8afdcf6b727f6f6c210be0b5d23ff82bb81315b3a8bda2c6d22ff5b5f12990b1bf11826ac0da5f96f0f4138ac170762a57ef2ee03da8
+DIST wivrn-0.25.tar.gz 11322202 BLAKE2B
9409ef567fd6ae973313c5164d4dd043a65c7171d066105a81a19cb856104c28890a083ff4cb028f7debe05841097ea624ed93c866db35c093036cfe22d46e45
SHA512
c5904b9b0888d9795b1f26836c7047daa4ec43ec0729d11549b5b996976dce9818f2e28030d9a21584aedb989bb5817dbbbb54aa41e4c4d4d1778a851032b1bc
diff --git a/media-libs/wivrn/wivrn-0.24.1.ebuild
b/media-libs/wivrn/wivrn-0.24.1.ebuild
deleted file mode 100644
index 0c6ec80b0..000000000
--- a/media-libs/wivrn/wivrn-0.24.1.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake fcaps flag-o-matic xdg
-
-DESCRIPTION="WiVRn OpenXR streaming"
-HOMEPAGE="https://github.com/WiVRn/WiVRn"
-
-LICENSE="GPL-3 Apache-2.0 MIT"
-SLOT="0"
-IUSE="debug gui nvenc +pipewire pulseaudio systemd vaapi wireshark-plugins
x264"
-REQUIRED_USE="|| ( nvenc vaapi x264 )"
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/WiVRn/WiVRn.git"
- MONADO_REPO_URI="https://gitlab.freedesktop.org/monado/monado.git"
-else
- SRC_URI="
- https://github.com/WiVRn/WiVRn/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
-
https://github.com/WiVRn/WiVRn/releases/download/v${PV}/server-build-deps.tar.xz
-> ${P}-server-build-deps.tar.xz"
- KEYWORDS="~amd64"
-fi
-
-RDEPEND="
- dev-libs/glib
- dev-libs/libbsd
- dev-libs/openssl
- media-libs/openxr-loader
- net-dns/avahi
- x11-libs/libnotify
- || (
- sys-apps/systemd
- sys-auth/elogind
- )
- gui? (
- dev-libs/qcoro[qml]
- kde-frameworks/kcoreaddons:6
- kde-frameworks/ki18n:6
- kde-frameworks/kiconthemes:6
- kde-frameworks/kirigami:6
- kde-frameworks/qqc2-desktop-style:6
- )
- pipewire? (
- media-video/pipewire
- )
- pulseaudio? (
- media-libs/libpulse
- )
- systemd? (
- sys-apps/systemd
- )
- vaapi? ( || (
- media-video/ffmpeg[libdrm(-),vaapi]
- media-video/ffmpeg[drm(-),vaapi]
- ) )
- wireshark-plugins? (
- net-analyzer/wireshark
- )
- x264? (
- media-libs/x264
- )
-"
-DEPEND="
- ${RDEPEND}
- dev-cpp/cli11
- dev-cpp/eigen
- dev-cpp/nlohmann_json
- dev-libs/boost
-"
-BDEPEND="
- dev-util/glslang
- dev-util/gdbus-codegen
- gui? (
- gnome-base/librsvg
- )
- dev-util/vulkan-headers
-"
-
-if [[ ${PV} == 9999 ]]; then
- src_unpack() {
- git-r3_src_unpack
- default_src_unpack
-
- local MONADO_COMMIT=$(grep "GIT_TAG" "${P}/CMakeLists.txt" |
awk '{print $2}' | tail -1)
- git-r3_fetch "${MONADO_REPO_URI}" "${MONADO_COMMIT}"
- git-r3_checkout "${MONADO_REPO_URI}" "${WORKDIR}/monado-src"
- }
-
- src_prepare() {
- default_src_prepare
- eapply --directory="${WORKDIR}/monado-src"
"${WORKDIR}/${P}/patches/monado"/*
- cmake_src_prepare
- }
-else
- src_unpack() {
- default_src_unpack
- cd "${WORKDIR}"
- mv "WiVRn-${PV}" "${P}"
- }
-fi
-
-src_configure() {
- use debug || append-cflags "-DNDEBUG"
- use debug || append-cxxflags "-DNDEBUG"
- if [[ ${PV} == 9999 ]]; then
- GIT_DESC=$(git describe --tags --always)
- GIT_COMMIT=$(git rev-parse HEAD)
- else
- GIT_DESC=v${PV}
- GIT_COMMIT=v${PV}
- fi
- local mycmakeargs=(
- -DGIT_DESC=${GIT_DESC}
- -DGIT_COMMIT=${GIT_COMMIT}
- -DWIVRN_BUILD_CLIENT=OFF
- -DWIVRN_BUILD_SERVER=ON
- -DWIVRN_OPENXR_MANIFEST_TYPE=relative
- -DWIVRN_BUILD_DASHBOARD=$(usex gui)
- -DWIVRN_BUILD_DISSECTOR=$(usex wireshark-plugins)
- -DWIVRN_BUILD_WIVRNCTL=ON
- -DWIVRN_USE_PIPEWIRE=$(usex pipewire)
- -DWIVRN_USE_PULSEAUDIO=$(usex pulseaudio)
- -DWIVRN_USE_NVENC=$(usex nvenc)
- -DWIVRN_USE_VAAPI=$(usex vaapi)
- -DWIVRN_USE_VULKAN_ENCODE=ON
- -DWIVRN_USE_X264=$(usex x264)
- -DWIVRN_USE_SYSTEMD=$(usex systemd)
- -DWIVRN_USE_SYSTEM_OPENXR=ON
- -DWIVRN_USE_SYSTEM_BOOST=ON
- -DFETCHCONTENT_FULLY_DISCONNECTED=ON
- -DFETCHCONTENT_BASE_DIR="${WORKDIR}"
- -DENABLE_COLOURED_OUTPUT=OFF
- )
-
- cmake_src_configure
-}
-
-pkg_postinst()
-{
- fcaps cap_sys_nice usr/bin/wivrn-server
- xdg_pkg_postinst
- elog "WiVRn requires a compatible client on VR headset to run."
- if [[ ${PV} == 9999 ]]; then
- elog "For most headsets it can be downloaded from CI artifacts
on https://github.com/WiVRn/WiVRn/actions/workflows/Build.yml"
- else
- elog "For most headsets it can be downloaded on
https://github.com/WiVRn/WiVRn/releases/tag/v${PV}"
- fi
-}
diff --git a/media-libs/wivrn/wivrn-0.23.2-r1.ebuild
b/media-libs/wivrn/wivrn-0.25.ebuild
similarity index 100%
rename from media-libs/wivrn/wivrn-0.23.2-r1.ebuild
rename to media-libs/wivrn/wivrn-0.25.ebuild