forked from ps3mediaserver/ps3mediaserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes to run the scripts from the contrib directory.
Also expanded the README.
- Loading branch information
Showing
3 changed files
with
116 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,57 @@ | ||
# BUILD PMS BINARIES | ||
# Build PMS binaries | ||
|
||
These scripts are only meant for enthusiasts that 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 two scripts available: the first for downloading the sources and the | ||
second for building the sources into binaries. | ||
|
||
After running both scripts the following directory structure is created: | ||
|
||
ps3mediaserver/ | ||
| | ||
+-- contrib/ | ||
| | | ||
| +-- binaries-deps-versions | ||
| +-- build-pms-binaries.sh | ||
| +-- download-pms-binaries-source.sh | ||
| | ||
+-- target/ | ||
| | ||
+-- bin-tools/ | ||
| | ||
+-- build/ | ||
+-- src/ | ||
+-- target/ | ||
| | ||
+-- bin/ | ||
+-- lib/ | ||
|
||
Search `../target/bin-tools/target/bin/` for compiled binaries and | ||
`../target/bin-tools/target/lib/` for libraries. | ||
|
||
These scripts are only meant for enthusiasts that want to bundle their PMS with custom built versions of libraries and tools, replacing the standard versions shipped with the regular PMS distribution. | ||
|
||
## Downloading (and updating) sources | ||
This script downloads the sources for the binaries and libraries: | ||
|
||
contrib/download-pms-binaries-source.sh | ||
download-pms-binaries-source.sh | ||
|
||
Sources archives will be strored in _target/bin-tools/src/_ | ||
Run the script and the source archives and directories will be stored in | ||
`../target/bin-tools/src/`. | ||
|
||
## Building bainaries | ||
|
||
contrib/build-pms-binaries.sh | ||
## Building binaries | ||
This script builds binaries from the sources that were downloaded with the | ||
other script: | ||
|
||
build-pms-binaries.sh | ||
|
||
Search _target/bin-tools/target/bin/_ for compiled binaries and _target/bin-tools/target/lib/_ for libs | ||
|
||
## Cleaning up | ||
To clean up built binaries, remove the following directories: | ||
|
||
rm -rf ../target/bin-tools/build/ | ||
rm -rf ../target/bin-tools/target/ | ||
|
||
rm -rf target/bin-tools/build/ | ||
rm -rf target/bin-tools/target/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.