Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###this was done on a fresh 2015-01-31-raspbian.img
- ##install some libs
- sudo apt-get install libboost-dev swig curl libgnutls-dev libxml2-dev libxslt1-dev libfreetype6-dev libfontconfig1-dev libfribidi-dev libmpeg2-4-dev libmad0-dev libjpeg8-dev libsamplerate0-dev libogg-dev libvorbis-dev libflac-dev libtiff4-dev liblzo2-dev cmake zip unzip libsqlite3-dev libpng12-dev libpcre3-dev libjasper-dev libsdl1.2-dev libsdl-image1.2-dev libass-dev libmodplug-dev libcdio-dev libtinyxml2-dev libyajl-dev libgpg-error-dev libgcrypt11-dev libmicrohttpd-dev autoconf libtool autopoint libudev-dev python-dev python-imaging libmysqlclient-dev libcurl4-gnutls-dev libbz2-dev libtinyxml-dev libssh-dev libxrandr-dev libsmbclient-dev libcap-dev gawk gperf debhelper libiso9660-dev
- ###cloning master branch of kodi
- git clone git://github.com/xbmc/xbmc.git
- ### apply manually in /configure.in and /tools/depends/configure.in to get new cpu optimizations
- http://www.intestinate.com/pilfs/patches/xbmc-14.1-Helix-rpi2-target.patch
- ###
- ### optional, build new libcec (did not work afterwards, configure told cec support=yes, but cec not working in kodi!)
- git clone git://github.com/Pulse-Eight/libcec.git
- cd libcec
- ./bootstrap
- ./configure
- make -j4
- sudo make install
- ###
- ### do yourself a favor an do NEVER install libtag from repo, this took me quite some time to mess around with)
- ### more info http://forum.kodi.tv/showthread.php?tid=143269
- ### instead build included libtag
- cd xbmc/lib/taglib
- make -j4
- sudo make install
- cd
- ###
- ### and so it begins
- cd xbmc
- ./bootstrap
- ### those options include way too much, but just wanted to check some things out, you may need to --disable-libcec
- ### takes some time due building ffmpeg
- CFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux" CXXFLAGS="-I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux" LDFLAGS="-L/opt/vc/lib" ./configure --disable-gl --enable-gles --with-platform=raspberry-pi --disable-x11 --disable-vaapi --disable-vdpau --enable-player=omxplayer --disable-avahi --enable-libcec
- ## yay 4 cores :-)
- make -j4
- ##aaand install
- sudo make install
- ###
- ###make keyboard work for non-root (here user 'pi' inside search-fields)
- sudo usermod -aG tty pi
- sudo su -c 'echo "KERNEL==\"tty[0-9]*\", GROUP=\"tty\", MODE=\"0660\"" >> /etc/udev/rules.d/99-input.rules'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement