git: bac4afaa5a85 - main - comms/scrcpy: update to 2.3.1

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Fri, 15 Dec 2023 08:37:26 UTC
The branch main has been updated by tagattie:

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

commit bac4afaa5a851d9169e7ff509f674a6b4ab1dcd3
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-12-15 08:35:43 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-12-15 08:37:16 +0000

    comms/scrcpy: update to 2.3.1
    
    Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v2.3.1
    
    Reported by:    GitHub (watch releases)
---
 comms/scrcpy/Makefile                  |  2 +-
 comms/scrcpy/distinfo                  | 10 +++++-----
 comms/scrcpy/files/patch-app_src_cli.c | 19 -------------------
 3 files changed, 6 insertions(+), 25 deletions(-)

diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile
index a4d8e768cd8b..ff3ec8bdf8c8 100644
--- a/comms/scrcpy/Makefile
+++ b/comms/scrcpy/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	scrcpy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3
+DISTVERSION=	2.3.1
 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 71feea181163..cde56647280c 100644
--- a/comms/scrcpy/distinfo
+++ b/comms/scrcpy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1701344230
-SHA256 (scrcpy-server-v2.3) = 8daed514d7796fca6987dc973e201bd15ba51d0f7258973dec92d9ded00dbd5f
-SIZE (scrcpy-server-v2.3) = 65851
-SHA256 (Genymobile-scrcpy-v2.3_GH0.tar.gz) = 70937335be7c8b0be3dcf4ae2b0371e5dbe6cf340bf4ccb341be3d10fc039c36
-SIZE (Genymobile-scrcpy-v2.3_GH0.tar.gz) = 400908
+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
diff --git a/comms/scrcpy/files/patch-app_src_cli.c b/comms/scrcpy/files/patch-app_src_cli.c
deleted file mode 100644
index c30acc3a7d98..000000000000
--- a/comms/scrcpy/files/patch-app_src_cli.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- app/src/cli.c.orig	2023-11-30 22:01:51 UTC
-+++ app/src/cli.c
-@@ -2154,7 +2154,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, i
-                     return false;
-                 }
-                 break;
--            case OPT_ORIENTATION:
-+            case OPT_ORIENTATION: {
-                 enum sc_orientation orientation;
-                 if (!parse_orientation(optarg, &orientation)) {
-                     return false;
-@@ -2162,6 +2162,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, i
-                 opts->display_orientation = orientation;
-                 opts->record_orientation = orientation;
-                 break;
-+            }
-             case OPT_RENDER_DRIVER:
-                 opts->render_driver = optarg;
-                 break;