diff options
Diffstat (limited to 'net-misc/moonlight')
-rw-r--r-- | net-misc/moonlight/Manifest | 8 | ||||
-rw-r--r-- | net-misc/moonlight/metadata.xml | 1 | ||||
-rw-r--r-- | net-misc/moonlight/moonlight-6.0.1.ebuild (renamed from net-misc/moonlight/moonlight-5.0.1-r3.ebuild) | 59 | ||||
-rw-r--r-- | net-misc/moonlight/moonlight-9999.ebuild | 59 |
4 files changed, 81 insertions, 46 deletions
diff --git a/net-misc/moonlight/Manifest b/net-misc/moonlight/Manifest index 7a6c7d1abc09..ba16a8f79c74 100644 --- a/net-misc/moonlight/Manifest +++ b/net-misc/moonlight/Manifest @@ -1,4 +1,4 @@ -DIST MoonlightSrc-5.0.1.tar.gz 79820559 BLAKE2B ae67db6aab9e2104021e35b5bc4822a57a3b82a03f6b2bd1cc95e356833f163e9f6f30afc082dc8d1e4b120ef9ef7aeca2f30eec88502773020e0a6b48cbf0b1 SHA512 618d67afd4638e6c051850fc68b68fd313c9334300e35370b0b3741ec51e30da212633954b7ea47cc1f0644f5005cc06ecf861349418512919453d576f9acd60 -EBUILD moonlight-5.0.1-r3.ebuild 1808 BLAKE2B 8f2392c535e198200fa181b9874de371e598fd116305456b43d8563dab824df7f851aeba1f8345a9554f274c7d44704b41c705bea1db9eea3cd6663285d859e0 SHA512 6d5d563675710adbca6c4b10fafd16fd04a8c74c06362d064cd52c36166dce43eda0a6042d3f2aa89c79a7b2720215e26fc79b74b1adbdf3ce41cefd27a938be -EBUILD moonlight-9999.ebuild 1808 BLAKE2B 8f2392c535e198200fa181b9874de371e598fd116305456b43d8563dab824df7f851aeba1f8345a9554f274c7d44704b41c705bea1db9eea3cd6663285d859e0 SHA512 6d5d563675710adbca6c4b10fafd16fd04a8c74c06362d064cd52c36166dce43eda0a6042d3f2aa89c79a7b2720215e26fc79b74b1adbdf3ce41cefd27a938be -MISC metadata.xml 853 BLAKE2B 606cde0ad1a8f2d919bd448d77e455c2b8dcb8adffb6bfde85f7419996125b72e8c8558b83070c49df7ce45eddc28176792b197727028e490c844a1267395361 SHA512 b78862b34dd5709a2a748c420de84b8610f480de7e51480ff724df18fcc7ffb7c69413f55c9b4e5a28b5508f3c1040cf09ca0e20b4db02192a376e00ef7fff5c +DIST MoonlightSrc-6.0.1.tar.gz 83786545 BLAKE2B b227780264965b8e455e6a12dde9244325b7799737c44fffbe9219651c9390223bd13956de82af31c1f5483327d9398ff8fc9724d7466353ced415ebf2ed3fd7 SHA512 44b7c77a438c46f0374d4289203518f4468b10a5e388ae4a928845825886b8b3abd975f9ca6ddf4eaf94eb80667650520a1522292a91f88ec0f6d7396570b8ef +EBUILD moonlight-6.0.1.ebuild 2091 BLAKE2B f2aa67df38e7aa0a6c4ce3be616cefa2a3bffa10872c67324496bd15e7a84f137f904e5459228e2dde56f5578f0f58e4fcb2d880e21131a172dd233b9f92a7e2 SHA512 30c35d51004e8136dd6d2ca70da9063d1d9ee45c55aba083736ad59960c346d7d32cb37b940fe21baa47fb2779f7c3daa3968ba37556a82c6b304750a55ca7b2 +EBUILD moonlight-9999.ebuild 2091 BLAKE2B f2aa67df38e7aa0a6c4ce3be616cefa2a3bffa10872c67324496bd15e7a84f137f904e5459228e2dde56f5578f0f58e4fcb2d880e21131a172dd233b9f92a7e2 SHA512 30c35d51004e8136dd6d2ca70da9063d1d9ee45c55aba083736ad59960c346d7d32cb37b940fe21baa47fb2779f7c3daa3968ba37556a82c6b304750a55ca7b2 +MISC metadata.xml 984 BLAKE2B e0894e0a7d256ed0b7ae86afa2be129a5be4536dbdb528a257747796ed790e1f3e712271ccec913ca21b95f7bff1429985a875738e1559365a78a652722916b6 SHA512 5f8110f46ce0a076451af9c99e0050a27dce2be2aced829561b7ff1ef2b5cb5a9e84b530d8f22b96a65097182a123b3da44db0e67cacf3f3c033814d4a3dc1b3 diff --git a/net-misc/moonlight/metadata.xml b/net-misc/moonlight/metadata.xml index 69364f1304dd..b385312471c7 100644 --- a/net-misc/moonlight/metadata.xml +++ b/net-misc/moonlight/metadata.xml @@ -14,5 +14,6 @@ <flag name="glslow">Prefer direct KMS/DRM rendering over EGL/GLES rendering for better performance on some weaker GPUs</flag> <flag name="libdrm">Enable video rendering via <pkg>x11-libs/libdrm</pkg></flag> <flag name="soundio">Enable sound output via <pkg>media-libs/libsoundio</pkg> instead of <pkg>media-libs/libsdl2</pkg></flag> + <flag name="vkslow">Prefer hardware YUV-RGB conversion and scaling over Vulkan for better performance on some weaker GPUs</flag> </use> </pkgmetadata> diff --git a/net-misc/moonlight/moonlight-5.0.1-r3.ebuild b/net-misc/moonlight/moonlight-6.0.1.ebuild index 33e79bb06086..b991b6f1e5b0 100644 --- a/net-misc/moonlight/moonlight-5.0.1-r3.ebuild +++ b/net-misc/moonlight/moonlight-6.0.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://github.com/moonlight-stream/moonlight-qt.git" - EGIT_SUBMODULES=( '*' -libs -soundio ) + EGIT_SUBMODULES=( '*' -libs -soundio/libsoundio ) inherit git-r3 else SRC_URI="https://github.com/moonlight-stream/moonlight-qt/releases/download/v${PV}/MoonlightSrc-${PV}.tar.gz" @@ -19,23 +19,30 @@ DESCRIPTION="NVIDIA GameStream (and Sunshine) client" HOMEPAGE="https://github.com/moonlight-stream/moonlight-qt" LICENSE="GPL-3" SLOT="0" -IUSE="cuda +libdrm embedded glslow soundio +vaapi vdpau wayland X" +IUSE="cuda +libdrm embedded glslow qt5 qt6 soundio +vaapi vdpau vkslow wayland X" +REQUIRED_USE="|| ( qt6 qt5 )" RDEPEND=" dev-libs/openssl:= - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtquickcontrols2:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 media-libs/libglvnd - media-libs/libpulse + media-libs/libplacebo:= media-libs/libsdl2[gles2,haptic,kms,joystick,sound,video] media-libs/opus media-libs/sdl2-ttf media-video/ffmpeg:=[cuda?,libdrm?] libdrm? ( x11-libs/libdrm ) + qt6? ( + dev-qt/qtbase:6[gui,network] + dev-qt/qtdeclarative:6[svg] + ) + !qt6? ( qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtquickcontrols2:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + ) ) soundio? ( media-libs/libsoundio:= ) vaapi? ( media-libs/libva:=[wayland?,X?] ) vdpau? ( @@ -63,18 +70,28 @@ src_prepare() { } src_configure() { - eqmake5 PREFIX="${EPREFIX}/usr" CONFIG+=" \ - $(usex cuda "" disable-cuda) \ - $(usex libdrm "" disable-libdrm) \ - --disable-mmal \ - $(usex vaapi "" disable-libva) \ - $(usex vdpau "" disable-libvdpau) \ - $(usex wayland "" disable-wayland) \ - $(usex X "" disable-x11) \ - $(usev embedded) \ - $(usev glslow) \ - $(usev soundio) \ - " + local qmake_args=( + PREFIX="${EPREFIX}/usr" + CONFIG+=" + disable-mmal + $(usex cuda "" disable-cuda) + $(usex libdrm "" disable-libdrm) + $(usex vaapi "" disable-libva) + $(usex vdpau "" disable-libvdpau) + $(usex wayland "" disable-wayland) + $(usex X "" disable-x11) + $(usev embedded) + $(usev glslow) + $(usev soundio) + $(usev vkslow) + " + ) + + if use qt6; then + eqmake6 "${qmake_args[@]//$'\n'}" + else + eqmake5 "${qmake_args[@]//$'\n'}" + fi } src_install() { diff --git a/net-misc/moonlight/moonlight-9999.ebuild b/net-misc/moonlight/moonlight-9999.ebuild index 33e79bb06086..b991b6f1e5b0 100644 --- a/net-misc/moonlight/moonlight-9999.ebuild +++ b/net-misc/moonlight/moonlight-9999.ebuild @@ -5,7 +5,7 @@ EAPI=8 if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://github.com/moonlight-stream/moonlight-qt.git" - EGIT_SUBMODULES=( '*' -libs -soundio ) + EGIT_SUBMODULES=( '*' -libs -soundio/libsoundio ) inherit git-r3 else SRC_URI="https://github.com/moonlight-stream/moonlight-qt/releases/download/v${PV}/MoonlightSrc-${PV}.tar.gz" @@ -19,23 +19,30 @@ DESCRIPTION="NVIDIA GameStream (and Sunshine) client" HOMEPAGE="https://github.com/moonlight-stream/moonlight-qt" LICENSE="GPL-3" SLOT="0" -IUSE="cuda +libdrm embedded glslow soundio +vaapi vdpau wayland X" +IUSE="cuda +libdrm embedded glslow qt5 qt6 soundio +vaapi vdpau vkslow wayland X" +REQUIRED_USE="|| ( qt6 qt5 )" RDEPEND=" dev-libs/openssl:= - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtquickcontrols2:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 media-libs/libglvnd - media-libs/libpulse + media-libs/libplacebo:= media-libs/libsdl2[gles2,haptic,kms,joystick,sound,video] media-libs/opus media-libs/sdl2-ttf media-video/ffmpeg:=[cuda?,libdrm?] libdrm? ( x11-libs/libdrm ) + qt6? ( + dev-qt/qtbase:6[gui,network] + dev-qt/qtdeclarative:6[svg] + ) + !qt6? ( qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtquickcontrols2:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + ) ) soundio? ( media-libs/libsoundio:= ) vaapi? ( media-libs/libva:=[wayland?,X?] ) vdpau? ( @@ -63,18 +70,28 @@ src_prepare() { } src_configure() { - eqmake5 PREFIX="${EPREFIX}/usr" CONFIG+=" \ - $(usex cuda "" disable-cuda) \ - $(usex libdrm "" disable-libdrm) \ - --disable-mmal \ - $(usex vaapi "" disable-libva) \ - $(usex vdpau "" disable-libvdpau) \ - $(usex wayland "" disable-wayland) \ - $(usex X "" disable-x11) \ - $(usev embedded) \ - $(usev glslow) \ - $(usev soundio) \ - " + local qmake_args=( + PREFIX="${EPREFIX}/usr" + CONFIG+=" + disable-mmal + $(usex cuda "" disable-cuda) + $(usex libdrm "" disable-libdrm) + $(usex vaapi "" disable-libva) + $(usex vdpau "" disable-libvdpau) + $(usex wayland "" disable-wayland) + $(usex X "" disable-x11) + $(usev embedded) + $(usev glslow) + $(usev soundio) + $(usev vkslow) + " + ) + + if use qt6; then + eqmake6 "${qmake_args[@]//$'\n'}" + else + eqmake5 "${qmake_args[@]//$'\n'}" + fi } src_install() { |