aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2017-11-05 01:49:37 +0800
committertobik <tobik@FreeBSD.org>2017-11-05 01:49:37 +0800
commit240cfcc8ab33aa13bc073106ca6d6214e32f3a6d (patch)
tree765903101be5c59af68e235b6959c9ffc687ca0d /games
parent5bade2d9b90753225a26c63e41c06d16f098743c (diff)
downloadfreebsd-ports-gnome-240cfcc8ab33aa13bc073106ca6d6214e32f3a6d.tar.gz
freebsd-ports-gnome-240cfcc8ab33aa13bc073106ca6d6214e32f3a6d.tar.zst
freebsd-ports-gnome-240cfcc8ab33aa13bc073106ca6d6214e32f3a6d.zip
games/moonlight-embedded: Update to 2.4.4
Changes: https://github.com/irtimmer/moonlight-embedded/releases/tag/v2.4.4
Diffstat (limited to 'games')
-rw-r--r--games/moonlight-embedded/Makefile5
-rw-r--r--games/moonlight-embedded/distinfo6
-rw-r--r--games/moonlight-embedded/files/patch-libgamestream_client.c4
-rw-r--r--games/moonlight-embedded/files/patch-src_main.c19
4 files changed, 21 insertions, 13 deletions
diff --git a/games/moonlight-embedded/Makefile b/games/moonlight-embedded/Makefile
index e24aa4b56194..89cb58eab860 100644
--- a/games/moonlight-embedded/Makefile
+++ b/games/moonlight-embedded/Makefile
@@ -1,9 +1,8 @@
# $FreeBSD$
PORTNAME= moonlight-embedded
-PORTVERSION= 2.4.3
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+DISTVERSION= 2.4.4
CATEGORIES= games
MAINTAINER= tobik@FreeBSD.org
@@ -47,7 +46,7 @@ post-patch:
${WRKSRC}/libgamestream/CMakeLists.txt
@${RM} ${WRKSRC}/libgamestream/discover.c
@${REINPLACE_CMD} -e 's@/etc/moonlight/moonlight.conf@${PREFIX}/etc/moonlight.conf@' \
- -e 's@moonligt@moonlight@' \
+ -e 's@moonligt@moonlight@g' \
${WRKSRC}/docs/README.pod
post-install:
diff --git a/games/moonlight-embedded/distinfo b/games/moonlight-embedded/distinfo
index f47ba431bd00..bd53839607bd 100644
--- a/games/moonlight-embedded/distinfo
+++ b/games/moonlight-embedded/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1503005827
-SHA256 (irtimmer-moonlight-embedded-v2.4.3_GH0.tar.gz) = 81a45d382d8511410f37e61a8957a3d1a5e0d081358ae2a3cef990602f27fd58
-SIZE (irtimmer-moonlight-embedded-v2.4.3_GH0.tar.gz) = 136489
+TIMESTAMP = 1509795639
+SHA256 (irtimmer-moonlight-embedded-v2.4.4_GH0.tar.gz) = 10ce448cf88303ad5b851461fb2e1b7c3f5ebc415ee5086ecb18166225f0e491
+SIZE (irtimmer-moonlight-embedded-v2.4.4_GH0.tar.gz) = 137835
SHA256 (irtimmer-moonlight-common-c-a1bdb36766f8db5dc9cc0694c9a376f0dca3ab59_GH0.tar.gz) = b9fce9621b4b0cf780c3e1e75b52afa3e4493993289f28301b957beb7299d8bb
SIZE (irtimmer-moonlight-common-c-a1bdb36766f8db5dc9cc0694c9a376f0dca3ab59_GH0.tar.gz) = 64283
diff --git a/games/moonlight-embedded/files/patch-libgamestream_client.c b/games/moonlight-embedded/files/patch-libgamestream_client.c
index 6895b7f72025..b72f95bafe45 100644
--- a/games/moonlight-embedded/files/patch-libgamestream_client.c
+++ b/games/moonlight-embedded/files/patch-libgamestream_client.c
@@ -1,6 +1,6 @@
---- libgamestream/client.c.orig 2017-07-02 11:38:48 UTC
+--- libgamestream/client.c.orig 2017-10-24 18:52:11 UTC
+++ libgamestream/client.c
-@@ -494,7 +494,11 @@ int gs_pair(PSERVER_DATA server, char* pin) {
+@@ -503,7 +503,11 @@ int gs_pair(PSERVER_DATA server, char* pin) {
RAND_bytes(client_secret_data, 16);
const ASN1_BIT_STRING *asnSignature;
diff --git a/games/moonlight-embedded/files/patch-src_main.c b/games/moonlight-embedded/files/patch-src_main.c
index ba5ef680502a..72e514a6041f 100644
--- a/games/moonlight-embedded/files/patch-src_main.c
+++ b/games/moonlight-embedded/files/patch-src_main.c
@@ -1,6 +1,6 @@
---- src/main.c.orig 2017-07-02 11:38:48 UTC
+--- src/main.c.orig 2017-10-24 18:52:11 UTC
+++ src/main.c
-@@ -113,13 +113,8 @@ static void stream(PSERVER_DATA server, PCONFIGURATION
+@@ -115,13 +115,8 @@ static void stream(PSERVER_DATA server, PCONFIGURATION
platform_start(system);
LiStartConnection(&server->serverInfo, &config->stream, &connection_callbacks, platform_get_video(system), platform_get_audio(system, config->audio_device), NULL, drFlags, config->audio_device, 0);
@@ -15,7 +15,7 @@
sdl_loop();
#endif
-@@ -160,7 +155,6 @@ static void help() {
+@@ -163,7 +158,6 @@ static void help() {
printf("\t-surround\t\tStream 5.1 surround sound (requires GFE 2.7)\n");
printf("\t-keydir <directory>\tLoad encryption keys from directory\n");
printf("\t-mapping <file>\t\tUse <file> as gamepad mappings configuration file\n");
@@ -23,7 +23,16 @@
printf("\t-unsupported\t\tTry streaming if GFE version or options are unsupported\n");
#if defined(HAVE_SDL) || defined(HAVE_X11)
printf("\n WM options (SDL and X11 only)\n\n");
-@@ -199,12 +193,8 @@ int main(int argc, char* argv[]) {
+@@ -201,8 +195,6 @@ int main(int argc, char* argv[]) {
+ exit(-1);
+ }
+
+- evdev_create(config.inputs[0], NULL, config.debug_level > 0);
+- evdev_map(config.inputs[0]);
+ exit(0);
+ }
+
+@@ -213,12 +205,8 @@ int main(int argc, char* argv[]) {
exit(-1);
}
config.address[0] = 0;
@@ -38,7 +47,7 @@
}
char host_config_file[128];
-@@ -251,38 +241,8 @@ int main(int argc, char* argv[]) {
+@@ -268,38 +256,8 @@ int main(int argc, char* argv[]) {
}
config.stream.supportsHevc = config.codec != CODEC_H264 && (config.codec == CODEC_HEVC || platform_supports_hevc(system));