Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games/moonlight-embedded: Update to 2.6.2
In addition to maintainers patch fix REINPLACE_CMD for docs/README.pod Changelog: https://github.com/moonlight-stream/moonlight-embedded/releases/tag/v2.6.2 PR: 276144
- Loading branch information
1 parent
f1ef8a6
commit 251a845
Showing
24 changed files
with
162 additions
and
1,171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1697067500 | ||
SHA256 (moonlight-embedded-2.6.1.tar.xz) = 1a252e18ac637e0ad7180238fa868e04629a3d8e43232097d5ccaa3b4142fded | ||
SIZE (moonlight-embedded-2.6.1.tar.xz) = 327632 | ||
TIMESTAMP = 1701007066 | ||
SHA256 (moonlight-embedded-2.6.2.tar.xz) = 8bcc69b403a628efaf8686d40c0d1428b46defe4c65b06ff6ccc3fe32f0b2356 | ||
SIZE (moonlight-embedded-2.6.2.tar.xz) = 328660 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,14 @@ | ||
--- CMakeLists.txt.orig 2023-09-01 23:40:56 UTC | ||
--- CMakeLists.txt.orig 2023-11-03 06:08:34 UTC | ||
+++ CMakeLists.txt | ||
@@ -5,14 +5,11 @@ SET(CMAKE_C_STANDARD 99) | ||
include(${CMAKE_ROOT}/Modules/GNUInstallDirs.cmake) | ||
include(${CMAKE_SOURCE_DIR}/cmake/generate_version_header.cmake) | ||
|
||
-add_compile_options(-Wall -Wextra -Wno-unused-parameter -Wno-pointer-sign -Wno-sign-compare -Wno-switch) | ||
- | ||
aux_source_directory(./src SRC_LIST) | ||
list(APPEND SRC_LIST ./src/input/evdev.c ./src/input/mapping.c ./src/input/udev.c) | ||
|
||
set(MOONLIGHT_DEFINITIONS) | ||
|
||
-find_package(ALSA) | ||
find_package(Opus REQUIRED) | ||
find_package(Broadcom-OMX) | ||
find_package(Freescale) | ||
@@ -46,10 +43,8 @@ if (ENABLE_FFMPEG) | ||
endif() | ||
endif() | ||
if (ENABLE_PULSE) | ||
- pkg_check_modules(PULSE libpulse-simple) | ||
endif() | ||
if (ENABLE_CEC) | ||
- pkg_check_modules(CEC libcec>=4) | ||
endif() | ||
|
||
pkg_check_modules(MMAL mmal) | ||
@@ -91,7 +86,6 @@ if (CEC_FOUND) | ||
@@ -87,6 +87,11 @@ add_executable(moonlight ${SRC_LIST}) | ||
target_link_libraries(moonlight m) | ||
target_link_libraries(moonlight gamestream) | ||
|
||
+if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") | ||
+ set(ALSA_FOUND FALSE) | ||
+ target_sources(moonlight PRIVATE ./src/audio/oss.c) | ||
+endif() | ||
+ | ||
if (CEC_FOUND) | ||
list(APPEND MOONLIGHT_DEFINITIONS HAVE_LIBCEC) | ||
list(APPEND MOONLIGHT_OPTIONS CEC) | ||
target_sources(moonlight PRIVATE ./src/input/cec.c) | ||
- target_include_directories(moonlight PRIVATE ./third_party/libcec ${CEC_INCLUDE_DIRS}) | ||
target_link_libraries(moonlight ${CEC_LIBRARIES}) | ||
endif() | ||
|
||
@@ -158,7 +152,7 @@ if (SOFTWARE_FOUND) | ||
if(X11_FOUND) | ||
list(APPEND MOONLIGHT_DEFINITIONS HAVE_X11) | ||
list(APPEND MOONLIGHT_OPTIONS X11) | ||
- target_sources(moonlight PRIVATE ./src/video/x11.c ./src/video/egl.c ./src/input/x11.c) | ||
+ target_sources(moonlight PRIVATE ./src/video/x11.c ./src/video/egl.c ./src/input/x11.c ./src/audio/oss.c) | ||
target_include_directories(moonlight PRIVATE ${XLIB_INCLUDE_DIRS} ${EGL_INCLUDE_DIRS} ${GLES_INCLUDE_DIRS}) | ||
target_link_libraries(moonlight ${XLIB_LIBRARIES} ${EGL_LIBRARIES} ${GLES_LIBRARIES}) | ||
endif() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
games/moonlight-embedded/files/patch-libgamestream_CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 9 additions & 4 deletions
13
games/moonlight-embedded/files/patch-libgamestream_client.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- libgamestream/http.c.orig 2023-09-01 23:40:56 UTC | ||
--- libgamestream/http.c.orig 2023-11-03 06:08:34 UTC | ||
+++ libgamestream/http.c | ||
@@ -73,6 +73,9 @@ int http_init(const char* keyDirectory, int logLevel) | ||
int http_request(char* url, PHTTP_DATA data) { | ||
curl_easy_setopt(curl, CURLOPT_WRITEDATA, data); | ||
curl_easy_setopt(curl, CURLOPT_URL, url); | ||
+ curl_easy_setopt(curl, CURLOPT_TCP_FASTOPEN, 1L); | ||
+ curl_easy_setopt(curl, CURLOPT_FRESH_CONNECT, 1); | ||
+#ifdef __FreeBSD__ | ||
+ curl_easy_setopt(curl, CURLOPT_FORBID_REUSE, 1); | ||
+#endif | ||
|
||
if (debug) | ||
printf("Request %s\n", url); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
--- src/audio/audio.h.orig 2023-09-01 23:40:56 UTC | ||
--- src/audio/audio.h.orig 2023-11-03 06:08:34 UTC | ||
+++ src/audio/audio.h | ||
@@ -31,3 +31,4 @@ extern AUDIO_RENDERER_CALLBACKS audio_callbacks_sdl; | ||
@@ -31,3 +31,6 @@ extern AUDIO_RENDERER_CALLBACKS audio_callbacks_sdl; | ||
extern AUDIO_RENDERER_CALLBACKS audio_callbacks_pulse; | ||
bool audio_pulse_init(char* audio_device); | ||
#endif | ||
+#ifdef __FreeBSD__ | ||
+extern AUDIO_RENDERER_CALLBACKS audio_callbacks_oss; | ||
+#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.