diff --git a/CMakeLists.txt b/CMakeLists.txt index 04d732c097..ee4c4f8a1d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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.") diff --git a/README.md b/README.md index 527dc0b390..6351b74f86 100644 --- a/README.md +++ b/README.md @@ -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.