SHARE
TWEET

Untitled

a guest Sep 28th, 2012 330 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. First of all we have to compile taglib (it's a dependecy for XBMC) to do this:
  2. 1. git clone git://github.com/taglib/taglib.git
  3. 2. cd taglib
  4. 3. cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_RELEASE_TYPE=Release
  5. 4. make
  6. 5. sudo make install
  7.  
  8.  
  9.  
  10. Now we can start with XBMC
  11. 1. Clone XBMC from the XBMC git : git clone git://github.com/xbmc/xbmc.git
  12.  
  13. 2. wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && chmod +x /usr/bin/rpi-update
  14.  
  15. 3. rpi-update 240
  16.  
  17. 4. sudo apt-get update
  18.  
  19. 5. sudo apt-get upgrade
  20.  
  21. 6. sudo apt-get install build-essential autoconf ccache gawk gperf mesa-utils zip unzip
  22.  
  23. 7. sudo apt-get install autotools-dev comerr-dev dpkg-dev libalsaplayer-dev \
  24.     libapt-pkg-dev:armhf libasound2-dev:armhf libass-dev:armhf libatk1.0-dev \
  25.     libavahi-client-dev libavahi-common-dev libavcodec-dev libavformat-dev \
  26.     libavutil-dev libbison-dev:armhf libbluray-dev:armhf libboost1.49-dev \
  27.     libbz2-dev:armhf libc-dev-bin libc6-dev:armhf libcaca-dev libcairo2-dev \
  28.     libcdio-dev libclalsadrv-dev libcrypto++-dev libcups2-dev libcurl3-gnutls-dev \
  29.     libdbus-1-dev libdbus-glib-1-dev libdirectfb-dev libdrm-dev libegl1-mesa-dev \
  30.     libelf-dev libenca-dev libept-dev libevent-dev libexpat1-dev libflac-dev:armhf \
  31.     libfontconfig1-dev libfreetype6-dev libfribidi-dev libgconf2-dev \
  32.     libgcrypt11-dev libgdk-pixbuf2.0-dev libgl1-mesa-dev libgles2-mesa-dev \
  33.     libglew-dev:armhf libglewmx-dev:armhf libglib2.0-dev libglu1-mesa-dev \
  34.     libgnome-keyring-dev libgnutls-dev libgpg-error-dev libgtk2.0-dev libhal-dev \
  35.     libhunspell-dev:armhf libice-dev:armhf libicu-dev libidn11-dev libiso9660-dev \
  36.     libjasper-dev libjbig-dev:armhf libjconv-dev libjpeg8-dev:armhf libkrb5-dev \
  37.     libldap2-dev:armhf libltdl-dev:armhf liblzo2-dev libmad0-dev libmicrohttpd-dev \
  38.     libmodplug-dev libmp3lame-dev:armhf libmpeg2-4-dev libmysqlclient-dev \
  39.     libncurses5-dev libnspr4-dev libnss3-dev libogg-dev:armhf libopenal-dev:armhf \
  40.     libp11-kit-dev libpam0g-dev:armhf libpango1.0-dev libpcre++-dev libpcre3-dev \
  41.     libpixman-1-dev libpng12-dev libprotobuf-dev libpthread-stubs0-dev:armhf \
  42.     libpulse-dev:armhf librtmp-dev libsamplerate0-dev:armhf \
  43.     libsdl-image1.2-dev:armhf libsdl1.2-dev libslang2-dev:armhf \
  44.     libsm-dev:armhf libsmbclient-dev:armhf libspeex-dev:armhf \
  45.     libsqlite3-dev libssh-dev libssh2-1-dev libssl-dev libstdc++6-4.6-dev \
  46.     libtagcoll2-dev libtasn1-3-dev libtiff4-dev libtinfo-dev:armhf libtinyxml-dev \
  47.     libts-dev:armhf libudev-dev libv8-dev libva-dev:armhf libvdpau-dev:armhf \
  48.     libvorbis-dev:armhf libvpx-dev:armhf libwebp-dev:armhf libwibble-dev \
  49.     libx11-dev:armhf libx11-xcb-dev libxapian-dev libxau-dev:armhf \
  50.     libxcb-glx0-dev:armhf libxcb-render0-dev:armhf libxcb-shm0-dev:armhf \
  51.     libxcb1-dev:armhf libxcomposite-dev libxcursor-dev:armhf libxdamage-dev \
  52.     libxdmcp-dev:armhf libxext-dev:armhf libxfixes-dev libxft-dev libxi-dev \
  53.     libxinerama-dev:armhf libxml2-dev:armhf libxmu-dev:armhf libxrandr-dev \
  54.     libxrender-dev:armhf libxslt1-dev libxss-dev:armhf libxt-dev:armhf \
  55.     libxtst-dev:armhf libxxf86vm-dev libyajl-dev libzip-dev linux-libc-dev:armhf \
  56.     lzma-dev mesa-common-dev python-dev python2.7-dev x11proto-composite-dev \
  57.     x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev \
  58.     x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev \
  59.     x11proto-record-dev x11proto-render-dev x11proto-scrnsaver-dev \
  60.     x11proto-xext-dev x11proto-xf86vidmode-dev x11proto-xinerama-dev xtrans-dev \
  61.     libnfs-dev libplist-dev libshairport-dev avahi-daemon
  62.     zlib1g-dev:armhf
  63.  
  64. 8. sudo apt-get clean
  65.  
  66. 9. sudo cp -R /opt/vc/include/* /usr/include
  67.    sudo cp /opt/vc/include/interface/vcos/pthreads/* /usr/include/interface/vcos
  68.  
  69. 10. sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/libEGL.so
  70.     sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/arm-linux-gnueabihf/libEGL.so
  71.     sudo ln -fs /opt/vc/lib/libEGL.so /usr/lib/arm-linux-gnueabihf/libEGL.so.1
  72.     sudo ln -fs /opt/vc/lib/libEGL_static.a /usr/lib/libEGL_static.a
  73.     sudo ln -fs /opt/vc/lib/libEGL_static.a /usr/lib/arm-linux-gnueabihf/libEGL_static.a
  74.     sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/libGLESv2.so
  75.     sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so
  76.     sudo ln -fs /opt/vc/lib/libGLESv2.so /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2
  77.     sudo ln -fs /opt/vc/lib/libGLESv2_static.a /usr/lib/libGLESv2_static.a
  78.     sudo ln -fs /opt/vc/lib/libGLESv2_static.a /usr/lib/arm-linux-gnueabihf/libGLESv2_static.a
  79.     sudo ln -fs /opt/vc/lib/libbcm_host.so /usr/lib/libbcm_host.so
  80.     sudo ln -fs /opt/vc/lib/libbcm_host.so /usr/lib/arm-linux-gnueabihf/libbcm_host.so
  81.     sudo ln -fs /opt/vc/lib/libvchiq_arm.a /usr/lib/libvchiq_arm.a
  82.     sudo ln -fs /opt/vc/lib/libvchiq_arm.a /usr/lib/arm-linux-gnueabihf/libvchiq_arm.a
  83.     sudo ln -fs /opt/vc/lib/libvchiq_arm.so /usr/lib/libvchiq_arm.so
  84.     sudo ln -fs /opt/vc/lib/libvchiq_arm.so /usr/lib/arm-linux-gnueabihf/libvchiq_arm.so
  85.     sudo ln -fs /opt/vc/lib/libvcos.a /usr/lib/libvcos.a
  86.     sudo ln -fs /opt/vc/lib/libvcos.a /usr/lib/arm-linux-gnueabihf/libvcos.a
  87.     sudo ln -fs /opt/vc/lib/libvcos.so /usr/lib/libvcos.so
  88.     sudo ln -fs /opt/vc/lib/libvcos.so /usr/lib/arm-linux-gnueabihf/libvcos.so
  89.  
  90. 11. git clone git://github.com/xbmc/xbmc.git
  91.  
  92. 12. cd xbmc
  93.  
  94. 13. nano configure.in , set use_texturepacker_native=yes to use_texturepacker_native=no @ line 668
  95.  
  96. 14. sed -i 's/USE_BUILDROOT=1/USE_BUILDROOT=0/' tools/rbp/setup-sdk.sh
  97.     sed -i 's/TOOLCHAIN=\/usr\/local\/bcm-gcc/TOOLCHAIN=\/usr/' tools/rbp/setup-sdk.sh
  98.     sudo sh tools/rbp/setup-sdk.sh
  99.     sed -i 's/cd $(SOURCE); $(CONFIGURE)/#cd $(SOURCE); $(CONFIGURE)/' tools/rbp/depends/xbmc/Makefile
  100.  
  101. 15. make -C tools/rbp/depends/xbmc/
  102.  
  103. 16. ./configure --prefix=/usr --localstatedir=/var/lib --with-platform=raspberry-pi --disable-gl --enable-gles \
  104.     --disable-x11 --disable-sdl --enable-ccache --enable-optimizations \
  105.     --enable-external-libraries --disable-goom --disable-hal --disable-pulse \
  106.     --disable-vaapi --disable-vdpau --disable-xrandr --enable-airplay \
  107.     --disable-alsa --enable-avahi --disable-libbluray --enable-dvdcss \
  108.     --disable-debug --disable-joystick --enable-mid --enable-nfs --disable-profiling \
  109.     --disable-projectm --enable-rsxs --enable-rtmp --disable-vaapi \
  110.     --disable-vdadecoder --disable-external-ffmpeg  --enable-optical-drive
  111.  
  112. 17. make (THIS WILL TAKE LOOOONG! +- 14 hours)
  113.  
  114. 18. sudo make install
  115.  
  116.  
  117. Many thanks to http://www.raspbian.org/RaspbianXBMC !
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top