Feature #135 ยป build-pvr.sh
1 |
#!/bin/bash
|
---|---|
2 |
cd /tmp
|
3 |
git clone https://github.com/opdenkamp/xbmc-pvr-addons.git |
4 |
cd xbmc-pvr-addons
|
5 |
wget http://svn.stmlabs.com/svn/raspbmc/patches/XBMC-hardfp/depends.patch |
6 |
wget http://svn.stmlabs.com/svn/raspbmc/patches/XBMC-hardfp/setup-sdk.patch |
7 |
wget http://svn.stmlabs.com/svn/raspbmc/patches/XBMC-hardfp/XBMC-PVR-dep.patch |
8 |
patch -p1 < setup-sdk.patch
|
9 |
# hack due to different paths
|
10 |
sed -i 's/depends\/depends.mk/depends.mk/g' depends.patch |
11 |
patch -p1 < depends.patch
|
12 |
patch -p1 < XBMC-PVR-dep.patch
|
13 |
if [ ! -d /proc/cpuinfo ] ; then mount -t proc proc /proc; fi |
14 |
sh tools/rbp/setup-sdk.sh |
15 |
make -C tools/rbp/
|
16 |
make install
|
17 |
|