Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
117 lines (111 sloc) 2.12 KB
# -*- sh -*-
# This is a file run by sh used for replacing certain variables from input
# files in the XBMC packaging.
BUILD_DEPENDS="debhelper (>= 7.0.50~),
python-support,
cmake,
autopoint | gettext,
autotools-dev,
autoconf,
automake,
unzip,
libboost-dev,
zip,
libtool,
libgles2-mesa-dev [armel] | 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 | libasound-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,
libcurl4-gnutls-dev | libcurl-dev,
libdbus-1-dev,
libpulse-dev,
libavahi-common-dev,
libavahi-client-dev,
libxrandr-dev,
libmpeg2-4-dev,
libass-dev (>= 0.9.8),
libflac-dev,
python-dev,
gawk,
gperf,
nasm [i386],
yasm,
libcwiid-dev,
libbluetooth-dev,
zlib1g-dev,
libsmbclient-dev,
libiso9660-dev,
libssl-dev,
libvdpau-dev,
libmicrohttpd-dev,
libmodplug-dev,
librtmp-dev,
libcrystalhd-dev [i386 amd64],
curl,
libyajl-dev,
libboost-thread-dev,
libomxil-bellagio-dev [armel],
python-imaging,
libplist-dev,
libhal-storage-dev,
libcec-dev (>= 2),
libudev-dev,
udev,
libshairport-dev,
libnfs-dev,
libltdl-dev,
libtiff4-dev | libtiff-dev,
libtinyxml-dev (>= 2.6.2),
libmp3lame-dev,
libssh-dev,
libtag1-dev (>= 1.8),
swig,
default-jre,"
BUILD_DEPENDS_PPA="$BUILD_DEPENDS"
if [ "$(lsb_release -is)" != "Debian" ]; then
BUILD_DEPENDS_PPA="$BUILD_DEPENDS_PPA
libafpclient-dev,"
fi
#Only Natty+ have supported+working libva-glx
if [ "$(lsb_release -is)" = "Debian" ]; then
BUILD_DEPENDS="$BUILD_DEPENDS
libbluray-dev,
libva-dev,"
else
if [ "$(lsb_release -is)" = "Ubuntu" -a "${XBMC_UBUNTU_PPA_VERSION}" > "l" ] ; then
BUILD_DEPENDS_PPA="$BUILD_DEPENDS_PPA
libbluray-dev,
libva-dev,"
fi
fi
case "$1" in
BUILD_DEPENDS)
printf "$BUILD_DEPENDS"
;;
BUILD_DEPENDS_PPA)
printf "$BUILD_DEPENDS_PPA"
;;
esac
exit 0