From owner-svn-ports-head@freebsd.org Mon Apr 29 19:41:51 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C710B159B198; Mon, 29 Apr 2019 19:41:51 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A2FF6F26C; Mon, 29 Apr 2019 19:41:51 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1D53326B32; Mon, 29 Apr 2019 19:41:51 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3TJfoGh081889; Mon, 29 Apr 2019 19:41:50 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3TJfoJx081885; Mon, 29 Apr 2019 19:41:50 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201904291941.x3TJfoJx081885@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Mon, 29 Apr 2019 19:41:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500426 - in head/games/moonlight-embedded: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/games/moonlight-embedded: . files X-SVN-Commit-Revision: 500426 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 6A2FF6F26C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2019 19:41:52 -0000 Author: tobik Date: Mon Apr 29 19:41:50 2019 New Revision: 500426 URL: https://svnweb.freebsd.org/changeset/ports/500426 Log: games/moonlight-embedded: Update to 2.4.8 Changes: https://github.com/irtimmer/moonlight-embedded/releases/tag/v2.4.8 Deleted: head/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c Modified: head/games/moonlight-embedded/Makefile head/games/moonlight-embedded/distinfo head/games/moonlight-embedded/files/patch-src_main.c head/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c Modified: head/games/moonlight-embedded/Makefile ============================================================================== --- head/games/moonlight-embedded/Makefile Mon Apr 29 19:07:06 2019 (r500425) +++ head/games/moonlight-embedded/Makefile Mon Apr 29 19:41:50 2019 (r500426) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= moonlight-embedded -DISTVERSION= 2.4.7 -PORTREVISION= 2 +DISTVERSION= 2.4.8 CATEGORIES= games MASTER_SITES= https://github.com/irtimmer/moonlight-embedded/releases/download/v${DISTVERSION}/ @@ -19,12 +18,13 @@ LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libopus.so:audio/opus \ libuuid.so:misc/e2fsprogs-libuuid -USES= cmake localbase:ldflags perl5 pkgconfig ssl tar:xz +USES= cmake localbase:ldflags perl5 pkgconfig sdl ssl tar:xz USE_LDCONFIG= yes USE_PERL5= build USE_SDL= sdl2 CFLAGS+= -DPREFIX="\\\"${PREFIX}\\\"" +NO_WRKSUBDIR= yes post-patch: @${REINPLACE_CMD} -e '/(ALSA)/d' \ Modified: head/games/moonlight-embedded/distinfo ============================================================================== --- head/games/moonlight-embedded/distinfo Mon Apr 29 19:07:06 2019 (r500425) +++ head/games/moonlight-embedded/distinfo Mon Apr 29 19:41:50 2019 (r500426) @@ -1,3 +1,3 @@ -TIMESTAMP = 1534076138 -SHA256 (moonlight-embedded-2.4.7.tar.xz) = f78e7de28e190ea21ad567f2c580be384c53fa40f22d2ab8db16487c3e99fc56 -SIZE (moonlight-embedded-2.4.7.tar.xz) = 152496 +TIMESTAMP = 1556560792 +SHA256 (moonlight-embedded-2.4.8.tar.xz) = a60b005e8720fae0da5aa2f09fa2476207f71c08ba01a13111d916e02c2ea2f8 +SIZE (moonlight-embedded-2.4.8.tar.xz) = 160412 Modified: head/games/moonlight-embedded/files/patch-src_main.c ============================================================================== --- head/games/moonlight-embedded/files/patch-src_main.c Mon Apr 29 19:07:06 2019 (r500425) +++ head/games/moonlight-embedded/files/patch-src_main.c Mon Apr 29 19:41:50 2019 (r500426) @@ -1,4 +1,4 @@ ---- src/main.c.orig 2018-08-11 15:43:13 UTC +--- src/main.c.orig 2019-04-29 17:09:45 UTC +++ src/main.c @@ -91,7 +91,6 @@ static void stream(PSERVER_DATA server, PCONFIGURATION } @@ -8,7 +8,13 @@ #ifdef HAVE_SDL gamepads += sdl_gamepads; #endif -@@ -124,13 +123,8 @@ static void stream(PSERVER_DATA server, PCONFIGURATION +@@ -121,19 +120,11 @@ static void stream(PSERVER_DATA server, PCONFIGURATION + connection_debug = true; + } + +- if (IS_EMBEDDED(system)) +- loop_init(); +- 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); @@ -23,15 +29,15 @@ sdl_loop(); #endif -@@ -172,7 +166,6 @@ static void help() { +@@ -182,7 +173,6 @@ static void help() { printf("\t-surround\t\tStream 5.1 surround sound (requires GFE 2.7)\n"); printf("\t-keydir \tLoad encryption keys from directory\n"); printf("\t-mapping \t\tUse as gamepad mappings configuration file\n"); - printf("\t-platform \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"); + printf("\t-quitappafter\t\tSend quit app request to remote after quitting session\n"); #if defined(HAVE_SDL) || defined(HAVE_X11) - printf("\n WM options (SDL and X11 only)\n\n"); -@@ -210,8 +203,6 @@ int main(int argc, char* argv[]) { +@@ -221,8 +211,6 @@ int main(int argc, char* argv[]) { exit(-1); } @@ -40,7 +46,7 @@ exit(0); } -@@ -222,12 +213,8 @@ int main(int argc, char* argv[]) { +@@ -233,12 +221,8 @@ int main(int argc, char* argv[]) { exit(-1); } config.address[0] = 0; @@ -55,7 +61,7 @@ } char host_config_file[128]; -@@ -277,38 +264,8 @@ int main(int argc, char* argv[]) { +@@ -288,39 +272,8 @@ int main(int argc, char* argv[]) { } config.stream.supportsHevc = config.codec != CODEC_H264 && (config.codec == CODEC_HEVC || platform_supports_hevc(system)); @@ -85,6 +91,7 @@ - - udev_init(!inputAdded, mappings, config.debug_level > 0); - evdev_init(); +- rumble_handler = evdev_rumble; - #ifdef HAVE_LIBCEC - cec_init(); - #endif /* HAVE_LIBCEC */ Modified: head/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c ============================================================================== --- head/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c Mon Apr 29 19:07:06 2019 (r500425) +++ head/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c Mon Apr 29 19:41:50 2019 (r500426) @@ -1,6 +1,6 @@ ---- third_party/moonlight-common-c/src/InputStream.c.orig 2017-06-11 16:02:49 UTC +--- third_party/moonlight-common-c/src/InputStream.c.orig 2019-04-29 17:05:00 UTC +++ third_party/moonlight-common-c/src/InputStream.c -@@ -34,7 +34,7 @@ typedef struct _PACKET_HOLDER { +@@ -35,7 +35,7 @@ typedef struct _PACKET_HOLDER { LINKED_BLOCKING_QUEUE_ENTRY entry; } PACKET_HOLDER, *PPACKET_HOLDER;