From e6d2ec807942c5cd35a56e6075b82db8a07ea0a7 Mon Sep 17 00:00:00 2001 From: Clemens Lang Date: Fri, 13 May 2022 18:18:33 +0200 Subject: [PATCH] scrcpy: Move libusb dependency from build to lib The scrcpy binary links against libusb, so it should be available at runtime: | $> otool -L /opt/local/bin/scrcpy | grep libusb | /opt/local/lib/libusb-1.0.0.dylib (compatibility version 4.0.0, current version 4.0.0) | $> port provides /opt/local/lib/libusb-1.0.0.dylib | /opt/local/lib/libusb-1.0.0.dylib is provided by: libusb See https://github.com/Genymobile/scrcpy/issues/2256#issuecomment-1126117503. --- multimedia/scrcpy/Portfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/multimedia/scrcpy/Portfile b/multimedia/scrcpy/Portfile index a697afe052c1a..f2335067d7306 100644 --- a/multimedia/scrcpy/Portfile +++ b/multimedia/scrcpy/Portfile @@ -6,7 +6,7 @@ PortGroup meson 1.0 PortGroup compiler_blacklist_versions 1.0 github.setup Genymobile scrcpy 1.24 v -revision 0 +revision 1 categories multimedia platforms darwin @@ -33,11 +33,11 @@ checksums ${distname}${extract.suffix} \ size 41159 depends_build-append \ - port:libusb \ port:pkgconfig depends_lib-append path:lib/libavcodec.dylib:ffmpeg \ - port:libsdl2 + port:libsdl2 \ + port:libusb depends_run-append port:android-platform-tools