svn commit: r476985 - in head/games/moonlight-embedded: . files
Tobias Kortkamp
tobik at FreeBSD.org
Sun Aug 12 12:20:37 UTC 2018
Author: tobik
Date: Sun Aug 12 12:20:35 2018
New Revision: 476985
URL: https://svnweb.freebsd.org/changeset/ports/476985
Log:
games/moonlight-embedded: Update to 2.4.7
- Use static release tarballs that upstream has provided since 2.4.6
- Rebase patches
Changes: https://github.com/irtimmer/moonlight-embedded/releases/tag/v2.4.7
Deleted:
head/games/moonlight-embedded/files/patch-ffmpeg4
Modified:
head/games/moonlight-embedded/Makefile
head/games/moonlight-embedded/distinfo
head/games/moonlight-embedded/files/patch-libgamestream_client.c
head/games/moonlight-embedded/files/patch-src_main.c
head/games/moonlight-embedded/files/patch-src_platform.c
Modified: head/games/moonlight-embedded/Makefile
==============================================================================
--- head/games/moonlight-embedded/Makefile Sun Aug 12 12:09:45 2018 (r476984)
+++ head/games/moonlight-embedded/Makefile Sun Aug 12 12:20:35 2018 (r476985)
@@ -1,10 +1,9 @@
# $FreeBSD$
PORTNAME= moonlight-embedded
-DISTVERSIONPREFIX= v
-DISTVERSION= 2.4.6
-PORTREVISION= 1
+DISTVERSION= 2.4.7
CATEGORIES= games
+MASTER_SITES= https://github.com/irtimmer/moonlight-embedded/releases/download/v${DISTVERSION}/
MAINTAINER= tobik at FreeBSD.org
COMMENT= Gamestream client
@@ -19,10 +18,7 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libopus.so:audio/opus \
libuuid.so:misc/e2fsprogs-libuuid
-USES= cmake localbase:ldflags perl5 pkgconfig ssl
-USE_GITHUB= yes
-GH_ACCOUNT= irtimmer
-GH_TUPLE= irtimmer:moonlight-common-c:186cef0e3a4c104dc224f0ca413345571d79b48c:common/third_party/moonlight-common-c
+USES= cmake localbase:ldflags perl5 pkgconfig ssl tar:xz
USE_LDCONFIG= yes
USE_PERL5= build
USE_SDL= sdl2
Modified: head/games/moonlight-embedded/distinfo
==============================================================================
--- head/games/moonlight-embedded/distinfo Sun Aug 12 12:09:45 2018 (r476984)
+++ head/games/moonlight-embedded/distinfo Sun Aug 12 12:20:35 2018 (r476985)
@@ -1,5 +1,3 @@
-TIMESTAMP = 1518876219
-SHA256 (irtimmer-moonlight-embedded-v2.4.6_GH0.tar.gz) = 5c3c6fbedcd9d9b57d276add82e88be12b3ea974dc191ed5ae29908a62acb374
-SIZE (irtimmer-moonlight-embedded-v2.4.6_GH0.tar.gz) = 137855
-SHA256 (irtimmer-moonlight-common-c-186cef0e3a4c104dc224f0ca413345571d79b48c_GH0.tar.gz) = 68ad7fd341b6fcd218bbe3c502f56bee9e21f7e9d5587e538bb41af4f3ae71af
-SIZE (irtimmer-moonlight-common-c-186cef0e3a4c104dc224f0ca413345571d79b48c_GH0.tar.gz) = 66038
+TIMESTAMP = 1534076138
+SHA256 (moonlight-embedded-2.4.7.tar.xz) = f78e7de28e190ea21ad567f2c580be384c53fa40f22d2ab8db16487c3e99fc56
+SIZE (moonlight-embedded-2.4.7.tar.xz) = 152496
Modified: head/games/moonlight-embedded/files/patch-libgamestream_client.c
==============================================================================
--- head/games/moonlight-embedded/files/patch-libgamestream_client.c Sun Aug 12 12:09:45 2018 (r476984)
+++ head/games/moonlight-embedded/files/patch-libgamestream_client.c Sun Aug 12 12:20:35 2018 (r476985)
@@ -1,6 +1,6 @@
---- libgamestream/client.c.orig 2017-10-24 18:52:11 UTC
+--- libgamestream/client.c.orig 2018-08-11 15:43:13 UTC
+++ libgamestream/client.c
-@@ -503,7 +503,11 @@ int gs_pair(PSERVER_DATA server, char* pin) {
+@@ -505,7 +505,11 @@ int gs_pair(PSERVER_DATA server, char* pin) {
RAND_bytes(client_secret_data, 16);
const ASN1_BIT_STRING *asnSignature;
Modified: head/games/moonlight-embedded/files/patch-src_main.c
==============================================================================
--- head/games/moonlight-embedded/files/patch-src_main.c Sun Aug 12 12:09:45 2018 (r476984)
+++ head/games/moonlight-embedded/files/patch-src_main.c Sun Aug 12 12:20:35 2018 (r476985)
@@ -1,6 +1,14 @@
---- src/main.c.orig 2017-10-24 18:52:11 UTC
+--- src/main.c.orig 2018-08-11 15:43:13 UTC
+++ src/main.c
-@@ -115,13 +115,8 @@ static void stream(PSERVER_DATA server, PCONFIGURATION
+@@ -91,7 +91,6 @@ static void stream(PSERVER_DATA server, PCONFIGURATION
+ }
+
+ int gamepads = 0;
+- gamepads += evdev_gamepads;
+ #ifdef HAVE_SDL
+ gamepads += sdl_gamepads;
+ #endif
+@@ -124,13 +123,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,15 +23,15 @@
sdl_loop();
#endif
-@@ -163,7 +158,6 @@ static void help() {
+@@ -172,7 +166,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");
-- printf("\t-platform <system>\tSpecify system used for audio, video and input: pi/imx/aml/x11/x11_vdpau/sdl/fake (default auto)\n");
+- printf("\t-platform <system>\tSpecify system used for audio, video and input: pi/imx/aml/rk/x11/x11_vdpau/sdl/fake (default auto)\n");
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");
-@@ -201,8 +195,6 @@ int main(int argc, char* argv[]) {
+@@ -210,8 +203,6 @@ int main(int argc, char* argv[]) {
exit(-1);
}
@@ -32,7 +40,7 @@
exit(0);
}
-@@ -213,12 +205,8 @@ int main(int argc, char* argv[]) {
+@@ -222,12 +213,8 @@ int main(int argc, char* argv[]) {
exit(-1);
}
config.address[0] = 0;
@@ -47,7 +55,7 @@
}
char host_config_file[128];
-@@ -268,38 +256,8 @@ int main(int argc, char* argv[]) {
+@@ -277,38 +264,8 @@ int main(int argc, char* argv[]) {
}
config.stream.supportsHevc = config.codec != CODEC_H264 && (config.codec == CODEC_HEVC || platform_supports_hevc(system));
Modified: head/games/moonlight-embedded/files/patch-src_platform.c
==============================================================================
--- head/games/moonlight-embedded/files/patch-src_platform.c Sun Aug 12 12:09:45 2018 (r476984)
+++ head/games/moonlight-embedded/files/patch-src_platform.c Sun Aug 12 12:20:35 2018 (r476985)
@@ -1,6 +1,6 @@
---- src/platform.c.orig 2017-07-02 11:38:48 UTC
+--- src/platform.c.orig 2018-08-11 15:43:13 UTC
+++ src/platform.c
-@@ -163,14 +163,6 @@ AUDIO_RENDERER_CALLBACKS* platform_get_audio(enum plat
+@@ -174,14 +174,6 @@ AUDIO_RENDERER_CALLBACKS* platform_get_audio(enum plat
if (audio_device == NULL || strcmp(audio_device, "local") == 0 || strcmp(audio_device, "hdmi") == 0)
return (PAUDIO_RENDERER_CALLBACKS) dlsym(RTLD_DEFAULT, "audio_callbacks_omx");
#endif
More information about the svn-ports-head
mailing list