Skip to content

Commit

Permalink
VLC2: disable screen module on < 10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Oct 11, 2024
1 parent 4e2ea46 commit 2bef727
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions multimedia/VLC2/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,12 @@ if {(${subport} eq ${name}) || (${subport} eq "lib${name}")} {
--enable-bonjour \
--enable-upnp

# Screen module uses CGDisplayCreateImageForRect which exists in 10.6+:
if {${os.platform} eq "darwin" && ${os.major} < 10} {
configure.args-append \
--disable-screen
}

platform macosx {
# taken from VLC's own configure.sh script for OS X:
configure.args-replace --disable-realrtsp --enable-realrtsp
Expand Down

0 comments on commit 2bef727

Please sign in to comment.