Build PMS binaries
These scripts are only meant for enthusiasts who want to bundle their PMS with custom built versions of libraries and tools, replacing the standard versions shipped with the regular PMS distribution.
There are three scripts available: the first for downloading the sources, the second for building the sources into binaries, and the third for downloading and building a static ffmpeg build (see ffmpeg/README.md for more details).
After running the first two scripts the following directory structure is created:
ps3mediaserver/ | +-- contrib/ | | | +-- binaries-deps-versions | +-- build-pms-binaries.sh | +-- download-pms-binaries-source.sh | +-- ffmpeg/ | +-- target/ | +-- bin-tools/ | +-- build/ +-- src/ +-- target/ | +-- bin/ +-- lib/
../target/bin-tools/target/bin/ for compiled binaries and
../target/bin-tools/target/lib/ for libraries.
Downloading (and updating) sources
This script downloads the sources for the binaries and libraries:
Run the script and the source archives and directories will be stored in
This script builds binaries from the sources that were downloaded with the other script:
To clean binaries built by the three scripts, remove the following directories:
rm -rf ../target/bin-tools/build/ rm -rf ../target/bin-tools/target/ rm -rf ./ffmpeg/build