mirror of
https://github.com/BtbN/FFmpeg-Builds.git
synced 2025-06-12 13:27:38 +02:00
Add PulseAudio support
This commit is contained in:
@ -26,6 +26,9 @@ ffbuild_dockerbuild() {
|
||||
-DSDL_X11_SHARED=OFF
|
||||
-DHAVE_XGENERICEVENT=TRUE
|
||||
-DSDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM=1
|
||||
|
||||
-DSDL_PULSEAUDIO=ON
|
||||
-DSDL_PULSEAUDIO_SHARED=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
@ -38,7 +41,7 @@ ffbuild_dockerbuild() {
|
||||
sed -ri -e 's/\-Wl,\-\-no\-undefined.*//' \
|
||||
-e 's/ \-l\/.+?\.a//g' \
|
||||
"$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
|
||||
echo 'Requires: xxf86vm xscrnsaver xrandr xfixes xi xinerama xcursor' >> "$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
|
||||
echo 'Requires: libpulse-simple xxf86vm xscrnsaver xrandr xfixes xi xinerama xcursor' >> "$FFBUILD_PREFIX"/lib/pkgconfig/sdl2.pc
|
||||
elif [[ $TARGET == win* ]]; then
|
||||
sed -ri -e 's/\-Wl,\-\-no\-undefined.*//' \
|
||||
-e 's/ \-mwindows//g' \
|
||||
|
Reference in New Issue
Block a user