git: da96cf60e4a4 - main - games/moonlight-embedded-devel: Update 2.7.4 => 2.7.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Sep 2025 22:25:15 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=da96cf60e4a4d96771c45a902df7cf5f1a490547
commit da96cf60e4a4d96771c45a902df7cf5f1a490547
Author: Armin Zhu <lisp_25689@163.com>
AuthorDate: 2025-09-11 22:08:03 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-09-11 22:08:03 +0000
games/moonlight-embedded-devel: Update 2.7.4 => 2.7.5
Changelog:
1. Optimize input interaction with -nograb mode.
Now can use ALT+CTRL to change mouse grab mode with -nograb mode.
2. Add feature that can choose render style.For example, use -fixed to
keep render ratio with different window size.(-windowed option)
3. Add feature that can record window size and site under X server.
This need -config /path/to/file -save /path/to/file options to enable.
4. Add note: If meet crash frequently, try adjust Integrated Graphics
Device(IDG) Aperture size from BIOS.
https://github.com/armin-25689/moonlight-embedded/releases/tag/v2.7.5
Improve port:
- Fix warnings from portclippy.
- Fix the alignment in a few places.
- Merge the REINPLACE_CMD in the post-extract.
PR: 289430
---
games/moonlight-embedded-devel/Makefile | 30 ++++++++++++++++--------------
games/moonlight-embedded-devel/distinfo | 6 +++---
games/moonlight-embedded-devel/pkg-descr | 4 +++-
3 files changed, 22 insertions(+), 18 deletions(-)
diff --git a/games/moonlight-embedded-devel/Makefile b/games/moonlight-embedded-devel/Makefile
index 2192d1c1d34d..fb2cf9011c6b 100644
--- a/games/moonlight-embedded-devel/Makefile
+++ b/games/moonlight-embedded-devel/Makefile
@@ -1,6 +1,5 @@
PORTNAME= moonlight-embedded-devel
-DISTVERSION= 2.7.4
-PORTREVISION= 3
+DISTVERSION= 2.7.5
CATEGORIES= games
MASTER_SITES= https://github.com/armin-25689/moonlight-embedded/releases/download/v${DISTVERSION}/
@@ -27,43 +26,46 @@ LIB_DEPENDS= libavahi-client.so:net/avahi-app \
libwayland-client.so:graphics/wayland
USES= cmake gl localbase:ldflags perl5 pkgconfig sdl ssl tar:xz xorg
-USE_LDCONFIG= yes
USE_GL= egl gbm glesv2
+USE_LDCONFIG= yes
USE_PERL5= build
USE_SDL= sdl2
USE_XORG= x11
-NO_WRKSUBDIR= yes
+CMAKE_ARGS= -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/etc/moonlight
+
CFLAGS+= -DHAS_SOCKLEN_T=1 -I${LOCALBASE}/include/libepoll-shim
LDFLAGS+= -lepoll-shim
-CMAKE_ARGS= -DCMAKE_INSTALL_SYSCONFDIR=${PREFIX}/etc/moonlight
CONFLICTS_INSTALL= moonlight-embedded
+NO_WRKSUBDIR= yes
+
PLIST_FILES= bin/moonlight \
"@sample etc/moonlight/moonlight.conf.sample" \
share/man/man1/moonlight.1.gz \
share/moonlight/gamecontrollerdb.txt
OPTIONS_DEFAULT= OSS
+OPTIONS_GROUP= OTHERS
+OPTIONS_GROUP_OTHERS= CEC
+OPTIONS_SINGLE= SOUND
+OPTIONS_SINGLE_SOUND= OSS PULSE
+
CEC_DESC= Enable HDMI-CEC(TV controller) feature by using libcec.so
OSS_DESC= Open Sound System support for embedded(not SDL) platform
PULSE_DESC= PulseAudio sound server support for embedded(not SDL) platform
-OPTIONS_GROUP= OTHERS
-OPTIONS_GROUP_OTHERS= CEC
-OPTIONS_SINGLE= SOUND
-OPTIONS_SINGLE_SOUND= OSS PULSE
-CEC_CMAKE_BOOL= ENABLE_CEC
+
CEC_LIB_DEPENDS= libcec.so:multimedia/libcec \
libp8-platform.so:devel/p8-platform
-OSS_CMAKE_ON= -DENABLE_PULSE:BOOL=false
-PULSE_CMAKE_BOOL= ENABLE_PULSE
+CEC_CMAKE_BOOL= ENABLE_CEC
+OSS_CMAKE_ON= -DENABLE_PULSE:BOOL=false
PULSE_LIB_DEPENDS= libpulse.so:audio/pulseaudio
+PULSE_CMAKE_BOOL= ENABLE_PULSE
post-extract:
@${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@' \
- ${WRKSRC}/docs/README.pod
- @${REINPLACE_CMD} -e 's@/usr/local@${PREFIX}@' \
+ ${WRKSRC}/docs/README.pod \
${WRKSRC}/src/config.c
post-install:
diff --git a/games/moonlight-embedded-devel/distinfo b/games/moonlight-embedded-devel/distinfo
index ae8d653aa9e7..507a4350d87e 100644
--- a/games/moonlight-embedded-devel/distinfo
+++ b/games/moonlight-embedded-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1731162268
-SHA256 (moonlight-embedded-devel-2.7.4.tar.xz) = e74d99666c11d92397517a7c2058ad203b31973af10d496ccfc6b37106a993e6
-SIZE (moonlight-embedded-devel-2.7.4.tar.xz) = 1121376
+TIMESTAMP = 1757506828
+SHA256 (moonlight-embedded-devel-2.7.5.tar.xz) = 486d5527733226706ef70b0534c8206f1872e18b4d331ca04af07f32db349018
+SIZE (moonlight-embedded-devel-2.7.5.tar.xz) = 380456
diff --git a/games/moonlight-embedded-devel/pkg-descr b/games/moonlight-embedded-devel/pkg-descr
index 8a3e7e25f25a..cb18590dfa25 100644
--- a/games/moonlight-embedded-devel/pkg-descr
+++ b/games/moonlight-embedded-devel/pkg-descr
@@ -4,5 +4,7 @@ PC(sunshine or NV shield) to your FreeBSD system.
In contrast to moonlight-qt, this port can grab keyboard and mouse
and has full worked vaapi decoder, which helps in case of crashes.
-Note: This is a fork of moonlight-embedded aimed for more features
+Note1: This is a fork of moonlight-embedded aimed for more features
and fixes for FreeBSD on amd64, not only on embedded systems.
+Note2: If meet crash frequently, try adjust Integrated Graphics
+Device(IDG) Aperture size from BIOS.