1 通过PPA安装所有依赖的库
打开网页:
https://launchpad.net/~team-xbmc#ppas
选择
点击:
Technical details about this PPA
选择ubuntu版本后得到:
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu lucid main
在ubuntu中添加系统资源,可以通过software source添加
$ sudo apt-get update
$ sudo apt-get build-dep xbmc
2 编译
具体内容参考README.linux
XBMC 依赖的包:
Build-Depends: debhelper (>= 7.0.50~), python-support, cmake,
autotools-dev, autoconf, automake, unzip, libboost-dev, zip, libtool,
libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libglew-dev,
libmad0-dev, libjpeg-dev, libsamplerate-dev, libogg-dev, libvorbis-dev,
libfreetype6-dev, libfontconfig-dev, libbz2-dev, libfribidi-dev,
libsqlite3-dev, libmysqlclient-dev, libasound2-dev, libpng12-dev | libpng-dev,
libpcre3-dev, liblzo2-dev, libcdio-dev, libsdl-dev, libsdl-image1.2-dev,
libsdl-mixer1.2-dev, libenca-dev, libjasper-dev, libxt-dev,
libxmu-dev, libxinerama-dev, libcurl4-gnutls-dev | libcurl-dev,
libdbus-1-dev, libhal-storage-dev, libhal-dev, libpulse-dev,
libavahi-common-dev, libavahi-client-dev, libxrandr-dev, libavcodec-dev,
libavformat-dev, libavutil-dev, libpostproc-dev, libswscale-dev,
libmpeg2-4-dev, libass-dev (>= 0.9.8), libmpcdec-dev, libflac-dev,
python-dev, gawk, gperf, nasm [!amd64], libcwiid1-dev,
libbluetooth-dev, zlib1g-dev, libsmbclient-dev, libboost-thread-dev
libiso9660-dev, libssl-dev, lsb-release, libvdpau-dev, libmicrohttpd-dev,
libmodplug-dev, librtmp-dev, libcrystalhd-dev, curl, python-dev, libyajl-dev,
libplist-dev, libusb-dev, libudev-dev, libltdl-dev