Also added mention of the Sunshine stream host to the description
and comment.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/moonlight-qt/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile 26 Sep 2023 09:41:38 -0000 1.7
+++ Makefile 13 Nov 2023 01:33:48 -0000
@@ -1,11 +1,10 @@
-COMMENT = open-source nvidia gamestream client
+COMMENT = open-source nvidia gamestream and sunshine client
-V = 3.1.4
+V = 5.0.1
PKGNAME = moonlight-qt-${V}
DISTNAME = MoonlightSrc-${V}
SITES =
https://github.com/moonlight-stream/moonlight-qt/releases/download/v${V}/
-REVISION = 2
CATEGORIES = games
@@ -17,7 +16,7 @@ PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} EGL GL Qt5Core Qt5Gui Qt5Network
WANTLIB += Qt5Qml Qt5QmlModels Qt5Quick Qt5QuickControls2 Qt5Svg
WANTLIB += Qt5Widgets SDL2 SDL2_ttf X11 avcodec avutil c crypto
-WANTLIB += drm m opus ssl
+WANTLIB += m opus ssl
MODULES = devel/qmake \
x11/qt5
@@ -34,5 +33,13 @@ LIB_DEPENDS = graphics/ffmpeg \
x11/qt5/qtdeclarative
WRKDIST = ${WRKDIR}
+
+MODQMAKE_ARGS = CONFIG+=disable-cuda \
+ CONFIG+=disable-libdrm \
+ CONFIG+=disable-libva \
+ CONFIG+=disable-libdvpau \
+ CONFIG+=disable-mmal \
+ CONFIG+=disable-wayland
+
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/moonlight-qt/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo 11 Nov 2021 07:11:18 -0000 1.2
+++ distinfo 13 Nov 2023 01:33:48 -0000
@@ -1,2 +1,2 @@
-SHA256 (MoonlightSrc-3.1.4.tar.gz) =
OelZCcNiVktYIukeURIQfB4PEh1xONtiTZury2AewgQ=
-SIZE (MoonlightSrc-3.1.4.tar.gz) = 55034473
+SHA256 (MoonlightSrc-5.0.1.tar.gz) =
kB+HUIn8WySJy0W1oz8AZJ92hVXnYL3V37qooFyuvJg=
+SIZE (MoonlightSrc-5.0.1.tar.gz) = 79820559
Index: patches/patch-app_app_pro
===================================================================
RCS file: patches/patch-app_app_pro
diff -N patches/patch-app_app_pro
--- patches/patch-app_app_pro 11 Mar 2022 19:04:41 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,17 +0,0 @@
-Disable wayland
-
-Index: app/app.pro
---- app/app.pro.orig
-+++ app/app.pro
-@@ -90,11 +90,6 @@ unix:!macx {
- }
- }
-
-- packagesExist(wayland-client) {
-- DEFINES += HAS_WAYLAND
-- PKGCONFIG += wayland-client
-- }
--
- packagesExist(x11) {
- DEFINES += HAS_X11
- PKGCONFIG += x11
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/games/moonlight-qt/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR 25 Feb 2021 19:39:19 -0000 1.1.1.1
+++ pkg/DESCR 13 Nov 2023 01:33:48 -0000
@@ -2,3 +2,7 @@ Moonlight (formerly Limelight) is an ope
NVIDIA's GameStream protocol. With Moonlight, You can stream your
collection of PC games from your GameStream-compatible PC to any
supported device and play them remotely.
+
+Moonlight can also be used with the open source Sunshine stream
+host, allowing Moonlight to connect to hosts that lack Nvidia
+hardware.