commit:     9966ca5a378a862d6982054a56025c5fb93e812a
Author:     Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
AuthorDate: Fri Apr 26 15:37:56 2024 +0000
Commit:     Patrick Nicolas <patricknicolas <AT> laposte <DOT> net>
CommitDate: Fri Apr 26 15:37:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9966ca5a

media-libs/wivrn: add 0.14.1, drop old

Signed-off-by: Patrick Nicolas <patricknicolas <AT> laposte.net>

 media-libs/wivrn/Manifest                               |  4 ++--
 .../wivrn/{wivrn-0.12.ebuild => wivrn-0.14.1.ebuild}    | 17 +++++++++--------
 media-libs/wivrn/wivrn-9999.ebuild                      |  2 +-
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/media-libs/wivrn/Manifest b/media-libs/wivrn/Manifest
index 95ca1b9478..77adf99455 100644
--- a/media-libs/wivrn/Manifest
+++ b/media-libs/wivrn/Manifest
@@ -1,6 +1,6 @@
 DIST boostpfr_2.2.0.tar.gz 76432 BLAKE2B 
70d76a5dd0034f93ff1749b1994bcd9cd8a9b09674598958da5a8f7e1b040c62e970db4e3d221173549a19d0dd15b0810f5d12f69843ed8ac35be6697bab09e0
 SHA512 
86a745a44e8a6e4638b9eb9045b08de9cbf27f6d20d365eabd41587d6e1171f980a65f42a31291008c421da6cc3f436b7bf07e109aff6ab5690b19e1fb621b3d
 DIST monado-ffb71af26f8349952f5f820c268ee4774613e200.tar.gz 3345606 BLAKE2B 
dc38514da7757e9737303540ca44d698e7eef504136fe7d4fbac349588a14be6860890f43520a52e1e80dfcaea32bc1f3a95894280c0fb8b178b50ffd85e155b
 SHA512 
fbbee78583a8c90dc8e4179b8b3febaad77268c2f293532c1379e2c15d15693aea4b5494b6e34e1bd9f53d7624d7c9a93a8a5d514c1fcb474153b850c322166b
-DIST wivrn-0.12-server-build-deps.tar.xz 16661132 BLAKE2B 
e7d562a286211d674bfbdd3db8328e8fc4e019893d73067174abacc7ba95127b92b0faba589a5fddbbc06baf3a1057f54f739130daa5db745f18db0541c8d887
 SHA512 
57d7e99a98a7d41bcb88302247312e99e0ddc89023b06bb8028711967d1a148bcba4f06343d55510fdb294a87fde56733dcd493b80f3f136c325568ba08e2798
-DIST wivrn-0.12.tar.gz 11683876 BLAKE2B 
34000761291ff7c9565b8ffddd87e1721adbf78447bc875f4c805643f284443765404f186f95747f314571b26ebe57fd5a1275258f65bb9a479a61b4623db0fc
 SHA512 
960cd6282c9538bd574f11c51dc7e4f6f87b2b619b68d7eb3a0ab8edde14a27e6b4f4535ef45b5f32396bd8a5a8c9d1cc28bed910e9eb71fdbfefeea6ec3dbd7
 DIST wivrn-0.13-server-build-deps.tar.xz 15527480 BLAKE2B 
28dfedaee675a2acc3fa3b453837a31c91d613d7a1166c14d398f0093a5faa6ad6d5d6112ce2c41863894fcaa0ce98d83d6bf2d9289c5fa263a09b92e99c9f0c
 SHA512 
9d9a9add87dca9ebba593d889297caf8a5dfe7d48cd3abd7e02859392ee21af7635f82dba00198637a237be5e5905e2c3af469f621adbe44697176e7c15fc49c
 DIST wivrn-0.13.tar.gz 11826609 BLAKE2B 
8b8cd300998bb05803fa8c6f1f5e874f7435edf5f457c5806e1e75e5a16b2a749208567162b41af6d4dda3f83b8c40ce9367b123522cc9cb023a8ec33be24a06
 SHA512 
82efdd29368a00c191eea32716a7a69b80108fa7f3521c548c80df156bb0ee3c6dad8a24488707ea083ae9121b9b6efe1d31a9af77367403583ecba25e3e3104
+DIST wivrn-0.14.1-server-build-deps.tar.xz 15386700 BLAKE2B 
4291ab1d1a7cbd76ec76e2d2bcb6a2f4d045a3ff702ac12902f95e3187beb477dcfb892522628a1d2f53ce319f6b7a2b90e81d7eef90ca48a8f09f7061005e38
 SHA512 
