git: 76aded0f6cac - main - comms/scrcpy: Update to 5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 07 Oct 2026 02:23:58 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=76aded0f6cacdc9c6ee57204bf703425d45db172
commit 76aded0f6cacdc9c6ee57204bf703425d45db172
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-10-07 02:22:47 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-10-07 02:23:49 +0000
comms/scrcpy: Update to 5.0
Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v5.0
Reported by: GitHub (watch releases)
---
comms/scrcpy/Makefile | 4 +++-
comms/scrcpy/distinfo | 10 +++++-----
comms/scrcpy/files/patch-app_meson.build | 21 ++++++++++++++++++---
3 files changed, 26 insertions(+), 9 deletions(-)
diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile
index 960b601a227a..2dc17455948a 100644
--- a/comms/scrcpy/Makefile
+++ b/comms/scrcpy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= scrcpy
DISTVERSIONPREFIX= v
-DISTVERSION= 4.1
+DISTVERSION= 5.0
CATEGORIES= comms net
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server
DISTFILES= ${SERVER_FILE}:server
@@ -13,6 +13,8 @@ WWW= https://github.com/Genymobile/scrcpy
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${LOCALBASE}/include/va/va.h:multimedia/libva \
+ ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
RUN_DEPENDS= adb:devel/android-tools
diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo
index f5045c2a1063..0b2c88df0492 100644
--- a/comms/scrcpy/distinfo
+++ b/comms/scrcpy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1783994493
-SHA256 (scrcpy-server-v4.1) = deacb991ed2509715160ffdc7907e47b4160eb30d1566217e9047fd5b8850cae
-SIZE (scrcpy-server-v4.1) = 733706
-SHA256 (Genymobile-scrcpy-v4.1_GH0.tar.gz) = 537b2ade623cb94b6edddfa5c61bf0b0af21484aa8365ea2531b686ea573249a
-SIZE (Genymobile-scrcpy-v4.1_GH0.tar.gz) = 493134
+TIMESTAMP = 1791337277
+SHA256 (scrcpy-server-v5.0) = 26cbc9ad0aced6c2282455bef4fb43462605c1f8758c74b4ab1dbf818c229daa
+SIZE (scrcpy-server-v5.0) = 733974
+SHA256 (Genymobile-scrcpy-v5.0_GH0.tar.gz) = a431f6ed9e63629938464bbfe92b022d6dddf09d7e1d52758b3fc5b52d4c4b03
+SIZE (Genymobile-scrcpy-v5.0_GH0.tar.gz) = 513272
diff --git a/comms/scrcpy/files/patch-app_meson.build b/comms/scrcpy/files/patch-app_meson.build
index 5cc78e48b040..2ad0f5f94538 100644
--- a/comms/scrcpy/files/patch-app_meson.build
+++ b/comms/scrcpy/files/patch-app_meson.build
@@ -1,6 +1,6 @@
---- app/meson.build.orig 2026-05-12 19:35:47 UTC
+--- app/meson.build.orig 2026-10-05 10:26:14 UTC
+++ app/meson.build
-@@ -70,8 +70,8 @@ feature_test_macros = [
+@@ -74,8 +74,8 @@ feature_test_macros = [
feature_test_macros = [
'-D_GNU_SOURCE',
@@ -11,7 +11,22 @@
]
conf = configuration_data()
-@@ -207,10 +207,10 @@ install_data('data/bash-completion/scrcpy',
+@@ -105,12 +105,12 @@ add_project_arguments(feature_test_macros, language: '
+
+ add_project_arguments(feature_test_macros, language: 'c')
+
+-v4l2_support = get_option('v4l2') and host_machine.system() == 'linux'
++v4l2_support = get_option('v4l2') and (host_machine.system() == 'linux' or host_machine.system() == 'freebsd')
+ if v4l2_support
+ src += [ 'src/v4l2_sink.c' ]
+ endif
+
+-vaapi_support = get_option('vaapi') and host_machine.system() == 'linux'
++vaapi_support = get_option('vaapi') and (host_machine.system() == 'linux' or host_machine.system() == 'freebsd')
+ if vaapi_support
+ src += [ 'src/interop/interop_vaapi.c' ]
+ endif
+@@ -252,10 +252,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',