You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
FreeRDP: use ffmpeg8
- fix dependencies
This commit is contained in:
+11
-7
@@ -7,7 +7,7 @@ PortGroup cmake 1.1
|
||||
epoch 3
|
||||
github.setup FreeRDP FreeRDP 3.17.2
|
||||
github.tarball_from releases
|
||||
revision 0
|
||||
revision 1
|
||||
categories net
|
||||
license Apache
|
||||
maintainers nomaintainer
|
||||
@@ -24,17 +24,19 @@ checksums rmd160 ee60f05ec2fb784da454dfac9e441962d4d86823 \
|
||||
depends_build-append \
|
||||
path:bin/pkg-config:pkgconfig
|
||||
|
||||
depends_lib-append port:xorg-libX11 \
|
||||
depends_lib-append port:json-c \
|
||||
port:xorg-libice \
|
||||
port:xorg-libsm \
|
||||
port:xorg-libX11 \
|
||||
port:xorg-libXcursor \
|
||||
port:xorg-libXext \
|
||||
port:xorg-libXfixes \
|
||||
port:xorg-libXi \
|
||||
port:xorg-libXinerama \
|
||||
port:xorg-libxkbfile \
|
||||
port:xorg-libXrandr \
|
||||
port:xorg-libXv \
|
||||
port:xrender \
|
||||
port:zlib \
|
||||
path:include/turbojpeg.h:libjpeg-turbo \
|
||||
path:lib/libssl.dylib:openssl \
|
||||
path:lib/pkgconfig/libusb-1.0.pc:libusb \
|
||||
path:lib/pkgconfig/cairo.pc:cairo
|
||||
@@ -86,7 +88,7 @@ configure.args-append \
|
||||
|
||||
# ffmpeg only supports VDA (video hardware acceleration, mostly H264) on 10.6.3+ (#48397)
|
||||
if {${os.platform} ne "darwin" || ${os.major} > 10 || (${os.major} == 10 && ${os.minor} >= 3)} {
|
||||
set ffmpeg_ver 6
|
||||
set ffmpeg_ver 8
|
||||
configure.args-replace -DWITH_FFMPEG=OFF -DWITH_FFMPEG=ON
|
||||
depends_lib-append port:ffmpeg${ffmpeg_ver}
|
||||
configure.pkg_config_path \
|
||||
@@ -157,14 +159,16 @@ variant cocoa description {build native macOS/Cocoa client} {
|
||||
}
|
||||
|
||||
variant sdl2 description {build SDL2 client} {
|
||||
depends_lib-append port:libsdl2_ttf
|
||||
depends_lib-append port:libsdl2 \
|
||||
port:libsdl2_ttf
|
||||
configure.args-replace \
|
||||
-DWITH_CLIENT_SDL2=OFF \
|
||||
-DWITH_CLIENT_SDL2=ON
|
||||
}
|
||||
|
||||
variant sdl3 description {build SDL3 client} {
|
||||
depends_lib-append port:SDL3_ttf
|
||||
depends_lib-append port:SDL3 \
|
||||
port:SDL3_ttf
|
||||
configure.args-replace \
|
||||
-DWITH_CLIENT_SDL3=OFF \
|
||||
-DWITH_CLIENT_SDL3=ON
|
||||
|
||||
Reference in New Issue
Block a user