aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/moonlight-qt/Makefile7
-rw-r--r--games/moonlight-qt/distinfo6
2 files changed, 11 insertions, 2 deletions
diff --git a/games/moonlight-qt/Makefile b/games/moonlight-qt/Makefile
index 5d17a81b3930..bab403d8aff7 100644
--- a/games/moonlight-qt/Makefile
+++ b/games/moonlight-qt/Makefile
@@ -1,6 +1,6 @@
PORTNAME= moonlight
DISTVERSION= 6.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= https://github.com/moonlight-stream/moonlight-qt/releases/download/v${DISTVERSION}/
PKGNAMESUFFIX= -qt
@@ -45,6 +45,11 @@ QT5_USE= qt=core,declarative,gui,network,quickcontrols2,svg,widgets,buildtools:b
QT6_USES= qt:6
QT6_USE= qt=base,declarative,svg
+QT6_PATCH_SITES= https://github.com/moonlight-stream/moonlight-qt/commit/
+# fix errors for qt6.9
+QT6_PATCHFILES+= 75359bb1c483ba9e52bba8c34a662d807e0cc3c4.patch:-p1 \
+ 7a769172a1f62e5198584dff9fd924e8a9e431a0.patch:-p1
+
post-patch:
@${REINPLACE_CMD} -e 's@Exec=moonlight.*@Exec=${PORTNAME}${PKGNAMESUFFIX}@' \
${WRKSRC}/app/deploy/linux/com.moonlight_stream.Moonlight.desktop
diff --git a/games/moonlight-qt/distinfo b/games/moonlight-qt/distinfo
index fb7e766b61a1..ac7ccd69d3c5 100644
--- a/games/moonlight-qt/distinfo
+++ b/games/moonlight-qt/distinfo
@@ -1,3 +1,7 @@
-TIMESTAMP = 1726832303
+TIMESTAMP = 1749790635
SHA256 (MoonlightSrc-6.1.0.tar.gz) = 696cc470a62e2f2e9b77739d400b389e7578c9510383c08614007c92be49d5b0
SIZE (MoonlightSrc-6.1.0.tar.gz) = 85936443
+SHA256 (75359bb1c483ba9e52bba8c34a662d807e0cc3c4.patch) = 1348ffc1d494299d2864cc07b9aeca5cd575d568bfc53f58e8412f05a5ce5c37
+SIZE (75359bb1c483ba9e52bba8c34a662d807e0cc3c4.patch) = 1270
+SHA256 (7a769172a1f62e5198584dff9fd924e8a9e431a0.patch) = a5bb852ce43bbd9db5be09c6a4fa30aee7b255a93fca2e4389f423cb37d002e7
+SIZE (7a769172a1f62e5198584dff9fd924e8a9e431a0.patch) = 663