aboutsummaryrefslogtreecommitdiff
path: root/comms/scrcpy
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-04-20 11:34:07 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2025-04-20 11:35:36 +0000
commit5d15ec21a70d9885873135b640645fcf859f0ba2 (patch)
tree27d66c0a4e52c9698a26546a8698b7eeb040a352 /comms/scrcpy
parenta2e8ce4b6bf73be20b2b241e76eb55ba5ad1c120 (diff)
Diffstat (limited to 'comms/scrcpy')
-rw-r--r--comms/scrcpy/Makefile2
-rw-r--r--comms/scrcpy/distinfo10
-rw-r--r--comms/scrcpy/files/patch-app_meson.build8
-rw-r--r--comms/scrcpy/files/patch-app_src_usb_aoa__hid.c11
-rw-r--r--comms/scrcpy/files/patch-app_src_usb_aoa__hid.h11
-rw-r--r--comms/scrcpy/files/patch-app_src_version.c6
6 files changed, 24 insertions, 24 deletions
diff --git a/comms/scrcpy/Makefile b/comms/scrcpy/Makefile
index 4d8ce9ad2843..7321382ab867 100644
--- a/comms/scrcpy/Makefile
+++ b/comms/scrcpy/Makefile
@@ -1,6 +1,6 @@
PORTNAME= scrcpy
DISTVERSIONPREFIX= v
-DISTVERSION= 3.1
+DISTVERSION= 3.2
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 6df2bb52e075..abb8814b825c 100644
--- a/comms/scrcpy/distinfo
+++ b/comms/scrcpy/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1735040933
-SHA256 (scrcpy-server-v3.1) = 958f0944a62f23b1f33a16e9eb14844c1a04b882ca175a738c16d23cb22b86c0
-SIZE (scrcpy-server-v3.1) = 90640
-SHA256 (Genymobile-scrcpy-v3.1_GH0.tar.gz) = beaa5050a3c45faa77cedc70ad13d88ef26b74d29d52f512b7708671e037d24d
-SIZE (Genymobile-scrcpy-v3.1_GH0.tar.gz) = 459749
+TIMESTAMP = 1745113327
+SHA256 (scrcpy-server-v3.2) = b920e0ea01936bf2482f4ba2fa985c22c13c621999e3d33b45baa5acfc1ea3d0
+SIZE (scrcpy-server-v3.2) = 90888
+SHA256 (Genymobile-scrcpy-v3.2_GH0.tar.gz) = 9902a3afd75f9a5da64898ac06ffaf77065dd713a58f47a408630b98f03ba9ce
+SIZE (Genymobile-scrcpy-v3.2_GH0.tar.gz) = 464967
diff --git a/comms/scrcpy/files/patch-app_meson.build b/comms/scrcpy/files/patch-app_meson.build
index 09306f2ecea6..7978d6be3c6a 100644
--- a/comms/scrcpy/files/patch-app_meson.build
+++ b/comms/scrcpy/files/patch-app_meson.build
@@ -1,4 +1,4 @@
---- app/meson.build.orig 2024-12-04 21:48:27 UTC
+--- app/meson.build.orig 2025-03-29 15:15:14 UTC
+++ app/meson.build
@@ -67,8 +67,8 @@ conf = configuration_data()
@@ -13,9 +13,9 @@
if host_machine.system() == 'windows'
@@ -196,10 +196,10 @@ install_data('data/bash-completion/scrcpy',
install_data('data/zsh-completion/_scrcpy',
- install_dir: join_paths(datadir, 'zsh/site-functions'))
+ install_dir: datadir / 'zsh/site-functions')
install_data('data/bash-completion/scrcpy',
-- install_dir: join_paths(datadir, 'bash-completion/completions'))
+- install_dir: datadir / 'bash-completion/completions')
+ install_dir: 'etc/bash_completion.d')
# Desktop entry file for application launchers
@@ -23,4 +23,4 @@
+if host_machine.system() == 'linux' or host_machine.system() == 'freebsd'
# Install a launcher (ex: /usr/local/share/applications/scrcpy.desktop)
install_data('data/scrcpy.desktop',
- install_dir: join_paths(datadir, 'applications'))
+ install_dir: datadir / 'applications')
diff --git a/comms/scrcpy/files/patch-app_src_usb_aoa__hid.c b/comms/scrcpy/files/patch-app_src_usb_aoa__hid.c
new file mode 100644
index 000000000000..5572ac565637
--- /dev/null
+++ b/comms/scrcpy/files/patch-app_src_usb_aoa__hid.c
@@ -0,0 +1,11 @@
+--- app/src/usb/aoa_hid.c.orig 2025-04-20 01:48:34 UTC
++++ app/src/usb/aoa_hid.c
+@@ -5,7 +5,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
+-#include <libusb-1.0/libusb.h>
++#include <libusb.h>
+
+ #include "events.h"
+ #include "util/log.h"
diff --git a/comms/scrcpy/files/patch-app_src_usb_aoa__hid.h b/comms/scrcpy/files/patch-app_src_usb_aoa__hid.h
deleted file mode 100644
index 5629661e153e..000000000000
--- a/comms/scrcpy/files/patch-app_src_usb_aoa__hid.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- app/src/usb/aoa_hid.h.orig 2024-12-04 21:48:27 UTC
-+++ app/src/usb/aoa_hid.h
-@@ -6,7 +6,7 @@
- #include <stdint.h>
- #include <stdbool.h>
-
--#include <libusb-1.0/libusb.h>
-+#include <libusb.h>
-
- #include "hid/hid_event.h"
- #include "usb.h"
diff --git a/comms/scrcpy/files/patch-app_src_version.c b/comms/scrcpy/files/patch-app_src_version.c
index e23aa8a6e5a4..9607aa6e0d74 100644
--- a/comms/scrcpy/files/patch-app_src_version.c
+++ b/comms/scrcpy/files/patch-app_src_version.c
@@ -1,11 +1,11 @@
---- app/src/version.c.orig 2022-06-30 04:29:39 UTC
+--- app/src/version.c.orig 2025-03-29 15:15:14 UTC
+++ app/src/version.c
-@@ -7,7 +7,7 @@
+@@ -8,7 +8,7 @@
# include <libavdevice/avdevice.h>
#endif
#ifdef HAVE_USB
-# include <libusb-1.0/libusb.h>
+# include <libusb.h>
#endif
+ #include <SDL2/SDL_version.h>
- void