494097b2c7e5ed2c2576a81fb7176a0b01ef2b1eef481d375ad579e7b6d1d8ba3b20d2f6dddc7f20217669be5af90c38acda3c3685f74518e52b4331c2923733
+DIST wivrn-0.14.1.tar.gz 11860791 BLAKE2B 
5f98b0316dcc153134d5005d05472e857ab0bfce046e4bd1c4c077f4ad212f8cc959c6b483911e0643d69b37c4a64a0afec7841e0d2bfaf7058b5e7e93e67760
 SHA512 
71079f299a16144bba5c5ae7dc63432089f5295f7a629ccdc917030bfada187a07f03d1c4c56c9d05709a58920aa82f21b038b8a02445c6c8bd4617491ef4f21

diff --git a/media-libs/wivrn/wivrn-0.12.ebuild 
b/media-libs/wivrn/wivrn-0.14.1.ebuild
similarity index 90%
rename from media-libs/wivrn/wivrn-0.12.ebuild
rename to media-libs/wivrn/wivrn-0.14.1.ebuild
index bf9860cc12..0c9ffea662 100644
--- a/media-libs/wivrn/wivrn-0.12.ebuild
+++ b/media-libs/wivrn/wivrn-0.14.1.ebuild
@@ -5,7 +5,7 @@ HOMEPAGE="https://github.com/meumeu/WiVRn";
 SLOT="0"
 LICENSE="GPL-3 Apache-2.0 MIT"
 
-IUSE="nvenc systemd vaapi wireshark-plugins x264"
+IUSE="nvenc +pipewire -pulseaudio systemd vaapi wireshark-plugins x264"
 REQUIRED_USE="|| ( nvenc vaapi x264 )"
 
 inherit cmake
@@ -28,9 +28,6 @@ else
 fi
 
 RDEPEND="
-       nvenc? (
-               x11-drivers/nvidia-drivers
-       )
        vaapi? (
                media-video/ffmpeg[libdrm,vaapi]
        )
@@ -38,7 +35,12 @@ RDEPEND="
                media-libs/x264
        )
        dev-libs/libbsd
-       media-libs/libpulse
+       pipewire? (
+               media-video/pipewire
+       )
+       pulseaudio? (
+               media-libs/libpulse
+       )
        media-libs/openxr-loader
        net-dns/avahi
        systemd? (
@@ -51,9 +53,6 @@ RDEPEND="
 
 BDEPEND="
        ${RDEPEND}
-       nvenc? (
-               dev-util/nvidia-cuda-toolkit
-       )
        dev-cpp/eigen
        dev-cpp/nlohmann_json
        dev-util/glslang
@@ -86,6 +85,8 @@ src_configure() {
                -DWIVRN_BUILD_CLIENT=OFF
                -DWIVRN_BUILD_SERVER=ON
                -DWIVRN_BUILD_DISSECTOR=$(usex wireshark-plugins)
+               -DWIVRN_USE_PIPEWIRE=$(usex pipewire)
+               -DWIVRN_USE_PULSEAUDIO=$(usex pulseaudio)
                -DWIVRN_USE_NVENC=$(usex nvenc)
                -DWIVRN_USE_VAAPI=$(usex vaapi)
                -DWIVRN_USE_X264=$(usex x264)

diff --git a/media-libs/wivrn/wivrn-9999.ebuild 
b/media-libs/wivrn/wivrn-9999.ebuild
index f603e138c5..0c9ffea662 100644
--- a/media-libs/wivrn/wivrn-9999.ebuild
+++ b/media-libs/wivrn/wivrn-9999.ebuild
@@ -5,7 +5,7 @@ HOMEPAGE="https://github.com/meumeu/WiVRn";
 SLOT="0"
 LICENSE="GPL-3 Apache-2.0 MIT"
 
-IUSE="nvenc pipewire pulseaudio systemd vaapi wireshark-plugins x264"
+IUSE="nvenc +pipewire -pulseaudio systemd vaapi wireshark-plugins x264"
 REQUIRED_USE="|| ( nvenc vaapi x264 )"
 
 inherit cmake

Reply via email to