diff options
| author | Hiroki Tagato <tagattie@FreeBSD.org> | 2026-05-14 09:18:48 +0000 |
|---|---|---|
| committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2026-05-14 09:19:43 +0000 |
| commit | f62953a4506f7707aaeaa73352321cd0d2fd7a8b (patch) | |
| tree | 0b1b1ef255dfca621df1da4322f16f58c0065e03 | |
| parent | 0e592cefbf1eb0b98070b22a5bd51f6cdeed800a (diff) | |
comms/scrcpy: Update to 4.0
Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v4.0
Reported by: GitHub (watch releases)
| -rw-r--r-- | comms/scrcpy/Makefile | 6 | ||||
| -rw-r--r-- | comms/scrcpy/distinfo | 10 | ||||
| -rw-r--r-- | comms/scrcpy/files/patch-app_meson.build | 22 | ||||
| -rw-r--r-- | comms/scrcpy/files/patch-app_src_version.c | 4 |
4 files changed, 21 insertions, 21 deletions
diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile index 5291cfb2da1b..e2fd64f08b20 100644 --- a/comms/scrcpy/Makefile +++ b/comms/scrcpy/Makefile @@ -1,7 +1,6 @@ PORTNAME= scrcpy DISTVERSIONPREFIX= v -DISTVERSION= 3.3.4 -PORTREVISION= 1 +DISTVERSION= 4.0 CATEGORIES= comms net MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server DISTFILES= ${SERVER_FILE}:server @@ -22,7 +21,7 @@ USES= compiler:c++11-lang meson pkgconfig sdl USE_GITHUB= yes GH_ACCOUNT= Genymobile -USE_SDL= sdl2 +USE_SDL= sdl3 MESON_ARGS= -Dportable=false \ -Dprebuilt_server=${WRKSRC}/${SERVER_FILE} @@ -31,6 +30,7 @@ PLIST_FILES= bin/scrcpy \ etc/bash_completion.d/scrcpy \ share/applications/scrcpy-console.desktop \ share/applications/scrcpy.desktop \ + share/icons/hicolor/256x256/apps/disconnected.png \ share/icons/hicolor/256x256/apps/scrcpy.png \ share/man/man1/scrcpy.1.gz \ ${DATADIR}/scrcpy-server \ diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo index efb1b76e4700..f47f5910d2a7 100644 --- a/comms/scrcpy/distinfo +++ b/comms/scrcpy/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1766023116 -SHA256 (scrcpy-server-v3.3.4) = 8588238c9a5a00aa542906b6ec7e6d5541d9ffb9b5d0f6e1bc0e365e2303079e -SIZE (scrcpy-server-v3.3.4) = 90980 -SHA256 (Genymobile-scrcpy-v3.3.4_GH0.tar.gz) = 03b72d1f71ca7783cff2995ca7cd8c67b9b75038a3cc35e443a1913e951b49dd -SIZE (Genymobile-scrcpy-v3.3.4_GH0.tar.gz) = 465799 +TIMESTAMP = 1778744865 +SHA256 (scrcpy-server-v4.0) = 84924bd564a1eb6089c872c7521f968058977f91f5ff02514a8c74aff3210f3a +SIZE (scrcpy-server-v4.0) = 732226 +SHA256 (Genymobile-scrcpy-v4.0_GH0.tar.gz) = a62bc2639e1d56b3e7ebaa20d8deb4947dd02954b3362bdebe2ef9f7eae41b00 +SIZE (Genymobile-scrcpy-v4.0_GH0.tar.gz) = 489017 diff --git a/comms/scrcpy/files/patch-app_meson.build b/comms/scrcpy/files/patch-app_meson.build index 7978d6be3c6a..5cc78e48b040 100644 --- a/comms/scrcpy/files/patch-app_meson.build +++ b/comms/scrcpy/files/patch-app_meson.build @@ -1,17 +1,17 @@ ---- app/meson.build.orig 2025-03-29 15:15:14 UTC +--- app/meson.build.orig 2026-05-12 19:35:47 UTC +++ app/meson.build -@@ -67,8 +67,8 @@ conf = configuration_data() +@@ -70,8 +70,8 @@ feature_test_macros = [ - conf = configuration_data() - --conf.set('_POSIX_C_SOURCE', '200809L') --conf.set('_XOPEN_SOURCE', '700') -+# conf.set('_POSIX_C_SOURCE', '200809L') -+# conf.set('_XOPEN_SOURCE', '700') - conf.set('_GNU_SOURCE', true) + feature_test_macros = [ + '-D_GNU_SOURCE', +- '-D_POSIX_C_SOURCE=200809L', +- '-D_XOPEN_SOURCE=700', ++# '-D_POSIX_C_SOURCE=200809L', ++# '-D_XOPEN_SOURCE=700', + ] - if host_machine.system() == 'windows' -@@ -196,10 +196,10 @@ install_data('data/bash-completion/scrcpy', + conf = configuration_data() +@@ -207,10 +207,10 @@ install_data('data/bash-completion/scrcpy', install_data('data/zsh-completion/_scrcpy', install_dir: datadir / 'zsh/site-functions') install_data('data/bash-completion/scrcpy', diff --git a/comms/scrcpy/files/patch-app_src_version.c b/comms/scrcpy/files/patch-app_src_version.c index 9607aa6e0d74..511c4a509837 100644 --- a/comms/scrcpy/files/patch-app_src_version.c +++ b/comms/scrcpy/files/patch-app_src_version.c @@ -1,4 +1,4 @@ ---- app/src/version.c.orig 2025-03-29 15:15:14 UTC +--- app/src/version.c.orig 2026-05-12 19:35:47 UTC +++ app/src/version.c @@ -8,7 +8,7 @@ # include <libavdevice/avdevice.h> @@ -7,5 +7,5 @@ -# include <libusb-1.0/libusb.h> +# include <libusb.h> #endif - #include <SDL2/SDL_version.h> + #include <SDL3/SDL_version.h> |
