Add ffmpeg in SDL build

This commit is contained in:
Arthur Blot 2013-06-08 19:48:10 +02:00
parent ce2d3dd9f0
commit f03ae843d2
2 changed files with 7 additions and 0 deletions

View File

@ -477,6 +477,9 @@ elseif(SDL_FOUND)
elseif(PANDORA OR MAEMO)
set(nativeExtraLibs ${nativeExtraLibs} pthread EGL X11)
endif()
# FFMPEG
add_definitions(-DUSE_FFMPEG)
set(nativeExtraLibs ${nativeExtraLibs} avformat avcodec swresample swscale)
set(TargetBin PPSSPPSDL)
else()
message(FATAL_ERROR "Could not find SDL. Failing.")

View File

@ -85,6 +85,7 @@ Building for Linux/BSD/Meego Harmattan/Pandora/etc
--------------------------
Qt (recommended)
A Qt-based frontend is available in the Qt/ dir.
Open PPSSPPQt.pro with [Qt Creator 2.6+][qt-creator].
Install libsdl1.2 if you want to use USB Gamepad.
@ -92,9 +93,12 @@ If the build has an error about finding mobility or multimedia:
- Install the package "qtmobility-dev"
SDL
Alternatively, install the libsdl1.2 (SDL 1.2) development headers. This is called `libsdl1.2-dev` on Debian/Ubuntu, `SDL-devel` on Fedora/RHEL,
`sdl12` on BSD ports.
You will need a recent version of ffmpeg (1.1 or greater, which means libav 9.1 or greater probably) or development packets (for distributions with separate packets) for libavformat, libavcodec, libswresample and libswscale (still version 9.1 or greater).
Currently the user interface is identical to Android's, operated
with the mouse.