xbmc: 12.2 rebuild with libshairport

This commit is contained in:
Michael 2013-10-14 12:55:46 +00:00
parent dcd9a5a3b3
commit 5f5539f47c

View File

@ -7,18 +7,18 @@ _prefix=/usr
pkgname=xbmc
pkgver=12.2
pkgrel=4
pkgrel=5
pkgdesc="XBMC Media Center"
arch=('x86_64')
url="http://xbmc.org"
license=('GPL' 'custom')
depends=( 'bzip2' 'curl' 'enca' 'faac' 'faad2' 'fontconfig' 'fribidi' 'python2' 'python-pysqlite'
'glew' 'jasper' 'libcdio' 'libgl' 'libmad' 'libmms' 'libass' 'yajl'
'glew' 'jasper' 'libcdio' 'libgl' 'libmad' 'libmms' 'libass' 'yajl' 'libtiff'
'libmpeg2' 'libmariadbclient' 'libsamplerate' 'libxinerama' 'libpng' 'libbluedevil'
'libxrandr' 'libxtst' 'lzo2' 'sdl_image' 'sdl_mixer' 'libvorbis' 'libpulse' 'libdvdcss'
'samba' 'wavpack' 'mesa-demos' 'xorg-utils' 'libmicrohttpd' 'libjpeg-turbo' 'mesa' 'swig'
'libssh' 'libva' 'libmodplug' 'rtmpdump' 'lsb-release' 'sqlite3' 'libbluray' 'java-runtime'
'tinyxml' 'taglib' 'libcap')
'tinyxml' 'taglib' 'libcap' 'avahi' 'libshairport' 'glu' 'libplist')
makedepends=('boost' 'cmake' 'gperf' 'nasm' 'libvdpau' 'unzip' 'zip' 'cvs' 'autoconf' 'automake'
'udisks' 'upower' 'mesa' 'doxygen' 'swig')
optdepends=('lirc: remote controller support'
@ -32,7 +32,7 @@ categories=('multimedia')
screenshot=('http://xbmc.org/wp-content/gallery/back-row/screenshot000.jpg')
install=${pkgname}.install
options=('makeflags')
source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz"
source=("http://mirrors.xbmc.org/releases/source/xbmc-${pkgver}.tar.gz"
"FEH.sh"
"${pkgname}.service")
sha256sums=('b2330634fc513d27a44b131bbbe4ca6b61d60a1fe6c7ca27a7dc749df0bcea1c'
@ -40,21 +40,39 @@ sha256sums=('b2330634fc513d27a44b131bbbe4ca6b61d60a1fe6c7ca27a7dc749df0bcea1c'
'547e06f3141866cd34b1df34025517e9826992b67543af7621d954bcdfa0ba94')
build() {
cd "${srcdir}/xbmc-$pkgver"
cd xbmc-${pkgver}
msg "Bootstrapping XBMC"
./bootstrap
msg "Configuring XBMC"
./configure --prefix=${_prefix} \
--enable-vdpau \
--enable-pulse \
--disable-avahi \
--disable-external-ffmpeg \
--enable-rtmp \
--enable-libbluray \
--enable-dvdcss \
--disable-debug
--enable-optimizations \
--enable-gl \
--enable-sdl \
--enable-vaapi \
--enable-vdpau \
--enable-xrandr \
--enable-rsxs \
--enable-projectm \
--enable-x11 \
--enable-pulse \
--enable-avahi \
--enable-airplay \
--enable-airtunes \
--enable-ffmpeg-libvorbis \
--enable-rtmp \
--enable-libbluray \
--enable-dvdcss \
--enable-webserver \
--enable-optical-drive \
--enable-texturepacker \
--enable-udev \
--enable-libusb \
--enable-external-libraries \
--disable-hal \
--disable-external-ffmpeg \
--disable-debug
msg "Running make"
make
@ -62,7 +80,7 @@ build() {
}
package() {
cd "${srcdir}/xbmc-$pkgver"
cd xbmc-${pkgver}
msg "Running make install"
make prefix="${pkgdir}${_prefix}" install