Skip to content

Commit

Permalink
scrcpy: Move libusb dependency from build to lib
Browse files Browse the repository at this point in the history
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 Genymobile/scrcpy#2256 (comment).
  • Loading branch information
neverpanic committed May 13, 2022
1 parent 638769d commit e6d2ec8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions multimedia/scrcpy/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit e6d2ec8

Please sign in to comment.