git: ac89ac7a4d96 - main - comms/scrcpy: update to 2.1

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Tue, 27 Jun 2023 08:49:26 UTC
The branch main has been updated by tagattie:

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

commit ac89ac7a4d96678de51e86423c0610a686c8e2ba
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-06-27 08:47:18 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-06-27 08:49:17 +0000

    comms/scrcpy: update to 2.1
    
    While here, remove unnecessary USES=desktop-file-utils.
    
    Changelog: https://github.com/Genymobile/scrcpy/releases/tag/v2.1
---
 comms/scrcpy/Makefile                    |  8 ++------
 comms/scrcpy/distinfo                    | 12 +++++-------
 comms/scrcpy/files/patch-app_meson.build |  6 +++---
 3 files changed, 10 insertions(+), 16 deletions(-)

diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile
index 7539c7a9b497..4c96365e7905 100644
--- a/comms/scrcpy/Makefile
+++ b/comms/scrcpy/Makefile
@@ -1,15 +1,11 @@
 PORTNAME=	scrcpy
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.0
-PORTREVISION=	2
+DISTVERSION=	2.1
 CATEGORIES=	comms net
 MASTER_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${DISTVERSIONFULL}/:server
 DISTFILES=	${SERVER_FILE}:server
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
-PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-PATCHFILES=	6b769675fa68e60c9765022e43c4d7b1e329353a.patch:-p1
-
 MAINTAINER=	tagattie@FreeBSD.org
 COMMENT=	Display and control your Android device
 WWW=		https://github.com/Genymobile/scrcpy
@@ -20,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg
 RUN_DEPENDS=	adb:devel/android-tools
 
-USES=		compiler:c++11-lang desktop-file-utils meson pkgconfig sdl
+USES=		compiler:c++11-lang meson pkgconfig sdl
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	Genymobile
diff --git a/comms/scrcpy/distinfo b/comms/scrcpy/distinfo
index eecda976e961..ebc498ded1b3 100644
--- a/comms/scrcpy/distinfo
+++ b/comms/scrcpy/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1678617692
-SHA256 (scrcpy-server-v2.0) = 9e241615f578cd690bb43311000debdecf6a9c50a7082b001952f18f6f21ddc2
-SIZE (scrcpy-server-v2.0) = 52867
-SHA256 (Genymobile-scrcpy-v2.0_GH0.tar.gz) = a256241dd178ab103e4a119d0387f348c10ac513f25a7ca4859bd53ca5e7d43f
-SIZE (Genymobile-scrcpy-v2.0_GH0.tar.gz) = 375902
-SHA256 (6b769675fa68e60c9765022e43c4d7b1e329353a.patch) = b9eebe81d56c7e91b6834db00725059cf41ef3ad4e1b3bfa6875fa0f1576f30c
-SIZE (6b769675fa68e60c9765022e43c4d7b1e329353a.patch) = 2139
+TIMESTAMP = 1687851395
+SHA256 (scrcpy-server-v2.1) = 5b8bf1940264b930c71a1c614c57da2247f52b2d4240bca865cc6d366dff6688
+SIZE (scrcpy-server-v2.1) = 56955
+SHA256 (Genymobile-scrcpy-v2.1_GH0.tar.gz) = 57a277238d19d3471f37003d0d567bb8cde0a2b487b5cf91416129b463d9e8d5
+SIZE (Genymobile-scrcpy-v2.1_GH0.tar.gz) = 385830
diff --git a/comms/scrcpy/files/patch-app_meson.build b/comms/scrcpy/files/patch-app_meson.build
index e4bd3fdd970f..ba903216f3fc 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-03-12 01:05:37 UTC
+--- app/meson.build.orig	2023-06-21 23:15:44 UTC
 +++ app/meson.build
-@@ -54,8 +54,8 @@ src = [
+@@ -56,8 +56,8 @@ src = [
  
  conf = configuration_data()
  
@@ -11,7 +11,7 @@
  conf.set('_GNU_SOURCE', true)
  
  if host_machine.system() == 'windows'
-@@ -236,10 +236,10 @@ install_data('data/icon.png',
+@@ -238,10 +238,10 @@ install_data('data/icon.png',
  install_data('data/zsh-completion/_scrcpy',
               install_dir: join_paths(datadir, 'zsh/site-functions'))
  install_data('data/bash-completion/scrcpy',