git: dcf70d3c52f8 - main - comms/scrcpy: update to 2.4

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Wed, 06 Mar 2024 19:04:54 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dcf70d3c52f898c7afd472dec1846eabfc6ad942

commit dcf70d3c52f898c7afd472dec1846eabfc6ad942
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2024-03-06 19:03:30 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2024-03-06 19:04:46 +0000

    comms/scrcpy: update to 2.4
    
    Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v2.4
    
    Reported by:    GitHub (watch releases)
---
 comms/scrcpy/Makefile                           |  3 +--
 comms/scrcpy/distinfo                           | 10 +++++-----
 comms/scrcpy/files/patch-app_meson.build        |  6 +++---
 comms/scrcpy/files/patch-app_src_usb_aoa__hid.h |  4 ++--
 4 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile
index 3d7ba65e1b0c..db04cc505e9a 100644
--- a/comms/scrcpy/Makefile
+++ b/comms/scrcpy/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	scrcpy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.1
-PORTREVISION=	1
+DISTVERSION=	2.4
 CATEGORIES=	comms net
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server
 DISTFILES=	${SERVER_FILE}:server
diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo
index cde56647280c..c7ff75f3e153 100644
--- a/comms/scrcpy/distinfo
+++ b/comms/scrcpy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1702586630
-SHA256 (scrcpy-server-v2.3.1) = f6814822fc308a7a532f253485c9038183c6296a6c5df470a9e383b4f8e7605b
-SIZE (scrcpy-server-v2.3.1) = 66007
-SHA256 (Genymobile-scrcpy-v2.3.1_GH0.tar.gz) = 76f38779f00d91d0b46a399ebca32c82ff1facdbd843871b7e46c2e7cad38a42
-SIZE (Genymobile-scrcpy-v2.3.1_GH0.tar.gz) = 401278
+TIMESTAMP = 1709722935
+SHA256 (scrcpy-server-v2.4) = 93c272b7438605c055e127f7444064ed78fa9ca49f81156777fd201e79ce7ba3
+SIZE (scrcpy-server-v2.4) = 69007
+SHA256 (Genymobile-scrcpy-v2.4_GH0.tar.gz) = 60596f6d4c11163083da3e6805666326873ed57f7defd8a20256b928a1d3503b
+SIZE (Genymobile-scrcpy-v2.4_GH0.tar.gz) = 411206
diff --git a/comms/scrcpy/files/patch-app_meson.build b/comms/scrcpy/files/patch-app_meson.build
index dd5e6f2abccd..8cdc0da19149 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	2023-11-25 20:40:27 UTC
+--- app/meson.build.orig	2024-03-02 22:22:09 UTC
 +++ app/meson.build
-@@ -56,8 +56,8 @@ conf = configuration_data()
+@@ -61,8 +61,8 @@ conf = configuration_data()
  
  conf = configuration_data()
  
@@ -11,7 +11,7 @@
  conf.set('_GNU_SOURCE', true)
  
  if host_machine.system() == 'windows'
-@@ -185,10 +185,10 @@ install_data('data/bash-completion/scrcpy',
+@@ -190,10 +190,10 @@ install_data('data/bash-completion/scrcpy',
  install_data('data/zsh-completion/_scrcpy',
               install_dir: join_paths(datadir, 'zsh/site-functions'))
  install_data('data/bash-completion/scrcpy',
diff --git a/comms/scrcpy/files/patch-app_src_usb_aoa__hid.h b/comms/scrcpy/files/patch-app_src_usb_aoa__hid.h
index 703fb0574852..cce8803763f5 100644
--- a/comms/scrcpy/files/patch-app_src_usb_aoa__hid.h
+++ b/comms/scrcpy/files/patch-app_src_usb_aoa__hid.h
@@ -1,4 +1,4 @@
---- app/src/usb/aoa_hid.h.orig	2022-06-30 04:28:03 UTC
+--- app/src/usb/aoa_hid.h.orig	2024-03-02 22:22:09 UTC
 +++ app/src/usb/aoa_hid.h
 @@ -4,7 +4,7 @@
  #include <stdint.h>
@@ -7,5 +7,5 @@
 -#include <libusb-1.0/libusb.h>
 +#include <libusb.h>
  
+ #include "hid/hid_event.h"
  #include "usb.h"
- #include "util/acksync.h"