commit: 66f9e6bd830924926b5406241b415b48ded18c32 Author: Patrick Nicolas <patricknicolas <AT> laposte <DOT> net> AuthorDate: Sat Oct 5 22:19:42 2024 +0000 Commit: Patrick Nicolas <patricknicolas <AT> laposte <DOT> net> CommitDate: Sat Oct 5 22:20:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66f9e6bd
media-libs/wivrn: update SRC_URI Signed-off-by: Patrick Nicolas <patricknicolas <AT> laposte.net> media-libs/wivrn/Manifest | 2 +- media-libs/wivrn/wivrn-9999.ebuild | 21 ++++++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/media-libs/wivrn/Manifest b/media-libs/wivrn/Manifest index 7b53b423e..08975db34 100644 --- a/media-libs/wivrn/Manifest +++ b/media-libs/wivrn/Manifest @@ -1,5 +1,5 @@ DIST boostpfr_2.2.0.tar.gz 76432 BLAKE2B 70d76a5dd0034f93ff1749b1994bcd9cd8a9b09674598958da5a8f7e1b040c62e970db4e3d221173549a19d0dd15b0810f5d12f69843ed8ac35be6697bab09e0 SHA512 86a745a44e8a6e4638b9eb9045b08de9cbf27f6d20d365eabd41587d6e1171f980a65f42a31291008c421da6cc3f436b7bf07e109aff6ab5690b19e1fb621b3d -DIST monado-bcbe19ddd795f182df42051e5495e9727db36c1c.tar.bz2 3814243 BLAKE2B 1d7d1d49d88f58c4dafd2af6e37703829c531e09ee4046e2183d7212d53d757be8aec85a5293850330fb5c1af109c852e8c0f72673ea4a0c5376a4f9b7c6a72c SHA512 7c6c9616bfd0844bc89edd40922321dba04304f58bc85f328683b1750b7ad88752839de98df6b49df493291f115a39e6b4e0803011d411869c9e8caf954eb64e +DIST monado-01806a3ffa62a2440da83d94e7a9297645d9d95a.tar.bz2 4171078 BLAKE2B eea92d3a2c81a49449f4a8283c950b2a66024ff1466c5a8d190b21366e5da98dc144f0d87380c1d11cef86454c3c2da3cc19132ef625e6d7c05a0daa2c65df23 SHA512 8cdfb7f43e4fdd5ce6e3e8edf566d5c28c08183944af4636a843c2a5e16ccf4ff00ba1f48029539f72aaa958b71be5bc00b8264bd35d4f37f5e1c8f27085d574 DIST wivrn-0.18-server-build-deps.tar.xz 18478712 BLAKE2B 04f60048fc64194786602f27d3abe4587bf962356d44b66c3a40bc9f597ef974d6ab8937e5959ca76160df300b9a40807fd3fd0ce542fe42203e31048ef212ed SHA512 e86e4e626f895b66facf99127023a911552799f66cc6ea7df67d583e3af0ff5b052d7f2565c1bc510dff3ddfe77b7f8cb0341b908436aa37bf841cb54788b9d5 DIST wivrn-0.18.tar.gz 11238428 BLAKE2B 3b44679d8f3c34906ba39e27aff09c8cdb1e8fa1240c9e07a96782971b5f7b54181fb9e4544729b5abd41603d17f1c834ab4d697d9c6ad78c69ad57b34b817cc SHA512 7e65edf3968c4142bae294ec62950a8bfde86da0797078f716de3b9a57f032b7a74293d18e0ecbbe2fcd11da45968a6c07ebbaefea9106b5e11bb17024181852 DIST wivrn-0.19-server-build-deps.tar.xz 21027752 BLAKE2B 8de78f1f356747e7ffa64a14c1d4d3888f9df658ddb1bc5556788873dfcae48612a586bc176f20c54466ad8895bddfac05423195d8f1d070a8a12178eaf9340a SHA512 4c75aa3b1b64df1ea2e1cd258c5ad602230c1a4cc3dbbbbd3c6e41ae562719996e983fd2f95c1da0a8d4f53017cf108cebd6177e7439ac1bc050a10c7339480b diff --git a/media-libs/wivrn/wivrn-9999.ebuild b/media-libs/wivrn/wivrn-9999.ebuild index d96a6fba3..5f1c2f35c 100644 --- a/media-libs/wivrn/wivrn-9999.ebuild +++ b/media-libs/wivrn/wivrn-9999.ebuild @@ -3,21 +3,21 @@ EAPI=7 -inherit cmake +inherit cmake fcaps DESCRIPTION="WiVRn OpenXR streaming" HOMEPAGE="https://github.com/WiVRn/WiVRn" LICENSE="GPL-3 Apache-2.0 MIT" SLOT="0" -IUSE="nvenc +pipewire pulseaudio systemd vaapi wireshark-plugins x264" +IUSE="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_V=bcbe19ddd795f182df42051e5495e9727db36c1c + MONADO_V=01806a3ffa62a2440da83d94e7a9297645d9d95a PFR_V=2.2.0 SRC_URI=" https://github.com/boostorg/pfr/archive/refs/tags/${PFR_V}.tar.gz -> boostpfr_${PFR_V}.tar.gz @@ -51,6 +51,9 @@ RDEPEND=" wireshark-plugins? ( net-analyzer/wireshark ) + gui? ( + dev-qt/qtbase + ) " BDEPEND=" @@ -96,6 +99,7 @@ src_configure() { -DGIT_DESC=${GIT_DESC} -DWIVRN_BUILD_CLIENT=OFF -DWIVRN_BUILD_SERVER=ON + -DWIVRN_BUILD_DASHBOARD=$(usex gui) -DWIVRN_BUILD_DISSECTOR=$(usex wireshark-plugins) -DWIVRN_USE_PIPEWIRE=$(usex pipewire) -DWIVRN_USE_PULSEAUDIO=$(usex pulseaudio) @@ -103,6 +107,8 @@ src_configure() { -DWIVRN_USE_VAAPI=$(usex vaapi) -DWIVRN_USE_X264=$(usex x264) -DWIVRN_USE_SYSTEMD=$(usex systemd) + -DWIVRN_USE_SYSTEM_OPENXR=ON + -DWIVRN_USE_SYSTEM_BOOST=ON -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DFETCHCONTENT_BASE_DIR="${WORKDIR}" @@ -120,6 +126,9 @@ src_install() { pkg_postinst() { + fcaps cap_sys_nice bin/wivrn-server + xdg_icon_cache_update + xdg_desktop_database_update 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" @@ -127,3 +136,9 @@ pkg_postinst() elog "For most headsets it can be downloaded on https://github.com/WiVRn/WiVRn/releases/tag/v${PV}" fi } + +pkg_postrm() +{ + xdg_icon_cache_update + xdg_desktop_database_update +}
