git: d30029b64a7c - 2024Q3 - games/moonlight-qt: replace local patch with patch from upstream
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jul 2024 12:41:02 UTC
The branch 2024Q3 has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d30029b64a7cb79c7a645cdb5f214c93da1ed6aa
commit d30029b64a7cb79c7a645cdb5f214c93da1ed6aa
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-07-25 12:33:21 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-07-25 12:40:38 +0000
games/moonlight-qt: replace local patch with patch from upstream
https://github.com/moonlight-stream/moonlight-qt/commit/9e92c07cb7bce3591f43df2984f4e8dc61511c95
PR: 280425
MFH: 2024Q3
(cherry picked from commit 064b0f0d30733e0022674c9340b44024923538f7)
---
games/moonlight-qt/Makefile | 4 ++++
games/moonlight-qt/distinfo | 4 +++-
.../patch-app_streaming_video_ffmpeg-renderers_plvk.h | 14 --------------
3 files changed, 7 insertions(+), 15 deletions(-)
diff --git a/games/moonlight-qt/Makefile b/games/moonlight-qt/Makefile
index 275d5d43694f..c152b8e1a9c5 100644
--- a/games/moonlight-qt/Makefile
+++ b/games/moonlight-qt/Makefile
@@ -5,6 +5,10 @@ MASTER_SITES= https://github.com/moonlight-stream/moonlight-qt/releases/download
PKGNAMESUFFIX= -qt
DISTNAME= MoonlightSrc-${DISTVERSIONFULL}
+PATCH_SITES= https://github.com/moonlight-stream/moonlight-qt/commit/
+# Build fails on i386: https://github.com/moonlight-stream/moonlight-qt/issues/1367
+PATCHFILES+= 9e92c07cb7bce3591f43df2984f4e8dc61511c95.patch:-p1
+
MAINTAINER= lisp_25689@163.com
COMMENT= Gamestream client
WWW= https://github.com/moonlight-stream/moonlight-qt
diff --git a/games/moonlight-qt/distinfo b/games/moonlight-qt/distinfo
index 2ef4a1114303..af285490a390 100644
--- a/games/moonlight-qt/distinfo
+++ b/games/moonlight-qt/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1720010303
+TIMESTAMP = 1721910249
SHA256 (MoonlightSrc-6.0.1.tar.gz) = c4e59b033f4cfa78c7af54213d1eec158bc1676472c358be61482375e1a38ee0
SIZE (MoonlightSrc-6.0.1.tar.gz) = 83786545
+SHA256 (9e92c07cb7bce3591f43df2984f4e8dc61511c95.patch) = 0e17bf514b279a99dbe3c7cbaa548306f94026c759aa9a01e53100e585a3a50b
+SIZE (9e92c07cb7bce3591f43df2984f4e8dc61511c95.patch) = 973
diff --git a/games/moonlight-qt/files/patch-app_streaming_video_ffmpeg-renderers_plvk.h b/games/moonlight-qt/files/patch-app_streaming_video_ffmpeg-renderers_plvk.h
deleted file mode 100644
index 60440d150c4a..000000000000
--- a/games/moonlight-qt/files/patch-app_streaming_video_ffmpeg-renderers_plvk.h
+++ /dev/null
@@ -1,14 +0,0 @@
---- app/streaming/video/ffmpeg-renderers/plvk.h.orig 2024-07-23 05:26:28 UTC
-+++ app/streaming/video/ffmpeg-renderers/plvk.h
-@@ -54,7 +54,11 @@ class PlVkRenderer : public IFFmpegRenderer { (private
- // The libplacebo rendering state
- pl_log m_Log = nullptr;
- pl_vk_inst m_PlVkInstance = nullptr;
-+#if VK_USE_64_BIT_PTR_DEFINES == 1
- VkSurfaceKHR m_VkSurface = nullptr;
-+#else
-+ VkSurfaceKHR m_VkSurface = 0;
-+#endif
- pl_vulkan m_Vulkan = nullptr;
- pl_swapchain m_Swapchain = nullptr;
- pl_renderer m_Renderer = nullptr;