2010-04-07 03:23:26 +08:00
|
|
|
# $Id: PKGBUILD 73317 2010-03-24 21:48:42Z eric $
|
2010-03-14 23:48:48 +08:00
|
|
|
# Maintainer: Eric Belanger <eric@archlinux.org>
|
|
|
|
# Contributor: Judd Vinet <jvinet@zeroflux.org>
|
|
|
|
|
|
|
|
pkgname=xine-lib
|
2010-04-07 03:23:26 +08:00
|
|
|
pkgver=1.1.18.1
|
2010-03-14 23:48:48 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A multimedia playback engine"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://www.xine-project.org"
|
|
|
|
license=('LGPL' 'GPL')
|
|
|
|
depends=('libgl' 'libxvmc' 'esound' 'flac' 'libvorbis' 'sdl' 'libmng' 'libtheora'
|
|
|
|
'libxcb' 'wavpack' 'ffmpeg' 'heimdal' 'faad2')
|
|
|
|
makedepends=('pkgconfig' 'libtool' 'imagemagick' 'smbclient' 'mesa' 'alsa-lib'
|
2010-04-07 03:23:26 +08:00
|
|
|
'vcdimager' 'jack')
|
|
|
|
optdepends=('imagemagick: for using the imagemagick plugin' 'smbclient: for using the smb plugin' \
|
|
|
|
'jack: for using the jack plugin' 'vcdimager: for using the vcd plugin')
|
2010-03-14 23:48:48 +08:00
|
|
|
options=('!libtool')
|
|
|
|
source=(http://downloads.sourceforge.net/sourceforge/xine/${pkgname}-${pkgver}.tar.bz2
|
|
|
|
xine-lib-1.1.1-configure-no-mcpu-march.patch)
|
2010-04-07 03:23:26 +08:00
|
|
|
md5sums=('3efad551f2f8a9c5734855a6639694ef' '9776df4eb54d2f1f68d8268adbc3b5c2')
|
|
|
|
sha1sums=('783232b6d6e23850a7ac97bf53b2a8bc2e743270' '121a8358d7919b2e51067412373f52848290338a')
|
2010-03-14 23:48:48 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
patch -p0 < ../xine-lib-1.1.1-configure-no-mcpu-march.patch || return 1
|
|
|
|
|
|
|
|
libtoolize --force --copy || return 1
|
|
|
|
aclocal -I m4 || return 1
|
|
|
|
autoconf || return 1
|
|
|
|
automake --add-missing || return 1
|
|
|
|
|
|
|
|
./configure --prefix=/usr --with-w32-path=/usr/lib/codecs \
|
|
|
|
--with-xv-path=/usr/lib --with-xxmc-path=/usr/lib --with-xvmc-path=/usr/lib \
|
|
|
|
--with-libflac --with-wavpack --with-xcb \
|
|
|
|
--without-arts --with-jack --without-speex \
|
|
|
|
--disable-gnomevfs --without-pulseaudio --disable-aalib \
|
|
|
|
--disable-modplug --with-external-ffmpeg || return 1
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
}
|