Skip to content

Commit

Permalink
ffmpeg-devel: enable sdl2 on powerpc
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jun 4, 2024
1 parent 227ec4b commit ca03599
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions multimedia/ffmpeg-devel/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ conflicts ffmpeg

# Please increase the revision of mpv whenever ffmpeg's version is updated.
version 4.4.4
revision 7
revision 8
epoch 2

license LGPL-2.1+
Expand Down Expand Up @@ -253,9 +253,8 @@ platform darwin {
--enable-audiotoolbox
}

if {${os.major} > 9 && ${build_arch} ni [list ppc ppc64]} {
# libsdl2 requires minimum Xcode 10.7 SDK to build successfully
# but builds on Snow Leopard x86. Exclude ppc until fixed.
if {${os.major} > 9 || ${configure.build_arch} in [list ppc ppc64]} {
# libsdl2 uses X11 backend on PowerPC and builds on 10.4+.
configure.args-replace \
--disable-sdl2 \
--enable-sdl2
Expand Down

0 comments on commit ca03599

Please sign in to comment.